public static final class NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
extends java.lang.Object
NimbusReactiveJwtDecoder
instances based on a
SecretKey
.Modifier and Type | Method and Description |
---|---|
NimbusReactiveJwtDecoder |
build()
Build the configured
NimbusReactiveJwtDecoder . |
NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder |
jwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)
Use the given
Consumer to customize the ConfigurableJWTProcessor before passing it to the build
NimbusReactiveJwtDecoder . |
NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder |
macAlgorithm(MacAlgorithm macAlgorithm)
Use the given
algorithm when generating the MAC.
|
public NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder macAlgorithm(MacAlgorithm macAlgorithm)
macAlgorithm
- the MAC algorithm to useNimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
for further configurationspublic NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder jwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)
Consumer
to customize the ConfigurableJWTProcessor
before passing it to the build
NimbusReactiveJwtDecoder
.jwtProcessorCustomizer
- the callback used to alter the processorNimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
for further configurationspublic NimbusReactiveJwtDecoder build()
NimbusReactiveJwtDecoder
.NimbusReactiveJwtDecoder