Class NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
- java.lang.Object
-
- org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
-
- Enclosing class:
- NimbusReactiveJwtDecoder
public static final class NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder extends java.lang.Object
A builder for creatingNimbusReactiveJwtDecoder
instances based on a public key.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NimbusReactiveJwtDecoder
build()
Build the configuredNimbusReactiveJwtDecoder
.NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
Use the given signing algorithm.
-
-
-
Method Detail
-
signatureAlgorithm
public NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
Use the given signing algorithm. The value should be one of RS256, RS384, or RS512.- Parameters:
signatureAlgorithm
- the algorithm to use- Returns:
- a
NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
for further configurations
-
build
public NimbusReactiveJwtDecoder build()
Build the configuredNimbusReactiveJwtDecoder
.- Returns:
- the configured
NimbusReactiveJwtDecoder
-
-