PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV, WEBDEV and WINDEV Mobile 26 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Generates a link to register an account in an authentication application. When associated with a Bar Code control, this link will show a QR code that can be scanned in the authentication app installed on the phone.
Example
let sURL = TwoFactorAuthenticationGenerateLink(sTOTPKey, sEmail, sAppName)
BAC_MyQRCode = sURL
Syntax
<Result> = TwoFactorAuthenticationGenerateLink(<TOTP key> , <Account> , <Application>)
<Result>: Character string
URL used to create an account in an authentication application.
<TOTP key>: Character string
ANSI string that contains the TOTP key of the user to be authenticated. This TOTP key was generated with DoubleAuthGenerateKey.
<Account>: Character string
Name of the account to be registered (the email address is generally used).
<Application>: Character string
Name of the application to be registered on the authentication application.
Related Examples:
WW_Two-factor_Authentication Training (WEBDEV): WW_Two-factor_Authentication
[ + ] This example shows how to use two-factor authentication to secure access to user accounts.
It uses TOTP authentication, which generates a 6-digit code every 30 seconds.

The code is generated by all Authenticators that use TOTP (Google, Microsoft, etc.)
Component: wd260ggl.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment