Class OAuth2AuthorizationCodeRequestAuthenticationContext.Builder
java.lang.Object
org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthenticationContext.AbstractBuilder<OAuth2AuthorizationCodeRequestAuthenticationContext,OAuth2AuthorizationCodeRequestAuthenticationContext.Builder>
org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext.Builder
- Enclosing class:
- OAuth2AuthorizationCodeRequestAuthenticationContext
public static final class OAuth2AuthorizationCodeRequestAuthenticationContext.Builder
extends OAuth2AuthenticationContext.AbstractBuilder<OAuth2AuthorizationCodeRequestAuthenticationContext,OAuth2AuthorizationCodeRequestAuthenticationContext.Builder>
A builder for
OAuth2AuthorizationCodeRequestAuthenticationContext
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a newOAuth2AuthorizationCodeRequestAuthenticationContext
.registeredClient
(RegisteredClient registeredClient) Sets theregistered client
.Methods inherited from class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthenticationContext.AbstractBuilder
context, get, getContext, getThis, put
-
Method Details
-
registeredClient
public OAuth2AuthorizationCodeRequestAuthenticationContext.Builder registeredClient(RegisteredClient registeredClient) Sets theregistered client
.- Parameters:
registeredClient
- theRegisteredClient
- Returns:
- the
OAuth2AuthorizationCodeRequestAuthenticationContext.Builder
for further configuration
-
build
Builds a newOAuth2AuthorizationCodeRequestAuthenticationContext
.
-