public static final class NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
extends java.lang.Object
NimbusJwtDecoder
instances based on a
JWK Set uri.Modifier and Type | Method and Description |
---|---|
NimbusJwtDecoder |
build()
Build the configured
NimbusJwtDecoder . |
NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder |
jwsAlgorithm(SignatureAlgorithm signatureAlgorithm)
Append the given signing
algorithm
to the set of algorithms to use.
|
NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder |
jwsAlgorithms(java.util.function.Consumer<java.util.Set<SignatureAlgorithm>> signatureAlgorithmsConsumer)
Configure the list of
algorithms
to use with the given
Consumer . |
NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder |
restOperations(org.springframework.web.client.RestOperations restOperations)
|
public NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder jwsAlgorithm(SignatureAlgorithm signatureAlgorithm)
signatureAlgorithm
- the algorithm to useNimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
for further configurationspublic NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder jwsAlgorithms(java.util.function.Consumer<java.util.Set<SignatureAlgorithm>> signatureAlgorithmsConsumer)
Consumer
.signatureAlgorithmsConsumer
- a Consumer
for further configuring the algorithm listNimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
for further configurationspublic NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder restOperations(org.springframework.web.client.RestOperations restOperations)
RestOperations
to coordinate with the authorization servers indicated in the
JWK Set uri
as well as the
Issuer.restOperations
- public NimbusJwtDecoder build()
NimbusJwtDecoder
.NimbusJwtDecoder