Package io.meeds.oauth2.server.dao
Interface OAuthConsentDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<OAuthConsentEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<OAuthConsentEntity,,Long> org.springframework.data.repository.ListCrudRepository<OAuthConsentEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<OAuthConsentEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<OAuthConsentEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<OAuthConsentEntity>,org.springframework.data.repository.Repository<OAuthConsentEntity,Long>
public interface OAuthConsentDao
extends org.springframework.data.jpa.repository.JpaRepository<OAuthConsentEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindByPrincipalName(String username) findByPrincipalNameAndRegisteredClientId(String username, String clientId) findByRegisteredClientId(String clientId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, 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.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByPrincipalNameAndRegisteredClientId
Optional<OAuthConsentEntity> findByPrincipalNameAndRegisteredClientId(String username, String clientId) -
findByRegisteredClientId
-
findByPrincipalName
-