- <init>
Creates a new JwtConsumerBuilder, which is set up by default to build a
JwtConsumer that requires a
- build
Create the JwtConsumer with the options provided to the builder.
- setRequireExpirationTime
Require that the JWT contain an expiration time ("exp") claim
[http://tools.ietf.org/html/rfc7519#se
- setAllowedClockSkewInSeconds
Set the amount of clock skew to allow for when validate the expiration time,
issued at time, and not
- setExpectedIssuer
Indicates whether or not the issuer ("iss") claim is required and optionally
what the expected value
- setRequireSubject
Require that a subject ("sub") claim be present in the JWT.
- setVerificationKey
Set the key to be used for JWS signature/MAC verification.
- setExpectedAudience
Set the audience value(s) to use when validating the audience ("aud") claim of
a JWT and require th
- setVerificationKeyResolver
Set the VerificationKeyResolver to use to select the key for JWS signature/MAC
verification. A Verif
- setDisableRequireSignature
Because integrity protection is needed in most usages of JWT, a signature on the
JWT is required by
- setSkipAllValidators
Skip all claims validation.
This might be useful in cases where you don't have enough information
- setSkipSignatureVerification
Skip signature verification.
This might be useful in cases where you don't have enough information