static Jwt.FieldValidator |
Jwt.FieldValidator.create(Function<Jwt,Optional<String>> fieldAccessor,
String name,
String expectedValue) |
A generic optional field validator based on a function to get the field.
|
static Jwt.FieldValidator |
Jwt.FieldValidator.create(Function<Jwt,Optional<String>> fieldAccessor,
String name,
String expectedValue,
boolean mandatory) |
A generic field validator based on a function to get the field.
|
static Jwt.FieldValidator |
Jwt.FieldValidator.createForHeader(String fieldKey,
String name,
String expectedValue) |
An optional header field validator.
|
static Jwt.FieldValidator |
Jwt.FieldValidator.createForHeader(String fieldKey,
String name,
String expectedValue,
boolean mandatory) |
A header field validator.
|
static Jwt.FieldValidator |
Jwt.FieldValidator.createForPayload(String fieldKey,
String name,
String expectedValue) |
An optional payload field validator.
|
static Jwt.FieldValidator |
Jwt.FieldValidator.createForPayload(String fieldKey,
String name,
String expectedValue,
boolean mandatory) |
A payload field validator.
|