View Source Stytch.Client (Stytch v0.1.1)

Link to this section Summary

Functions

Link to this section Functions

Link to this function

authenticate_otp(method_id, code)

View Source

See: https://stytch.com/docs/api/authenticate-otp

Link to this function

authenticate_session(session_token, opts \\ %{})

View Source

See: https://stytch.com/docs/api/session-auth

Link to this function

authenticate_totp(user_id, totp_code)

View Source

See: https://stytch.com/docs/api/totp-authenticate

Link to this function

authenticate_with_magic_link(token, opts \\ %{})

View Source

See: https://stytch.com/docs/api/authenticate-magic-link

Link to this function

authenticate_with_password(email, password, opts \\ %{})

View Source

See: https://stytch.com/docs/api/password-authenticate

Link to this function

check_password_strength(password)

View Source

See: https://stytch.com/docs/api/password-strength-check

Link to this function

create_embeddable_magic_link(user_id, opts \\ %{})

View Source

See: https://stytch.com/docs/api/create-magic-link

Link to this function

create_totp(user_id, opts \\ %{})

View Source

See: https://stytch.com/docs/api/totp-create

Link to this function

create_user_with_password(email, password, opts \\ %{})

View Source

See: https://stytch.com/docs/api/password-create

See: https://stytch.com/docs/api/jwks-get

Link to this function

get_totp_recovery_codes(user_id)

View Source

See: https://stytch.com/docs/api/totp-get-recovery-codes

See: https://stytch.com/docs/api/get-user

Link to this function

initiate_reset_password_by_email(email, opts \\ %{})

View Source

See: https://stytch.com/docs/api/password-email-reset-start

Link to this function

invite_user_by_email(email, opts \\ %{})

View Source

See: https://stytch.com/docs/api/invite-by-email

See: https://stytch.com/docs/api/session-get

Link to this function

login_or_create_user_by_email(email, opts \\ %{})

View Source

See: https://stytch.com/docs/api/log-in-or-create-user-by-email

Link to this function

login_or_create_user_by_sms(phone_number, opts \\ %{})

View Source

See: https://stytch.com/docs/api/log-in-or-create-user-by-sms

Link to this function

recover_totp(user_id, recovery_code, opts \\ %{})

View Source

See: https://stytch.com/docs/api/totp-recover

Link to this function

reset_password_by_email(token, password, opts \\ %{})

View Source

See: https://stytch.com/docs/api/password-email-reset

Link to this function

reset_password_by_existing(email, existing_password, new_password)

View Source

See: https://stytch.com/docs/api/password-existing-password-reset

Link to this function

reset_password_by_session(session_token, password)

View Source
@spec reset_password_by_session(session_token :: String.t(), password :: String.t()) ::
  Req.Response.t()

See: https://stytch.com/docs/api/password-session-reset

See: https://stytch.com/docs/api/revoke-pending-invite

Link to this function

revoke_session(session_id)

View Source

See: https://stytch.com/docs/api/session-revoke

Link to this function

send_magic_link(email, opts \\ %{})

View Source

See: https://stytch.com/docs/api/send-by-email

Link to this function

send_otp_by_sms(phone_number, opts \\ %{})

View Source

See: https://stytch.com/docs/api/send-otp-by-sms