public static final class OAuth2AuthorizationConsentAuthenticationContext.Builder extends OAuth2AuthenticationContext.AbstractBuilder<OAuth2AuthorizationConsentAuthenticationContext,OAuth2AuthorizationConsentAuthenticationContext.Builder>
OAuth2AuthorizationConsentAuthenticationContext.| Modifier and Type | Method and Description |
|---|---|
OAuth2AuthorizationConsentAuthenticationContext.Builder |
authorization(OAuth2Authorization authorization)
Sets the
authorization. |
OAuth2AuthorizationConsentAuthenticationContext.Builder |
authorizationConsent(OAuth2AuthorizationConsent.Builder authorizationConsent)
Sets the
authorization consent builder. |
OAuth2AuthorizationConsentAuthenticationContext.Builder |
authorizationRequest(org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest authorizationRequest)
Sets the
authorization request. |
OAuth2AuthorizationConsentAuthenticationContext |
build()
Builds a new
OAuth2AuthorizationConsentAuthenticationContext. |
OAuth2AuthorizationConsentAuthenticationContext.Builder |
registeredClient(RegisteredClient registeredClient)
Sets the
registered client. |
context, get, getContext, getThis, putpublic OAuth2AuthorizationConsentAuthenticationContext.Builder authorizationConsent(OAuth2AuthorizationConsent.Builder authorizationConsent)
authorization consent builder.authorizationConsent - the OAuth2AuthorizationConsent.BuilderOAuth2AuthorizationConsentAuthenticationContext.Builder for further configurationpublic OAuth2AuthorizationConsentAuthenticationContext.Builder registeredClient(RegisteredClient registeredClient)
registered client.registeredClient - the RegisteredClientOAuth2AuthorizationConsentAuthenticationContext.Builder for further configurationpublic OAuth2AuthorizationConsentAuthenticationContext.Builder authorization(OAuth2Authorization authorization)
authorization.authorization - the OAuth2AuthorizationOAuth2AuthorizationConsentAuthenticationContext.Builder for further configurationpublic OAuth2AuthorizationConsentAuthenticationContext.Builder authorizationRequest(org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest authorizationRequest)
authorization request.authorizationRequest - the OAuth2AuthorizationRequestOAuth2AuthorizationConsentAuthenticationContext.Builder for further configurationpublic OAuth2AuthorizationConsentAuthenticationContext build()
OAuth2AuthorizationConsentAuthenticationContext.