WRDAuthPlugin::CreateVerificationLink (open)
Creates a link that can be used to verify a user is present at a account page
Syntax
LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";
RECORD FUNCTION CreateVerificationLink(STRING baseurl, INTEGER entityid, RECORD options)Parameters
STRING baseurlURL of the login page
INTEGER entityidUser id
RECORD optionsOptions
RECORD secretSecret to encode in the verification link
STRING verifierstartInitial characters for the verification code
Return value
RECORDVerification link data
entrylinkThe code-entry link (user may be redirected or navigate here)
validuntilUntil when the link is valid
verifiedlinkThe verified link (should be emailed to the user)
verifierThe verification code (should be emailed to the user)