public enum TokenRenewalType extends java.lang.Enum<TokenRenewalType>
| Enum Constant and Description |
|---|
NOT_ALLOW
不允许
|
REFRESH_TOKEN
通过 refresh_token 实现
|
SESSION
回话形式
|
| Modifier and Type | Method and Description |
|---|---|
static TokenRenewalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenRenewalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenRenewalType NOT_ALLOW
public static final TokenRenewalType SESSION
public static final TokenRenewalType REFRESH_TOKEN
public static TokenRenewalType[] values()
for (TokenRenewalType c : TokenRenewalType.values()) System.out.println(c);
public static TokenRenewalType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null