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
-
Method Summary
Modifier and TypeMethodDescription@NonNull io.micronaut.http.MediaType
void
setContentType
(@NonNull io.micronaut.http.MediaType contentType) The content type of token endpoint requests.Methods inherited from class io.micronaut.security.oauth2.configuration.endpoints.DefaultSecureEndpointConfiguration
getAuthenticationMethod, getAuthMethod, setAuthenticationMethod, 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
getAuthenticationMethod, getAuthMethod
-
Constructor Details
-
TokenEndpointConfigurationProperties
public TokenEndpointConfigurationProperties()
-
-
Method Details
-
getContentType
@NonNull public @NonNull io.micronaut.http.MediaType getContentType()- Specified by:
getContentType
in interfaceTokenEndpointConfiguration
- Returns:
- The content type
-
setContentType
public void setContentType(@NonNull @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
-