Interface HerodotusRegisteredClientRepository

All Superinterfaces:
cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusRegisteredClient,String>, org.springframework.data.repository.CrudRepository<HerodotusRegisteredClient,String>, org.springframework.data.jpa.repository.JpaRepository<HerodotusRegisteredClient,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<HerodotusRegisteredClient>, org.springframework.data.repository.ListCrudRepository<HerodotusRegisteredClient,String>, org.springframework.data.repository.ListPagingAndSortingRepository<HerodotusRegisteredClient,String>, org.springframework.data.repository.PagingAndSortingRepository<HerodotusRegisteredClient,String>, org.springframework.data.repository.query.QueryByExampleExecutor<HerodotusRegisteredClient>, org.springframework.data.repository.Repository<HerodotusRegisteredClient,String>

public interface HerodotusRegisteredClientRepository extends cn.herodotus.engine.data.core.repository.BaseRepository<HerodotusRegisteredClient,String>

Description: HerodotusRegisteredClientRepository

Author:
: gengwei.zheng
Date:
: 2022/2/25 21:05
  • Method Summary

    Modifier and Type
    Method
    Description
    根据 ClientId 查询 RegisteredClient

    Methods inherited from interface cn.herodotus.engine.data.core.repository.BaseRepository

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

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    delete, deleteAll, deleteAll, deleteAllById, existsById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

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

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    delete, exists, findBy

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByClientId

      @QueryHints() Optional<HerodotusRegisteredClient> findByClientId(String clientId)
      根据 ClientId 查询 RegisteredClient
      Parameters:
      clientId - OAuth2 客户端ID
      Returns:
      OAuth2 客户端配置