类 OAuth2ApplicationService
java.lang.Object
cn.herodotus.engine.data.core.service.BaseService<OAuth2Application,String>
cn.herodotus.engine.oauth2.management.service.OAuth2ApplicationService
- 所有已实现的接口:
cn.herodotus.engine.data.core.service.ReadableService<OAuth2Application,,String> cn.herodotus.engine.data.core.service.WriteableService<OAuth2Application,String>
@Service
public class OAuth2ApplicationService
extends cn.herodotus.engine.data.core.service.BaseService<OAuth2Application,String>
Description: OAuth2ApplicationService
- 作者:
- : gengwei.zheng
- Date:
- : 2022/3/1 18:06
-
构造器概要
构造器构造器说明OAuth2ApplicationService(org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, cn.herodotus.engine.oauth2.data.jpa.repository.HerodotusRegisteredClientRepository herodotusRegisteredClientRepository, OAuth2ApplicationRepository applicationRepository) -
方法概要
修饰符和类型方法说明voiddeleteById(String id) findByClientId(String clientId) cn.herodotus.engine.data.core.repository.BaseRepository<OAuth2Application,String> saveAndFlush(OAuth2Application entity) 从类继承的方法 cn.herodotus.engine.data.core.service.BaseService
like从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.herodotus.engine.data.core.service.ReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage从接口继承的方法 cn.herodotus.engine.data.core.service.WriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, flush, save, saveAll, saveAllAndFlush
-
构造器详细资料
-
OAuth2ApplicationService
public OAuth2ApplicationService(org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, cn.herodotus.engine.oauth2.data.jpa.repository.HerodotusRegisteredClientRepository herodotusRegisteredClientRepository, OAuth2ApplicationRepository applicationRepository)
-
-
方法详细资料
-
getRepository
public cn.herodotus.engine.data.core.repository.BaseRepository<OAuth2Application,String> getRepository() -
saveAndFlush
-
deleteById
@Transactional(rollbackFor=cn.herodotus.engine.assistant.core.exception.transaction.TransactionalRollbackException.class) public void deleteById(String id) -
authorize
@Transactional(rollbackFor=cn.herodotus.engine.assistant.core.exception.transaction.TransactionalRollbackException.class) public OAuth2Application authorize(String applicationId, String[] scopeIds) -
findByClientId
-