Modifier and Type | Class and Description |
---|---|
static class |
JwtIssuerJwks.Builder
Constructs a new
JwtIssuer instance with a HttpsJwksVerificationKeyResolver . |
Modifier and Type | Method and Description |
---|---|
Set<String> |
audience()
The recipient(s) for this token.
|
static JwtIssuerJwks.Builder |
builder() |
String |
jwksUri()
HTTPS endpoint hosting this issuers
JsonWebKeySet . |
ConstrainedVerificationKeyResolver |
keyResolver(Collection<Constraint> constraints)
Returns Signature Verification Key identified by
HeaderParameterNames.JWK_SET_URL |
String |
name()
JsonWebSignature Issuer name. |
createConsumer
public String name()
JsonWebSignature
Issuer name.
This should be the URL of the Authorization Server though there may be some cases where its not.
RFC7519public Set<String> audience()
public String jwksUri()
JsonWebKeySet
.JsonWebKeySet
.public ConstrainedVerificationKeyResolver keyResolver(Collection<Constraint> constraints)
HeaderParameterNames.JWK_SET_URL
keyResolver
in class JwtIssuer
constraints
- Collection of Constraint
to be enforced.ConstrainedVerificationKeyResolver
public static JwtIssuerJwks.Builder builder()