Package io.jmix.email.authentication
Enum Class OAuth2DeviceCodeSession.Status
java.lang.Object
java.lang.Enum<OAuth2DeviceCodeSession.Status>
io.jmix.email.authentication.OAuth2DeviceCodeSession.Status
- All Implemented Interfaces:
Serializable,Comparable<OAuth2DeviceCodeSession.Status>,Constable
- Enclosing class:
OAuth2DeviceCodeSession
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe flow has completed and the refresh token has been stored.The flow has failed or expired, seeOAuth2DeviceCodeSession.getErrorMessage().Waiting for the user to complete verification on the provider page. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OAuth2DeviceCodeSession.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
Waiting for the user to complete verification on the provider page. -
COMPLETED
The flow has completed and the refresh token has been stored. -
FAILED
The flow has failed or expired, seeOAuth2DeviceCodeSession.getErrorMessage().
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-