View Source Stytch (Stytch v0.4.0)

Documentation for Stytch.

Summary

Functions

Functions

Link to this function

authenticate_magic_link(token, opts \\ %{})

View Source

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

Link to this function

authenticate_oauth(token, opts \\ %{})

View Source

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

Link to this function

authenticate_otp(method_id, code, opts \\ %{})

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_webauthn(public_key_credential, opts \\ %{})

View Source

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

Link to this function

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

View Source

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

Link to this function

b2b_authenticate_sso(token, opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/sso-authenticate

Link to this function

b2b_create_member(org_id, opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/create-member

Link to this function

b2b_create_organization(opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/create-organization

Link to this function

b2b_email_password_reset(opts \\ %{})

View Source

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

Link to this function

b2b_email_password_reset_start(opts \\ %{})

View Source

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

Link to this function

b2b_passwords_authenticate(opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/passwords-authenticate

Link to this function

b2b_passwords_migrate(opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/migrate

Link to this function

b2b_search_organizations(opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/search-organizations

Link to this function

b2b_sessions_authenticate(opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/authenticate-session

Link to this function

b2b_sessions_reset(opts \\ %{})

View Source

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

Link to this function

b2b_update_member(org_id, member_id, opts \\ %{})

View Source

See: https://stytch.com/docs/b2b/api/update-member

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_by_email(email, opts \\ %{})

View Source

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

Link to this function

create_user_by_phone_number(phone_number, opts \\ %{})

View Source

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

Link to this function

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

View Source

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

https://stytch.com/docs/api/delete-user

Link to this function

delete_user_email(email_id)

View Source

See: https://stytch.com/docs/api/delete-user-email

Link to this function

delete_user_password(password_id)

View Source

See: https://stytch.com/docs/api/delete-user-password

Link to this function

delete_user_phone_number(phone_id)

View Source

See: https://stytch.com/docs/api/delete-user-phone-number

Link to this function

delete_user_totp(totp_id)

View Source

See: https://stytch.com/docs/api/delete-user-totp

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

Link to this function

get_pending_users(opts \\ %{})

View Source

See: https://stytch.com/docs/api/get-pending-users

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_email_otp(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

login_or_create_user_by_whatsapp(phone_number, opts \\ %{})

View Source

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

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

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

Link to this function

revoke_pending_invite(email)

View Source

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

search_users(opts \\ %{})

View Source

See: https://stytch.com/docs/api/search-users

Link to this function

send_otp_by_email(email, opts \\ %{})

View Source

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

Link to this function

send_otp_by_sms(phone_number, opts \\ %{})

View Source

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

Link to this function

send_otp_by_whatsapp(phone_number, opts \\ %{})

View Source

See: https://stytch.com/docs/api/whatsapp-send

Link to this function

start_oauth_url(provider, public_token, params \\ [])

View Source

See: https://stytch.com/docs/api/oauth-overview

Link to this function

start_webauthn_authentication(user_id, domain)

View Source

See: https://stytch.com/docs/api/webauthn-authenticate-start

Link to this function

start_webauthn_registration(user_id, domain, opts \\ %{})

View Source

See: https://stytch.com/docs/api/webauthn-register-start

Link to this function

update_user(user_id, opts \\ %{})

View Source

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

Link to this function

webauthn_registration(user_id, public_key_credential)

View Source

See: https://stytch.com/docs/api/webauthn-register