Interface HerodotusAuthorizationConsentRepository
- All Superinterfaces:
cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> org.springframework.data.repository.CrudRepository<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> org.springframework.data.jpa.repository.JpaRepository<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> org.springframework.data.jpa.repository.JpaSpecificationExecutor<HerodotusAuthorizationConsent>,org.springframework.data.repository.ListCrudRepository<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> org.springframework.data.repository.ListPagingAndSortingRepository<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> org.springframework.data.repository.PagingAndSortingRepository<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> org.springframework.data.repository.query.QueryByExampleExecutor<HerodotusAuthorizationConsent>,org.springframework.data.repository.Repository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
public interface HerodotusAuthorizationConsentRepository
extends cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
Description: HerodotusAuthorizationConsentRepository
- Author:
- : gengwei.zheng
- Date:
- : 2022/2/25 20:54
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) 根据 client id 和 principalName 删除 OAuth2 确认信息findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) 根据 client id 和 principalName 查询 OAuth2 确认信息Methods inherited from interface cn.herodotus.engine.data.core.repository.BaseRepository
count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOneMethods inherited from interface org.springframework.data.repository.CrudRepository
delete, deleteAll, deleteAll, deleteAllById, existsById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
delete, exists, findByMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAllById, saveAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByRegisteredClientIdAndPrincipalName
@QueryHints() Optional<HerodotusAuthorizationConsent> findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) 根据 client id 和 principalName 查询 OAuth2 确认信息- Parameters:
registeredClientId- 注册OAuth2客户端IDprincipalName- 用户名- Returns:
- OAuth2 认证确认信息
HerodotusAuthorizationConsent
-
deleteByRegisteredClientIdAndPrincipalName
根据 client id 和 principalName 删除 OAuth2 确认信息- Parameters:
registeredClientId- 注册OAuth2客户端IDprincipalName- 用户名
-