smartlogin

package
v0.0.0-...-c7849f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package smartlogin contains methods for calling the LoginRadius Smart Login APIs. Smart Logins are

logins that allow a user to login through a unique client GUID. This is focused towards creating an easy method for Smart devices to

access the LoginRadius authentication features. The client GUID is a unique identifier that can only be used once per login.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loginradius

type Loginradius struct {
	Client *lr.Loginradius
}

Embed Loginradius struct

func (Loginradius) GetSmartLoginByEmail

func (lr Loginradius) GetSmartLoginByEmail(queries interface{}) (*httprutils.Response, error)

GetSmartLoginByEmail sends a Smart Login link to the user's Email Id. Documentation: https://www.loginradius.com/docs/api/v2/customer-identity-api/smart-login/smart-login-by-email Required query parameters: apikey, email, clientguid Optional query parameters: smartloginemailtemplate, welcomeemailtemplate, redirecturl

func (Loginradius) GetSmartLoginByUsername

func (lr Loginradius) GetSmartLoginByUsername(queries interface{}) (*httprutils.Response, error)

GetSmartLoginByUsername sends a Smart Login link to the user's Email Id. Documentation: https://www.loginradius.com/docs/api/v2/customer-identity-api/smart-login/smart-login-by-username Required query parameters: apikey, username, clientguid Optional query parameters: smartloginemailtemplate, welcomeemailtemplate, redirecturl

func (Loginradius) GetSmartLoginPing

func (lr Loginradius) GetSmartLoginPing(queries interface{}) (*httprutils.Response, error)

GetSmartLoginPing is used to check if the Smart Login link has been clicked or not. Documentation: https://www.loginradius.com/docs/api/v2/customer-identity-api/smart-login/smart-login-ping Required query parameters: apikey, clientguid

func (Loginradius) GetSmartLoginVerifyToken

func (lr Loginradius) GetSmartLoginVerifyToken(queries interface{}) (*httprutils.Response, error)

GetSmartLoginVerifyToken verifies the provided token for Smart Login.  Documentation: https://www.loginradius.com/docs/api/v2/customer-identity-api/smart-login/smart-login-verify-token Required query parameterS: apikey, verificationtoken, Optional query parameters: welcommeemailtemplate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL