JwtValidator.Builder |
JwtValidator.Builder.allowMissingExpiration() |
When set, the validator accepts tokens that do not have an expiration set.
|
JwtValidator.Builder |
JwtValidator.Builder.expectAudience(java.lang.String value) |
Sets the expected audience.
|
JwtValidator.Builder |
JwtValidator.Builder.expectIssuedInThePast() |
Checks that the iat claim is in the past.
|
JwtValidator.Builder |
JwtValidator.Builder.expectIssuer(java.lang.String value) |
Sets the expected issuer claim of the token.
|
JwtValidator.Builder |
JwtValidator.Builder.expectTypeHeader(java.lang.String value) |
Sets the expected type header of the token.
|
JwtValidator.Builder |
JwtValidator.Builder.ignoreAudiences() |
Lets the validator ignore the aud claim.
|
JwtValidator.Builder |
JwtValidator.Builder.ignoreIssuer() |
Lets the validator ignore the iss claim.
|
JwtValidator.Builder |
JwtValidator.Builder.ignoreTypeHeader() |
Lets the validator ignore the typ header.
|
static JwtValidator.Builder |
JwtValidator.newBuilder() |
Returns a new JwtValidator.Builder.
|
JwtValidator.Builder |
JwtValidator.Builder.setClock(java.time.Clock clock) |
Sets the clock used to verify timestamp claims.
|
JwtValidator.Builder |
JwtValidator.Builder.setClockSkew(java.time.Duration clockSkew) |
Sets the clock skew to tolerate when verifying timestamp claims, to deal with small clock
differences among different machines.
|