DefaultOAuth2AuthorizationConsentService

@Service
class DefaultOAuth2AuthorizationConsentService(oauth2AuthorizationConsentMapper: OauthAuthorizationConsentRepository, registeredClientRepository: RegisteredClientRepository) : OAuth2AuthorizationConsentService

OAuth2 授权同意服务实现

负责 OAuth2AuthorizationConsent 的持久化、查询与删除

Author

lishangbu

Since

2025/8/17

Constructors

Link copied to clipboard
constructor(oauth2AuthorizationConsentMapper: OauthAuthorizationConsentRepository, registeredClientRepository: RegisteredClientRepository)

Functions

Link copied to clipboard
open override fun findById(registeredClientId: String, principalName: String): OAuth2AuthorizationConsent?

按 ID 查询默认 OAuth2 授权同意

Link copied to clipboard
open override fun remove(authorizationConsent: OAuth2AuthorizationConsent)

删除 OAuth2 授权同意

Link copied to clipboard
open override fun save(authorizationConsent: OAuth2AuthorizationConsent)

保存 OAuth2 授权同意