public enum AuthenticationType extends java.lang.Enum<AuthenticationType>
| Enum Constant and Description |
|---|
BLACKLISTVISITE
验证失败:黑名单中的ip尝试身份认证
|
CLIENTIDEXCEPTION
验证失败:clientId账户名错误
|
CLIENTVALIDEXCEPTION
验证失败:失效的用户
|
IPlIMITEEXCEPTION
验证失败:不是白名单中的ip进行尝试身份认证
|
LOCKEDEXCEPTION
验证失败:客户端锁定
|
PASSWORDEXCEPTION
验证失败:clientSecret密码错误
|
REFRESHTOKENEXCEPTION
刷新token验证异常
|
STAFFLOGINEXCEPTION
passowd模式下,用户身份验证错误
|
SUCCESS
验证成功
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDescription() |
java.lang.String |
getName() |
int |
getOrdinal() |
static AuthenticationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationType SUCCESS
public static final AuthenticationType PASSWORDEXCEPTION
public static final AuthenticationType CLIENTIDEXCEPTION
public static final AuthenticationType LOCKEDEXCEPTION
public static final AuthenticationType IPlIMITEEXCEPTION
public static final AuthenticationType BLACKLISTVISITE
public static final AuthenticationType CLIENTVALIDEXCEPTION
public static final AuthenticationType STAFFLOGINEXCEPTION
public static final AuthenticationType REFRESHTOKENEXCEPTION
public static AuthenticationType[] values()
for (AuthenticationType c : AuthenticationType.values()) System.out.println(c);
public static AuthenticationType 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 nullpublic java.lang.String getName()
public int getDescription()
public int getOrdinal()