G - The grant or body of the requestR - The response typepublic abstract class AbstractTokenRequestContext<G,R extends TokenResponse> extends java.lang.Object implements TokenRequestContext<G,R>
| Modifier and Type | Field and Description | 
|---|---|
protected OauthClientConfiguration | 
clientConfiguration  | 
protected io.micronaut.http.MediaType | 
mediaType  | 
protected SecureEndpoint | 
tokenEndpoint  | 
| Constructor and Description | 
|---|
AbstractTokenRequestContext(io.micronaut.http.MediaType mediaType,
                           SecureEndpoint tokenEndpoint,
                           OauthClientConfiguration clientConfiguration)  | 
| Modifier and Type | Method and Description | 
|---|---|
OauthClientConfiguration | 
getClientConfiguration()  | 
SecureEndpoint | 
getEndpoint()  | 
io.micronaut.http.MediaType | 
getMediaType()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorResponseType, getGrant, getResponseTypeprotected final io.micronaut.http.MediaType mediaType
protected final SecureEndpoint tokenEndpoint
protected final OauthClientConfiguration clientConfiguration
public AbstractTokenRequestContext(io.micronaut.http.MediaType mediaType,
                                   SecureEndpoint tokenEndpoint,
                                   OauthClientConfiguration clientConfiguration)
mediaType - The media typetokenEndpoint - The token endpointclientConfiguration - The client configurationpublic io.micronaut.http.MediaType getMediaType()
getMediaType in interface TokenRequestContext<G,R extends TokenResponse>public SecureEndpoint getEndpoint()
getEndpoint in interface TokenRequestContext<G,R extends TokenResponse>public OauthClientConfiguration getClientConfiguration()
getClientConfiguration in interface TokenRequestContext<G,R extends TokenResponse>