public static final class NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
extends java.lang.Object
NimbusJwtDecoder instances based on a public key.| Modifier and Type | Method and Description |
|---|---|
NimbusJwtDecoder |
build()
Build the configured
NimbusJwtDecoder. |
NimbusJwtDecoder.PublicKeyJwtDecoderBuilder |
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 NimbusJwtDecoder. |
NimbusJwtDecoder.PublicKeyJwtDecoderBuilder |
signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
Use the given signing
algorithm.
|
public NimbusJwtDecoder.PublicKeyJwtDecoderBuilder signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
signatureAlgorithm - the algorithm to useNimbusJwtDecoder.PublicKeyJwtDecoderBuilder for further configurationspublic NimbusJwtDecoder.PublicKeyJwtDecoderBuilder 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 NimbusJwtDecoder.jwtProcessorCustomizer - the callback used to alter the processorNimbusJwtDecoder.PublicKeyJwtDecoderBuilder for further configurationspublic NimbusJwtDecoder build()
NimbusJwtDecoder.NimbusJwtDecoder