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
Enclosing class:
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties

@ConfigurationProperties("token") @Requires(classes=io.micronaut.http.MediaType.class) public static class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.TokenEndpointConfigurationProperties extends DefaultSecureEndpointConfiguration implements TokenEndpointConfiguration
Token endpoint configuration.
  • Constructor Details

    • TokenEndpointConfigurationProperties

      public TokenEndpointConfigurationProperties()
  • Method Details

    • getContentType

      @NonNull public @NonNull io.micronaut.http.MediaType getContentType()
      Specified by:
      getContentType in interface TokenEndpointConfiguration
      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