WRDAuthPlugin::Login (open)
Logs in a user by password
Syntax
LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";
RECORD FUNCTION Login(STRING loginname, STRING password, RECORD options)Parameters
STRING loginnameLogin name
STRING passwordPassword
RECORD optionsOptions (passed to support object / wrdauth)
browsertripletBrowser triplet
logincontrolEncrypted logincontrol token (passed in webvariable 'wrdauth_logincontrol')
loginhostThe loginpage that can understand totp and other complete account requests
rawloginLogin directly to WRD, do not use supportobject alternative logins. You may need this if your support callback requires a 'standard' login as its fallback
Return value
RECORDLogin result
codeLogin error code
submitinstructionForm action to execute to complete SAML / external login flow
successWhether the user was logged in successfully