类 HerodotusAuthorizationService
java.lang.Object
cn.herodotus.stirrup.data.crud.service.AbstractJpaService<HerodotusAuthorization,String>
cn.herodotus.stirrup.logic.sas.jpa.service.HerodotusAuthorizationService
- 所有已实现的接口:
cn.herodotus.stirrup.data.crud.service.JpaReadableService<HerodotusAuthorization,,String> cn.herodotus.stirrup.data.crud.service.JpaWriteableService<HerodotusAuthorization,String>
@Service
public class HerodotusAuthorizationService
extends cn.herodotus.stirrup.data.crud.service.AbstractJpaService<HerodotusAuthorization,String>
Description: HerodotusAuthorizationService
这里命名没有按照统一的习惯,主要是为了防止与 spring-authorization-server 已有类的同名而导致Bean注入失败
- 作者:
- : gengwei.zheng
- Date:
- : 2022/2/25 21:06
-
构造器概要
构造器构造器说明HerodotusAuthorizationService(HerodotusAuthorizationRepository herodotusAuthorizationRepository) -
方法概要
修饰符和类型方法说明voidintfindAuthorizationCount(String registeredClientId, String principalName) findAvailableAuthorizations(String registeredClientId, String principalName) findByAccessToken(String accessToken) findByAuthorizationCode(String authorizationCode) findByDeviceCodeValue(String deviceCode) findByOidcIdTokenValue(String idToken) findByRefreshToken(String refreshToken) findByState(String state) findByStateOrAuthorizationCodeValueOrAccessTokenValueOrRefreshTokenValueOrOidcIdTokenValueOrUserCodeValueOrDeviceCodeValue(String token) findByUserCodeValue(String userCode) cn.herodotus.stirrup.data.crud.repository.BaseJpaRepository<HerodotusAuthorization, String> 从类继承的方法 cn.herodotus.stirrup.data.crud.service.AbstractJpaService
like从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.herodotus.stirrup.data.crud.service.JpaReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage从接口继承的方法 cn.herodotus.stirrup.data.crud.service.JpaWriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, flush, save, saveAll, saveAllAndFlush, saveAndFlush
-
构造器详细资料
-
HerodotusAuthorizationService
@Autowired public HerodotusAuthorizationService(HerodotusAuthorizationRepository herodotusAuthorizationRepository)
-
-
方法详细资料
-
getRepository
public cn.herodotus.stirrup.data.crud.repository.BaseJpaRepository<HerodotusAuthorization,String> getRepository() -
findByState
-
findByAuthorizationCode
-
findByAccessToken
-
findByRefreshToken
-
findByOidcIdTokenValue
-
findByUserCodeValue
-
findByDeviceCodeValue
-
findByStateOrAuthorizationCodeValueOrAccessTokenValueOrRefreshTokenValueOrOidcIdTokenValueOrUserCodeValueOrDeviceCodeValue
public Optional<HerodotusAuthorization> findByStateOrAuthorizationCodeValueOrAccessTokenValueOrRefreshTokenValueOrOidcIdTokenValueOrUserCodeValueOrDeviceCodeValue(String token) -
clearHistoryToken
public void clearHistoryToken() -
findAvailableAuthorizations
public List<HerodotusAuthorization> findAvailableAuthorizations(String registeredClientId, String principalName) -
findAuthorizationCount
-