接口 HerodotusAuthorizationConsentRepository

所有超级接口:
cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>, org.springframework.data.repository.CrudRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>, org.springframework.data.jpa.repository.JpaRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<HerodotusAuthorizationConsent>, org.springframework.data.repository.ListCrudRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>, org.springframework.data.repository.ListPagingAndSortingRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>, org.springframework.data.repository.PagingAndSortingRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>, org.springframework.data.repository.query.QueryByExampleExecutor<HerodotusAuthorizationConsent>, org.springframework.data.repository.Repository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>

public interface HerodotusAuthorizationConsentRepository extends cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusAuthorizationConsent,HerodotusAuthorizationConsentId>

Description: HerodotusAuthorizationConsentRepository

作者:
: gengwei.zheng
Date:
: 2022/2/25 20:54
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    deleteByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName)
    根据 client id 和 principalName 删除 OAuth2 确认信息
    findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName)
    根据 client id 和 principalName 查询 OAuth2 确认信息

    从接口继承的方法 cn.herodotus.engine.data.core.repository.BaseRepository

    count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOne

    从接口继承的方法 org.springframework.data.repository.CrudRepository

    delete, deleteAll, deleteAll, deleteAllById, existsById, save

    从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor

    delete, exists, findBy

    从接口继承的方法 org.springframework.data.repository.ListCrudRepository

    findAllById, saveAll

    从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • 方法详细资料

    • findByRegisteredClientIdAndPrincipalName

      @QueryHints() Optional<HerodotusAuthorizationConsent> findByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName)
      根据 client id 和 principalName 查询 OAuth2 确认信息
      参数:
      registeredClientId - 注册OAuth2客户端ID
      principalName - 用户名
      返回:
      OAuth2 认证确认信息 HerodotusAuthorizationConsent
    • deleteByRegisteredClientIdAndPrincipalName

      void deleteByRegisteredClientIdAndPrincipalName(String registeredClientId, String principalName)
      根据 client id 和 principalName 删除 OAuth2 确认信息
      参数:
      registeredClientId - 注册OAuth2客户端ID
      principalName - 用户名