public abstract class JwtIssuer extends Object
JwtConsumer instance for JsonWebSignature decoding and validation.| Constructor and Description |
|---|
JwtIssuer() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<String> |
audience()
The recipient(s) for this token.
|
org.jose4j.jwt.consumer.JwtConsumer |
createConsumer(Collection<Constraint> constraints)
Creates a new
JwtConsumer to process incoming JsonWebSignatures. |
abstract ConstrainedVerificationKeyResolver |
keyResolver(Collection<Constraint> constraints)
Creates a new
ConstrainedVerificationKeyResolver bound to this issuer. |
abstract String |
name()
JsonWebSignature Issuer name. |
public abstract String name()
JsonWebSignature Issuer name.
This should be the URL of the Authorization Server though there may be some cases where its not.
RFC7519JsonWebSignature Issuing authority.public abstract Set<String> audience()
public abstract ConstrainedVerificationKeyResolver keyResolver(Collection<Constraint> constraints)
ConstrainedVerificationKeyResolver bound to this issuer.ConstrainedVerificationKeyResolver instance.public final org.jose4j.jwt.consumer.JwtConsumer createConsumer(Collection<Constraint> constraints)
JwtConsumer to process incoming JsonWebSignatures.constraints - Custom collection of Constraint instances.JwtConsumer instance.