接口 HerodotusAuthorizationRepository
- 所有超级接口:
BaseRepository<HerodotusAuthorization,,String> org.springframework.data.repository.CrudRepository<HerodotusAuthorization,,String> org.springframework.data.jpa.repository.JpaRepository<HerodotusAuthorization,,String> org.springframework.data.jpa.repository.JpaSpecificationExecutor<HerodotusAuthorization>,org.springframework.data.repository.PagingAndSortingRepository<HerodotusAuthorization,,String> org.springframework.data.repository.query.QueryByExampleExecutor<HerodotusAuthorization>,org.springframework.data.repository.Repository<HerodotusAuthorization,String>
public interface HerodotusAuthorizationRepository
extends BaseRepository<HerodotusAuthorization,String>
Description: HerodotusAuthorizationRepository
- 作者:
- : gengwei.zheng
- Date:
- : 2022/2/25 21:05
-
方法概要
修饰符和类型方法说明findByAccessToken(String accessToken) 根据 Access Token 查询 OAuth2 认证信息findByAuthorizationCode(String authorizationCode) 根据 authorizationCode 查询 OAuth2 认证信息findByRefreshToken(String refreshToken) 根据 Refresh Token 查询 OAuth2 认证信息findByState(String state) 根据 State 查询 OAuth2 认证信息从接口继承的方法 cn.herodotus.engine.data.core.repository.BaseRepository
count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOne从接口继承的方法 org.springframework.data.repository.CrudRepository
delete, deleteAll, deleteAll, deleteAllById, existsById, save从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor
exists从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
方法详细资料
-
findByState
根据 State 查询 OAuth2 认证信息- 参数:
state- OAuth2 Authorization Code 模式参数 State- 返回:
- OAuth2 认证信息
HerodotusAuthorization
-
findByAuthorizationCode
根据 authorizationCode 查询 OAuth2 认证信息- 参数:
authorizationCode- OAuth2 Authorization Code 模式参数 code- 返回:
- OAuth2 认证信息
HerodotusAuthorization
-
findByAccessToken
根据 Access Token 查询 OAuth2 认证信息- 参数:
accessToken- OAuth2 accessToken- 返回:
- OAuth2 认证信息
HerodotusAuthorization
-
findByRefreshToken
根据 Refresh Token 查询 OAuth2 认证信息- 参数:
refreshToken- OAuth2 refreshToken- 返回:
- OAuth2 认证信息
HerodotusAuthorization
-