forked from mirror/jwt
Add validation error bit for generic validation error.
This commit is contained in:
parent
94cd619027
commit
fa9a0b8c45
|
@ -18,6 +18,7 @@ const (
|
||||||
ValidationErrorSignatureInvalid // Signature validation failed
|
ValidationErrorSignatureInvalid // Signature validation failed
|
||||||
ValidationErrorExpired // Exp validation failed
|
ValidationErrorExpired // Exp validation failed
|
||||||
ValidationErrorNotValidYet // NBF validation failed
|
ValidationErrorNotValidYet // NBF validation failed
|
||||||
|
ValidationErrorClaimsInvalid // Generic claims validation error
|
||||||
)
|
)
|
||||||
|
|
||||||
// The error from Parse if token is not valid
|
// The error from Parse if token is not valid
|
||||||
|
|
Loading…
Reference in New Issue