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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MULTI_TENANT_MAGIC_LINKS

      A B2B Email Magic Link deeplink

      MULTI_TENANT_PASSWORDS

      A B2B Password reset deeplink

      DISCOVERY

      A B2B Discovery deeplink

      SSO

      A SSO (SAML, OIDC) deeplink

      OAUTH

      An OAuth deeplink

      DISCOVERY_OAUTH

      An OAuth Discovery deeplink

      UNKNOWN

      An 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 B2BTokenType valueOf(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.