public class OpenIdPasswordTokenRequestContext extends AbstractTokenRequestContext<java.util.Map<java.lang.String,java.lang.String>,OpenIdTokenResponse>
clientConfiguration, mediaType, tokenEndpoint
Constructor and Description |
---|
OpenIdPasswordTokenRequestContext(AuthenticationRequest authenticationRequest,
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 OpenIdPasswordTokenRequestContext(AuthenticationRequest authenticationRequest, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration)
authenticationRequest
- The authentication requesttokenEndpoint
- The token endpointclientConfiguration
- The client configurationpublic java.util.Map<java.lang.String,java.lang.String> getGrant()
protected static io.micronaut.http.MediaType getMediaType(OauthClientConfiguration clientConfiguration)
clientConfiguration
- The client configurationpublic io.micronaut.core.type.Argument<OpenIdTokenResponse> getResponseType()
public io.micronaut.core.type.Argument<?> getErrorResponseType()