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