B2BTokenType

The type of token present in a Stytch B2B deeplink URL.

Entries

Link copied to clipboard

A B2B magic link authentication token.

Link copied to clipboard

A B2B password reset token. Must be handled manually by the caller via the passwords reset flow.

Link copied to clipboard

A discovery flow token used to list organizations for an email address.

Link copied to clipboard

An SSO (SAML or OIDC) authentication token.

Link copied to clipboard

An OAuth authentication token for an org-scoped flow.

Link copied to clipboard

A discovery OAuth token. Caller must present org selection and then call com.stytch.sdk.b2b.oauth.B2BOAuthDiscoveryClient.authenticate.

Link copied to clipboard

An unrecognized or missing token type.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

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

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.