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) |
Modifier and Type | Method and Description |
---|---|
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
public OpenIdCodeTokenRequestContext(AuthorizationResponse authorizationResponse, OauthRouteUrlBuilder oauthRouteUrlBuilder, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration)
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()