Class ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec
- Enclosing class:
- ServerHttpSecurity.OAuth2ResourceServerSpec
Configures Opaque Token Resource Server support.
- Since:
- 5.2
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationConverter(ReactiveOpaqueTokenAuthenticationConverter authenticationConverter) introspectionClientCredentials(String clientId, String clientSecret) Configures the credentials for Introspection endpoint.introspectionUri(String introspectionUri) Configures the URI of the Introspection endpoint.introspector(ReactiveOpaqueTokenIntrospector introspector)
-
Method Details
-
introspectionUri
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionUri(String introspectionUri) Configures the URI of the Introspection endpoint.- Parameters:
introspectionUri- The URI of the Introspection endpoint- Returns:
- the
OpaqueTokenSpecfor additional configuration
-
introspectionClientCredentials
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspectionClientCredentials(String clientId, String clientSecret) Configures the credentials for Introspection endpoint.- Parameters:
clientId- The clientId part of the credentialsclientSecret- The clientSecret part of the credentials- Returns:
- the
OpaqueTokenSpecfor additional configuration
-
introspector
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec introspector(ReactiveOpaqueTokenIntrospector introspector) -
authenticationConverter
public ServerHttpSecurity.OAuth2ResourceServerSpec.OpaqueTokenSpec authenticationConverter(ReactiveOpaqueTokenAuthenticationConverter authenticationConverter)
-