WorkOS.AuthenticationFactorsCreateRequestType (WorkOS SDK for Elixir v3.0.1)

Copy Markdown View Source

AuthenticationFactorsCreateRequestType enum.

Summary

Functions

Casts a wire string to its atom; unknown values pass through unchanged.

Dumps an atom back to its wire string.

All known values.

Types

t()

@type t() :: :generic_otp | :sms | :totp

Functions

cast(other)

@spec cast(String.t() | nil) :: t() | String.t() | nil

Casts a wire string to its atom; unknown values pass through unchanged.

dump(other)

@spec dump(t() | String.t()) :: String.t()

Dumps an atom back to its wire string.

values()

@spec values() :: [t()]

All known values.