public class OauthPasswordTokenRequestContext extends AbstractTokenRequestContext<java.util.Map<java.lang.String,java.lang.String>,TokenResponse>
clientConfiguration, mediaType, tokenEndpoint
Constructor and Description |
---|
OauthPasswordTokenRequestContext(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() |
io.micronaut.core.type.Argument<TokenResponse> |
getResponseType() |
getClientConfiguration, getEndpoint, getMediaType
public OauthPasswordTokenRequestContext(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()
public io.micronaut.core.type.Argument<TokenResponse> getResponseType()
public io.micronaut.core.type.Argument<?> getErrorResponseType()