Class OAuth2AuthorizationServerMetadataEndpointConfigurer

java.lang.Object
org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization.OAuth2AuthorizationServerMetadataEndpointConfigurer

public final class OAuth2AuthorizationServerMetadataEndpointConfigurer extends Object
Configurer for the OAuth 2.0 Authorization Server Metadata Endpoint.
Since:
7.0
See Also:
  • Method Details

    • authorizationServerMetadataCustomizer

      public OAuth2AuthorizationServerMetadataEndpointConfigurer authorizationServerMetadataCustomizer(Consumer<org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadata.Builder> authorizationServerMetadataCustomizer)
      Sets the Consumer providing access to the OAuth2AuthorizationServerMetadata.Builder allowing the ability to customize the claims of the Authorization Server's configuration.
      Parameters:
      authorizationServerMetadataCustomizer - the Consumer providing access to the OAuth2AuthorizationServerMetadata.Builder
      Returns:
      the OAuth2AuthorizationServerMetadataEndpointConfigurer for further configuration
    • postProcess

      protected final <T> T postProcess(T object)
    • getObjectPostProcessor

      protected final ObjectPostProcessor<Object> getObjectPostProcessor()