public enum JwtValidationResultType extends Enum<JwtValidationResultType>
Enum Constant and Description |
---|
TOKEN_EXPIRED
过期
|
TOKEN_INVALID_SIGNATURE
签名错误
|
TOKEN_NOT_PRESENT
无效
|
TOKEN_PROCESS_ERROR
处理错误
|
TOKEN_VALID
验证
|
Modifier and Type | Method and Description |
---|---|
static JwtValidationResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JwtValidationResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwtValidationResultType TOKEN_VALID
public static final JwtValidationResultType TOKEN_EXPIRED
public static final JwtValidationResultType TOKEN_INVALID_SIGNATURE
public static final JwtValidationResultType TOKEN_PROCESS_ERROR
public static final JwtValidationResultType TOKEN_NOT_PRESENT
public static JwtValidationResultType[] values()
for (JwtValidationResultType c : JwtValidationResultType.values()) System.out.println(c);
public static JwtValidationResultType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.