public interface OAuth2AuthorizationConsentService
OAuth 2.0 Authorization Consent(s).OAuth2AuthorizationConsent| Modifier and Type | Method and Description |
|---|---|
OAuth2AuthorizationConsent |
findById(java.lang.String registeredClientId,
java.lang.String principalName)
Returns the
OAuth2AuthorizationConsent identified by the provided
registeredClientId and principalName, or null if not found. |
void |
remove(OAuth2AuthorizationConsent authorizationConsent)
Removes the
OAuth2AuthorizationConsent. |
void |
save(OAuth2AuthorizationConsent authorizationConsent)
Saves the
OAuth2AuthorizationConsent. |
void save(OAuth2AuthorizationConsent authorizationConsent)
OAuth2AuthorizationConsent.authorizationConsent - the OAuth2AuthorizationConsentvoid remove(OAuth2AuthorizationConsent authorizationConsent)
OAuth2AuthorizationConsent.authorizationConsent - the OAuth2AuthorizationConsent@Nullable OAuth2AuthorizationConsent findById(java.lang.String registeredClientId, java.lang.String principalName)
OAuth2AuthorizationConsent identified by the provided
registeredClientId and principalName, or null if not found.registeredClientId - the identifier for the RegisteredClientprincipalName - the name of the PrincipalOAuth2AuthorizationConsent if found, otherwise null