Class SpringReactiveOpaqueTokenIntrospector.Builder
java.lang.Object
org.springframework.security.oauth2.server.resource.introspection.SpringReactiveOpaqueTokenIntrospector.Builder
- Enclosing class:
SpringReactiveOpaqueTokenIntrospector
Used to build
SpringReactiveOpaqueTokenIntrospector.- Since:
- 6.5
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates aSpringReactiveOpaqueTokenIntrospectorThe builder willencodethe client id that you provide, so please give the unencoded value.clientSecret(String clientSecret) The builder willencodethe client secret that you provide, so please give the unencoded value.postProcessor(Consumer<SpringReactiveOpaqueTokenIntrospector> postProcessor) Adds aConsumerto customize theSpringReactiveOpaqueTokenIntrospectorafter it is built.
-
Method Details
-
clientId
The builder willencodethe client id that you provide, so please give the unencoded value.- Parameters:
clientId- The unencoded client id- Returns:
- the
SpringReactiveOpaqueTokenIntrospector.Builder - Since:
- 6.5
-
clientSecret
The builder willencodethe client secret that you provide, so please give the unencoded value.- Parameters:
clientSecret- The unencoded client secret- Returns:
- the
SpringReactiveOpaqueTokenIntrospector.Builder - Since:
- 6.5
-
postProcessor
public SpringReactiveOpaqueTokenIntrospector.Builder postProcessor(Consumer<SpringReactiveOpaqueTokenIntrospector> postProcessor) Adds aConsumerto customize theSpringReactiveOpaqueTokenIntrospectorafter it is built. This allows for additional configuration that cannot be expressed through the builder methods.- Parameters:
postProcessor- theConsumerto customize the introspector- Returns:
- the
SpringReactiveOpaqueTokenIntrospector.Builder - Since:
- 7.1.0
-
build
Creates aSpringReactiveOpaqueTokenIntrospector- Returns:
- the
SpringReactiveOpaqueTokenIntrospector - Since:
- 6.5
-