public static final class NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder
extends java.lang.Object
NimbusReactiveJwtDecoder instances based on a
JWK Set
uri.| Modifier and Type | Method and Description |
|---|---|
NimbusReactiveJwtDecoder |
build()
Build the configured
NimbusReactiveJwtDecoder. |
NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder |
jwsAlgorithm(SignatureAlgorithm signatureAlgorithm)
Append the given signing
algorithm to the set of algorithms to use.
|
NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder |
jwsAlgorithms(java.util.function.Consumer<java.util.Set<SignatureAlgorithm>> signatureAlgorithmsConsumer)
Configure the list of
algorithms to use with the given
Consumer. |
NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder |
jwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.JWKSecurityContext>> jwtProcessorCustomizer)
Use the given
Consumer to customize the ConfigurableJWTProcessor before passing it to the build
NimbusReactiveJwtDecoder. |
NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder |
webClient(org.springframework.web.reactive.function.client.WebClient webClient)
|
public NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder jwsAlgorithm(SignatureAlgorithm signatureAlgorithm)
signatureAlgorithm - the algorithm to useNimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder for further configurationspublic NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder jwsAlgorithms(java.util.function.Consumer<java.util.Set<SignatureAlgorithm>> signatureAlgorithmsConsumer)
Consumer.signatureAlgorithmsConsumer - a Consumer for further configuring
the algorithm listNimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder for further configurationspublic NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder webClient(org.springframework.web.reactive.function.client.WebClient webClient)
WebClient to coordinate with the authorization servers
indicated in the JWK
Set uri as well as the Issuer.webClient - NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder for further configurationspublic NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder jwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.JWKSecurityContext>> jwtProcessorCustomizer)
Consumer to customize the ConfigurableJWTProcessor before passing it to the build
NimbusReactiveJwtDecoder.jwtProcessorCustomizer - the callback used to alter the processorNimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder for further configurationspublic NimbusReactiveJwtDecoder build()
NimbusReactiveJwtDecoder.NimbusReactiveJwtDecoder