Class HerodotusAuthorizationConsentService
java.lang.Object
cn.herodotus.engine.data.core.service.BaseService<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
cn.herodotus.engine.oauth2.data.jpa.service.HerodotusAuthorizationConsentService
- All Implemented Interfaces:
cn.herodotus.engine.data.core.service.ReadableService<HerodotusAuthorizationConsent,,HerodotusAuthorizationConsentId> cn.herodotus.engine.data.core.service.WriteableService<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
@Service
public class HerodotusAuthorizationConsentService
extends cn.herodotus.engine.data.core.service.BaseService<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>
Description: HerodotusAuthorizationConsentService
这里命名没有按照统一的习惯,主要是为了防止与 spring-authorization-server 已有类的同名而导致Bean注入失败
- Author:
- : gengwei.zheng
- Date:
- : 2022/2/25 21:02
-
Constructor Summary
ConstructorsConstructorDescriptionHerodotusAuthorizationConsentService(HerodotusAuthorizationConsentRepository authorizationConsentRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId> Methods inherited from class cn.herodotus.engine.data.core.service.BaseService
likeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.data.core.service.ReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPageMethods inherited from interface cn.herodotus.engine.data.core.service.WriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, flush, save, saveAll, saveAllAndFlush, saveAndFlush
-
Constructor Details
-
HerodotusAuthorizationConsentService
@Autowired public HerodotusAuthorizationConsentService(HerodotusAuthorizationConsentRepository authorizationConsentRepository)
-
-
Method Details
-
getRepository
public cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId> getRepository() -
findByRegisteredClientIdAndPrincipalName
public Optional<HerodotusAuthorizationConsent> findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName) -
deleteByRegisteredClientIdAndPrincipalName
-