public class ClientCredentialsTokenRequestContext extends AbstractTokenRequestContext<java.util.Map<java.lang.String,java.lang.String>,TokenResponse>
clientConfiguration, mediaType, tokenEndpoint
Constructor and Description |
---|
ClientCredentialsTokenRequestContext(OauthClientConfiguration clientConfiguration) |
ClientCredentialsTokenRequestContext(java.lang.String scope,
OauthClientConfiguration clientConfiguration) |
ClientCredentialsTokenRequestContext(java.lang.String scope,
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 ClientCredentialsTokenRequestContext(java.lang.String scope, SecureEndpoint tokenEndpoint, OauthClientConfiguration clientConfiguration)
scope
- requested scopestokenEndpoint
- The token endpointclientConfiguration
- The client configurationpublic ClientCredentialsTokenRequestContext(OauthClientConfiguration clientConfiguration)
clientConfiguration
- The client configurationpublic ClientCredentialsTokenRequestContext(java.lang.String scope, OauthClientConfiguration clientConfiguration)
scope
- requested scopesclientConfiguration
- 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()