public enum BanafoServiceErrorType extends java.lang.Enum<BanafoServiceErrorType>
Enum Constant and Description |
---|
AuthorizationDeny
The end user denied the device authorization request.
|
AuthorizationExpired
The device code has expired and the device authorization session has concluded.
|
AuthorizationToken
Error occurred while getting or refreshing tokens.
|
DeviceCode
Error occurred while getting a new device code.
|
WellKnown
Error occurred while getting well known configuration.
|
Modifier and Type | Method and Description |
---|---|
static BanafoServiceErrorType |
fromInt(int i) |
static BanafoServiceErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BanafoServiceErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BanafoServiceErrorType WellKnown
public static final BanafoServiceErrorType AuthorizationToken
public static final BanafoServiceErrorType DeviceCode
public static final BanafoServiceErrorType AuthorizationExpired
public static final BanafoServiceErrorType AuthorizationDeny
public static BanafoServiceErrorType[] values()
for (BanafoServiceErrorType c : BanafoServiceErrorType.values()) System.out.println(c);
public static BanafoServiceErrorType 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 static BanafoServiceErrorType fromInt(int i)