Enum InweboResult
- java.lang.Object
-
- java.lang.Enum<InweboResult>
-
- org.apereo.cas.support.inwebo.service.response.InweboResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InweboResult>
public enum InweboResult extends java.lang.Enum<InweboResult>
The JSON response result.- Since:
- 6.4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOKError.NOLOGINUser does not exist, or is still pending activation.NOMAUser does not have the mobile app.NOPUSHUser’s mobile app does not support push.OKSuccess.REFUSEDThe authentication was refused.SNSyntax error in input parameters.TIMEOUTThe authentication timed out.UNKNOWN_SERVICEUnknown service.WAITINGWaiting for the push validation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InweboResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InweboResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final InweboResult OK
Success.
-
NOPUSH
public static final InweboResult NOPUSH
User’s mobile app does not support push.
-
NOMA
public static final InweboResult NOMA
User does not have the mobile app.
-
NOLOGIN
public static final InweboResult NOLOGIN
User does not exist, or is still pending activation.
-
SN
public static final InweboResult SN
Syntax error in input parameters.
-
UNKNOWN_SERVICE
public static final InweboResult UNKNOWN_SERVICE
Unknown service.
-
NOK
public static final InweboResult NOK
Error.
-
WAITING
public static final InweboResult WAITING
Waiting for the push validation.
-
REFUSED
public static final InweboResult REFUSED
The authentication was refused.
-
TIMEOUT
public static final InweboResult TIMEOUT
The authentication timed out.
-
-
Method Detail
-
values
public static InweboResult[] 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 (InweboResult c : InweboResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InweboResult valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-