Enum RequestType
- java.lang.Object
-
- java.lang.Enum<RequestType>
-
- io.mosip.authentication.core.constant.RequestType
-
- All Implemented Interfaces:
Serializable,Comparable<RequestType>
public enum RequestType extends Enum<RequestType>
Defined request type for any type of request in IDA.- Author:
- Rakesh Roshan
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEMO_AUTHEKYC_AUTH_REQUESTFACE_AUTHFINGER_AUTHIDENTITY_KEY_BINDINGIRIS_AUTHKYC_AUTH_REQUESTKYC_EXCHANGE_REQUESTOTP_AUTHOTP_REQUESTPASSWORD_AUTHSTATIC_PIN_AUTHSTATICPIN_STORE_REQUESTTOKEN_AUTHTOKEN_REQUESTVCI_EXCHANGE_REQUEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetRequestType()Get request type.StringgetType()voidsetMessage(String message)voidsetType(String type)static RequestTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RequestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OTP_REQUEST
public static final RequestType OTP_REQUEST
-
OTP_AUTH
public static final RequestType OTP_AUTH
-
DEMO_AUTH
public static final RequestType DEMO_AUTH
-
FINGER_AUTH
public static final RequestType FINGER_AUTH
-
IRIS_AUTH
public static final RequestType IRIS_AUTH
-
FACE_AUTH
public static final RequestType FACE_AUTH
-
STATIC_PIN_AUTH
public static final RequestType STATIC_PIN_AUTH
-
STATICPIN_STORE_REQUEST
public static final RequestType STATICPIN_STORE_REQUEST
-
EKYC_AUTH_REQUEST
public static final RequestType EKYC_AUTH_REQUEST
-
KYC_AUTH_REQUEST
public static final RequestType KYC_AUTH_REQUEST
-
KYC_EXCHANGE_REQUEST
public static final RequestType KYC_EXCHANGE_REQUEST
-
IDENTITY_KEY_BINDING
public static final RequestType IDENTITY_KEY_BINDING
-
TOKEN_REQUEST
public static final RequestType TOKEN_REQUEST
-
TOKEN_AUTH
public static final RequestType TOKEN_AUTH
-
VCI_EXCHANGE_REQUEST
public static final RequestType VCI_EXCHANGE_REQUEST
-
PASSWORD_AUTH
public static final RequestType PASSWORD_AUTH
-
-
Method Detail
-
values
public static RequestType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RequestType c : RequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getType
public String getType()
-
setType
public void setType(String type)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getRequestType
public String getRequestType()
Get request type.- Returns:
- requestType
-
-