WRDAuthPlugin::GenerateSetupSecondFactorLink (open)

Generate a link to setup the second factor of an account

Syntax

LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";

RECORD FUNCTION GenerateSetupSecondFactorLink(STRING baseurl, INTEGER entityid)

Parameters

STRING baseurl

URL of the login page

INTEGER entityid

User id

Return value

RECORD

Setup link and challenge

challenge

Challenge used in setup link (for audit log)

setuplink

Link to setup page