Class NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
- java.lang.Object
-
- org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
-
- Enclosing class:
- NimbusReactiveJwtDecoder
public static final class NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder extends java.lang.Object
A builder for creatingNimbusReactiveJwtDecoder
instances.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NimbusReactiveJwtDecoder
build()
Build the configuredNimbusReactiveJwtDecoder
.NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
jwsAlgorithm(JwsAlgorithm jwsAlgorithm)
Use the given signing algorithm.
-
-
-
Method Detail
-
jwsAlgorithm
public NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder jwsAlgorithm(JwsAlgorithm jwsAlgorithm)
Use the given signing algorithm.- Parameters:
jwsAlgorithm
- the algorithm to use- Returns:
- a
NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
for further configurations
-
build
public NimbusReactiveJwtDecoder build()
Build the configuredNimbusReactiveJwtDecoder
.- Returns:
- the configured
NimbusReactiveJwtDecoder
-
-