Class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties
- java.lang.Object
-
- io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
-
- io.micronaut.security.oauth2.configuration.endpoints.DefaultSecureEndpointConfiguration
-
- io.micronaut.security.oauth2.configuration.OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties
-
- All Implemented Interfaces:
EndpointConfiguration
,SecureEndpointConfiguration
,TokenEndpointConfiguration
@ConfigurationProperties("token") public static class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties extends DefaultSecureEndpointConfiguration implements TokenEndpointConfiguration
Token endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description TokenEndpointConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micronaut.http.MediaType
getContentType()
void
setContentType(io.micronaut.http.MediaType contentType)
The content type of token endpoint requests.-
Methods inherited from class io.micronaut.security.oauth2.configuration.endpoints.DefaultSecureEndpointConfiguration
getAuthMethod, setAuthMethod
-
Methods inherited from class io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
getUrl, setUrl
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.micronaut.security.oauth2.configuration.endpoints.EndpointConfiguration
getUrl
-
Methods inherited from interface io.micronaut.security.oauth2.configuration.endpoints.SecureEndpointConfiguration
getAuthMethod
-
-
-
-
Method Detail
-
getContentType
@Nonnull public io.micronaut.http.MediaType getContentType()
- Specified by:
getContentType
in interfaceTokenEndpointConfiguration
- Returns:
- The content type
-
setContentType
public void setContentType(@Nonnull io.micronaut.http.MediaType contentType)
The content type of token endpoint requests. Default value (application/x-www-form-urlencoded).- Parameters:
contentType
- The content type
-
-