Class OAuth2ApplicationService

java.lang.Object
cn.herodotus.engine.data.core.jpa.service.AbstractJpaService<OAuth2Application,String>
cn.herodotus.engine.logic.identity.service.OAuth2ApplicationService
All Implemented Interfaces:
cn.herodotus.engine.data.core.jpa.service.BaseJpaReadableService<OAuth2Application,String>, cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<OAuth2Application,String>, cn.herodotus.engine.data.core.service.BasePageService<OAuth2Application,String>, cn.herodotus.engine.data.core.service.BaseService<OAuth2Application,String>

@Service public class OAuth2ApplicationService extends cn.herodotus.engine.data.core.jpa.service.AbstractJpaService<OAuth2Application,String>

Description: OAuth2ApplicationService

Author:
: gengwei.zheng
Date:
: 2022/3/1 18:06
  • Constructor Details

  • Method Details

    • getRepository

      public cn.herodotus.engine.data.core.jpa.repository.BaseJpaRepository<OAuth2Application,String> getRepository()
    • saveAndFlush

      public OAuth2Application saveAndFlush(OAuth2Application entity)
    • deleteById

      @Transactional(rollbackFor=cn.herodotus.engine.core.foundation.exception.transaction.TransactionalRollbackException.class) public void deleteById(String id)
    • authorize

      @Transactional(rollbackFor=cn.herodotus.engine.core.foundation.exception.transaction.TransactionalRollbackException.class) public OAuth2Application authorize(String applicationId, String[] scopeIds)
    • findByClientId

      public OAuth2Application findByClientId(String clientId)