Class OAuth2AuthorizationServerMetadataEndpointConfigurer
java.lang.Object
org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2AuthorizationServerMetadataEndpointConfigurer
Configurer for the OAuth 2.0 Authorization Server Metadata Endpoint.
- Since:
- 0.4.0
- See Also:
-
OAuth2AuthorizationServerConfigurer.authorizationServerMetadataEndpoint(org.springframework.security.config.Customizer<org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers.OAuth2AuthorizationServerMetadataEndpointConfigurer>)
OAuth2AuthorizationServerMetadataEndpointFilter
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationServerMetadataCustomizer
(Consumer<OAuth2AuthorizationServerMetadata.Builder> authorizationServerMetadataCustomizer) Sets theConsumer
providing access to theOAuth2AuthorizationServerMetadata.Builder
allowing the ability to customize the claims of the Authorization Server's configuration.protected final org.springframework.security.config.annotation.ObjectPostProcessor<Object>
protected final <T> T
postProcess
(T object)
-
Method Details
-
authorizationServerMetadataCustomizer
public OAuth2AuthorizationServerMetadataEndpointConfigurer authorizationServerMetadataCustomizer(Consumer<OAuth2AuthorizationServerMetadata.Builder> authorizationServerMetadataCustomizer) Sets theConsumer
providing access to theOAuth2AuthorizationServerMetadata.Builder
allowing the ability to customize the claims of the Authorization Server's configuration.- Parameters:
authorizationServerMetadataCustomizer
- theConsumer
providing access to theOAuth2AuthorizationServerMetadata.Builder
- Returns:
- the
OAuth2AuthorizationServerMetadataEndpointConfigurer
for further configuration
-
postProcess
protected final <T> T postProcess(T object) -
getObjectPostProcessor
protected final org.springframework.security.config.annotation.ObjectPostProcessor<Object> getObjectPostProcessor()
-