public enum AuthResponseStatus extends Enum<AuthResponseStatus>
Enum Constant and Description |
---|
FAILURE |
ILLEGAL_CODE |
ILLEGAL_REDIRECT_URI |
ILLEGAL_REQUEST |
ILLEGAL_STATUS |
ILLEGAL_TOKEN |
NO_AUTH_SOURCE |
NOT_IMPLEMENTED |
PARAMETER_INCOMPLETE |
REQUIRED_REFRESH_TOKEN |
SUCCESS
2000:正常;
other:调用异常,具体异常内容见
msg |
UNIDENTIFIED_PLATFORM |
UNSUPPORTED |
Modifier and Type | Method and Description |
---|---|
static AuthResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthResponseStatus SUCCESS
msg
public static final AuthResponseStatus FAILURE
public static final AuthResponseStatus NOT_IMPLEMENTED
public static final AuthResponseStatus PARAMETER_INCOMPLETE
public static final AuthResponseStatus UNSUPPORTED
public static final AuthResponseStatus NO_AUTH_SOURCE
public static final AuthResponseStatus UNIDENTIFIED_PLATFORM
public static final AuthResponseStatus ILLEGAL_REDIRECT_URI
public static final AuthResponseStatus ILLEGAL_REQUEST
public static final AuthResponseStatus ILLEGAL_CODE
public static final AuthResponseStatus ILLEGAL_STATUS
public static final AuthResponseStatus REQUIRED_REFRESH_TOKEN
public static final AuthResponseStatus ILLEGAL_TOKEN
public static AuthResponseStatus[] values()
for (AuthResponseStatus c : AuthResponseStatus.values()) System.out.println(c);
public static AuthResponseStatus 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 © 2021. All rights reserved.