public enum YubicoResponseStatus extends Enum<YubicoResponseStatus>
| Enum Constant and Description |
|---|
BACKEND_ERROR
Unexpected error in our server.
|
BAD_OTP
The OTP is invalid format.
|
BAD_SIGNATURE
The HMAC signature verification failed.
|
MISSING_PARAMETER
The request lacks a parameter.
|
NO_SUCH_CLIENT
The request id does not exist.
|
NOT_ENOUGH_ANSWERS
Server could not get requested number of syncs during before timeout
|
OK
The OTP is valid.
|
OPERATION_NOT_ALLOWED
The request id is not allowed to verify OTPs.
|
REPLAYED_OTP
The OTP has already been seen by the service.
|
REPLAYED_REQUEST
Server has seen the OTP/Nonce combination before
|
| Modifier and Type | Method and Description |
|---|---|
static YubicoResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YubicoResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YubicoResponseStatus OK
public static final YubicoResponseStatus BAD_OTP
public static final YubicoResponseStatus REPLAYED_OTP
public static final YubicoResponseStatus BAD_SIGNATURE
public static final YubicoResponseStatus MISSING_PARAMETER
public static final YubicoResponseStatus NO_SUCH_CLIENT
public static final YubicoResponseStatus OPERATION_NOT_ALLOWED
public static final YubicoResponseStatus BACKEND_ERROR
public static final YubicoResponseStatus NOT_ENOUGH_ANSWERS
public static final YubicoResponseStatus REPLAYED_REQUEST
public static YubicoResponseStatus[] values()
for (YubicoResponseStatus c : YubicoResponseStatus.values()) System.out.println(c);
public static YubicoResponseStatus 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 © 2013 Yubico AB. All Rights Reserved.