Package sh.ory.model
Enum SelfServiceVerificationFlowState
- All Implemented Interfaces:
Serializable,Comparable<SelfServiceVerificationFlowState>,java.lang.constant.Constable
public enum SelfServiceVerificationFlowState extends Enum<SelfServiceVerificationFlowState>
The state represents the state of the verification flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelfServiceVerificationFlowState.AdapterNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description CHOOSE_METHODPASSED_CHALLENGESENT_EMAIL -
Method Summary
Modifier and Type Method Description static SelfServiceVerificationFlowStatefromValue(String value)StringgetValue()StringtoString()static SelfServiceVerificationFlowStatevalueOf(String name)Returns the enum constant of this type with the specified name.static SelfServiceVerificationFlowState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHOOSE_METHOD
-
SENT_EMAIL
-
PASSED_CHALLENGE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<SelfServiceVerificationFlowState>
-
fromValue
-