Oauth2RegisteredClientRepository

OAuth2 注册客户端仓储接口

定义OAuth2 注册客户端数据的查询与持久化操作

Author

lishangbu

Since

2023-10-08

Inheritors

Functions

Link copied to clipboard
abstract fun deleteById(id: String)

按 ID 删除 OAuth2 注册客户端

Link copied to clipboard
abstract fun findAll(example: Example<OauthRegisteredClient>?): List<OauthRegisteredClient>

按条件查询 OAuth2 注册客户端列表

abstract fun findAll(example: Example<OauthRegisteredClient>?, pageable: Pageable): Page<OauthRegisteredClient>

按条件分页查询 OAuth2 注册客户端

Link copied to clipboard
abstract fun findByClientId(clientId: String): OauthRegisteredClient?

根据客户端 ID查找OAuth2 注册客户端

Link copied to clipboard

按 ID 查询 OAuth2 注册客户端

Link copied to clipboard
abstract fun flush()

刷新持久化上下文

Link copied to clipboard
abstract fun save(registeredClient: OauthRegisteredClient): OauthRegisteredClient

保存OAuth2 注册客户端

Link copied to clipboard

保存OAuth2 注册客户端并立即刷新