public class OauthCodeTokenRequestContext extends AbstractTokenRequestContext<java.util.Map<java.lang.String,java.lang.String>,TokenResponse>
clientConfiguration, mediaType, tokenEndpoint
Constructor and Description |
---|
OauthCodeTokenRequestContext(AuthorizationResponse authorizationResponse,
SecureEndpoint tokenEndpoint,
OauthClientConfiguration clientConfiguration)
|
OauthCodeTokenRequestContext(AuthorizationResponse authorizationResponse,
SecureEndpoint tokenEndpoint,
OauthClientConfiguration clientConfiguration,
java.lang.String codeVerifier) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodeVerifier() |
io.micronaut.core.type.Argument<?> |
getErrorResponseType() |
java.util.Map<java.lang.String,java.lang.String> |
getGrant() |
io.micronaut.core.type.Argument<TokenResponse> |
getResponseType() |
getClientConfiguration, getEndpoint, getMediaType
@Inject public OauthCodeTokenRequestContext(AuthorizationResponse authorizationResponse, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration, @Nullable java.lang.String codeVerifier)
authorizationResponse
- The authorization responsetokenEndpoint
- The token endpointclientConfiguration
- The client configurationcodeVerifier
- The PKCE code_verifier@Deprecated public OauthCodeTokenRequestContext(AuthorizationResponse authorizationResponse, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration)
OauthCodeTokenRequestContext(AuthorizationResponse, SecureEndpoint, OauthClientConfiguration, String)
instead.authorizationResponse
- The authorization responsetokenEndpoint
- The token endpointclientConfiguration
- The client configurationpublic java.util.Map<java.lang.String,java.lang.String> getGrant()
public io.micronaut.core.type.Argument<TokenResponse> getResponseType()
public io.micronaut.core.type.Argument<?> getErrorResponseType()
@Nullable public java.lang.String getCodeVerifier()