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 |
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 build()
NimbusReactiveJwtDecoder
.NimbusReactiveJwtDecoder