| Package | Description |
|---|---|
| io.helidon.security.jwt |
JWT (JSON web token) support.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Jwt.ExpirationValidator
Validator of expiration claim.
|
static class |
Jwt.FieldValidator
Validator of a string field obtained from a JWT.
|
static class |
Jwt.IssueTimeValidator
Validator of issue time claim.
|
static class |
Jwt.NotBeforeValidator
Validator of not before claim.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Validator<Jwt>> |
Jwt.defaultTimeValidators()
Return a list of validators to validate expiration time, issue time and not-before time.
|
static List<Validator<Jwt>> |
Jwt.defaultTimeValidators(Instant now,
int timeSkewAmount,
ChronoUnit timeSkewUnit,
boolean mandatory)
Return a list of validators to validate expiration time, issue time and not-before time.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Jwt.addAudienceValidator(Collection<Validator<Jwt>> validators,
String audience,
boolean mandatory)
Add validator of audience to the collection of validators.
|
static void |
Jwt.addIssuerValidator(Collection<Validator<Jwt>> validators,
String issuer,
boolean mandatory)
Add validator of issuer to the collection of validators.
|
Errors |
Jwt.validate(List<Validator<Jwt>> validators)
Validate this JWT against provided validators.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.