Enum B2BTokenType
-
- All Implemented Interfaces:
-
com.stytch.sdk.common.TokenType,java.io.Serializable,kotlin.Comparable
public enum B2BTokenType extends Enum<B2BTokenType> implements TokenType
An enum representing the supported (B2B) token types that we can extract from a deeplink
-
-
Field Summary
Fields Modifier and Type Field Description private final EnumEntries<B2BTokenType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI_TENANT_MAGIC_LINKSA B2B Email Magic Link deeplink
MULTI_TENANT_PASSWORDSA B2B Password reset deeplink
DISCOVERYA B2B Discovery deeplink
SSOA SSO (SAML, OIDC) deeplink
OAUTHAn OAuth deeplink
DISCOVERY_OAUTHAn OAuth Discovery 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 B2BTokenTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<B2BTokenType>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<B2BTokenType>getEntries()An enum representing the supported (B2B) token types that we can extract from a deeplink -
-
Method Detail
-
valueOf
final B2BTokenType 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<B2BTokenType> 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<B2BTokenType> getEntries()
An enum representing the supported (B2B) token types that we can extract from a deeplink
-
-
-
-