类 JpaOAuth2AuthorizationConsentService
java.lang.Object
cn.herodotus.engine.oauth2.data.jpa.storage.JpaOAuth2AuthorizationConsentService
- 所有已实现的接口:
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService
public class JpaOAuth2AuthorizationConsentService
extends Object
implements org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService
Description: 基于 JPA 的 OAuth2 认证服务
- 作者:
- : gengwei.zheng
- Date:
- : 2022/2/25 22:15
-
构造器概要
构造器构造器说明JpaOAuth2AuthorizationConsentService(HerodotusAuthorizationConsentService herodotusAuthorizationConsentService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) -
方法概要
修饰符和类型方法说明org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentvoidremove(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent) voidsave(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent)
-
构造器详细资料
-
JpaOAuth2AuthorizationConsentService
public JpaOAuth2AuthorizationConsentService(HerodotusAuthorizationConsentService herodotusAuthorizationConsentService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
-
-
方法详细资料
-
save
public void save(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent) - 指定者:
save在接口中org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService
-
remove
public void remove(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent authorizationConsent) - 指定者:
remove在接口中org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService
-
findById
public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent findById(String registeredClientId, String principalName) - 指定者:
findById在接口中org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService
-