Package com.stytch.sdk.consumer
Enum ConsumerTokenType
-
- All Implemented Interfaces:
-
com.stytch.sdk.common.TokenType,java.io.Serializable,kotlin.Comparable
public enum ConsumerTokenType extends Enum<ConsumerTokenType> implements TokenType
An enum representing the supported (consumer) token types that we can extract from a deeplink
-
-
Field Summary
Fields Modifier and Type Field Description private final EnumEntries<ConsumerTokenType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description MAGIC_LINKSA Consumer Email Magic Link deeplink
OAUTHA Third Party OAuth deeplink
RESET_PASSWORDA Password Reset deeplink
UNKNOWNAn unknown deeplink type. It's possible a non-Stytch deeplink was supplied to the Stytch client's handle() method
-
Method Summary
Modifier and Type Method Description final ConsumerTokenTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ConsumerTokenType>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<ConsumerTokenType>getEntries()An enum representing the supported (consumer) token types that we can extract from a deeplink -
-
Method Detail
-
valueOf
final ConsumerTokenType valueOf(String value)
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.)
-
values
final Array<ConsumerTokenType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<ConsumerTokenType> getEntries()
An enum representing the supported (consumer) token types that we can extract from a deeplink
-
-
-
-