LoginRadius v1.0.0 LoginRadius.OneTouchLogin View Source

Elixir wrapper for the LoginRadius One Touch Login API module

Link to this section Summary

Functions

GET - One Touch Login by Email: Sends a link to a specified email for frictionless login. https://docs.loginradius.com/api/v2/one-touch/one-touch-login-by-email

GET - One Touch Login by Phone: Sends a One Time Password to a given phone number for a frictionless login. https://docs.loginradius.com/api/v2/one-touch/one-touch-login-by-phone

PUT - One Touch OTP Verification: Verifies the One Time Passcode for One Touch Login. https://docs.loginradius.com/api/v2/customer-identity-api/one-touch-login/one-touch-otp-verification

GET - One Touch Email Verification: Verifies the provided token for One Touch Login by email. https://docs.loginradius.com/api/v2/customer-identity-api/one-touch-login/one-touch-email-verification

Link to this section Functions

Link to this function login_by_email(email, client_guid, name \\ "", redirect_url \\ "", one_touch_login_email_template \\ "", welcome_email_template \\ "") View Source
login_by_email(
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t()
) :: LoginRadius.response()

GET - One Touch Login by Email: Sends a link to a specified email for frictionless login. https://docs.loginradius.com/api/v2/one-touch/one-touch-login-by-email

Link to this function login_by_phone(phone_id, name \\ "", sms_template \\ "") View Source
login_by_phone(String.t(), String.t(), String.t()) :: LoginRadius.response()

GET - One Touch Login by Phone: Sends a One Time Password to a given phone number for a frictionless login. https://docs.loginradius.com/api/v2/one-touch/one-touch-login-by-phone

Link to this function verify_otp(otp, data, sms_template \\ "") View Source
verify_otp(String.t(), map(), String.t()) :: LoginRadius.response()

PUT - One Touch OTP Verification: Verifies the One Time Passcode for One Touch Login. https://docs.loginradius.com/api/v2/customer-identity-api/one-touch-login/one-touch-otp-verification

Link to this function verify_otp_by_email(verification_token, welcome_email_template \\ "") View Source
verify_otp_by_email(String.t(), String.t()) :: LoginRadius.response()

GET - One Touch Email Verification: Verifies the provided token for One Touch Login by email. https://docs.loginradius.com/api/v2/customer-identity-api/one-touch-login/one-touch-email-verification