|
|
|
|
|
TwoFactorAuthenticationGenerateLink (Function) In french: DoubleAuthGénèreLien 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. let sURL = TwoFactorAuthenticationGenerateLink(sCléTOTP, sEmail, sNomAppli)
CBA_MonQRCode = 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, Buffer or secret string TOTP key of the user to be authenticated. This TOTP key was generated with DoubleAuthGenerateKey.
New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter can be "Buffer - ASCII" or "Buffer - UTF-8". To learn more about secret strings and how to use the vault, see Secret string vault. New in version 2025 <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:
|
Training (WINDEV): WD 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.)
|
|
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.)
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|