public interface ErrorCodeValidator
| Modifier and Type | Interface and Description |
|---|---|
static class |
ErrorCodeValidator.Error
JWT validation error with stable error code and friendly error message
|
| Modifier and Type | Method and Description |
|---|---|
ErrorCodeValidator.Error |
validate(JwtContext jwtContext)
Validate some aspect of the JWT.
|
ErrorCodeValidator.Error validate(JwtContext jwtContext) throws MalformedClaimException
Validate some aspect of the JWT.
Implementations should use negative values
for error codes so as to avoid potential collisions with error code values
used by this library, which are defined in ErrorCodes.
jwtContext - the JWT contextMalformedClaimException - if a malformed claim is encounteredCopyright © 2021. All rights reserved.