public class OpenIdCodeTokenRequestContext extends AbstractTokenRequestContext<java.util.Map<java.lang.String,java.lang.String>,OpenIdTokenResponse>
clientConfiguration, mediaType, tokenEndpoint| Constructor and Description |
|---|
OpenIdCodeTokenRequestContext(AuthorizationResponse authorizationResponse,
OauthRouteUrlBuilder oauthRouteUrlBuilder,
SecureEndpoint tokenEndpoint,
OauthClientConfiguration clientConfiguration)
|
OpenIdCodeTokenRequestContext(AuthorizationResponse authorizationResponse,
OauthRouteUrlBuilder oauthRouteUrlBuilder,
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() |
protected static io.micronaut.http.MediaType |
getMediaType(OauthClientConfiguration clientConfiguration)
Resolves the media type for the request body.
|
io.micronaut.core.type.Argument<OpenIdTokenResponse> |
getResponseType() |
getClientConfiguration, getEndpoint, getMediaType@Inject public OpenIdCodeTokenRequestContext(AuthorizationResponse authorizationResponse, OauthRouteUrlBuilder oauthRouteUrlBuilder, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration, @Nullable java.lang.String codeVerifier)
authorizationResponse - The authorization responseoauthRouteUrlBuilder - The oauth route URL buildertokenEndpoint - The token endpointclientConfiguration - The client configurationcodeVerifier - The PKCE code_verify@Deprecated public OpenIdCodeTokenRequestContext(AuthorizationResponse authorizationResponse, OauthRouteUrlBuilder oauthRouteUrlBuilder, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration)
OpenIdCodeTokenRequestContext(AuthorizationResponse,OauthRouteUrlBuilder, SecureEndpoint,OauthClientConfiguration,String) instead.authorizationResponse - The authorization responseoauthRouteUrlBuilder - The oauth route URL buildertokenEndpoint - The token endpointclientConfiguration - The client configurationprotected static io.micronaut.http.MediaType getMediaType(OauthClientConfiguration clientConfiguration)
clientConfiguration - The client configurationpublic java.util.Map<java.lang.String,java.lang.String> getGrant()
public io.micronaut.core.type.Argument<OpenIdTokenResponse> getResponseType()
public io.micronaut.core.type.Argument<?> getErrorResponseType()
@Nullable public java.lang.String getCodeVerifier()