e-CryptIt Engine Xojo Plugin |
|
Einhugur_2FA_TOTP Class
Class for 2FA TOTP two factor authentication.
The class can be in role of the client side or server side of the two factor authentication.
Object
Einhugur_2FA_TOTP
class Einhugur_2FA_TOTP
Constructors
Einhugur_2FA_TOTP | Private constructor. It is not possible to construct instance of this class, the class only has shared methods. |
Methods
shared GenerateQRCodeContent | Generates content for QRCode from given secret key. This variation will generate the standard most compatible setup. |
shared GenerateQRCodeContent | Generates content for QRCode from given secret key. This variation will generate non standard customise setup. |
shared GenerateSecret | Generates secret key for two factor authentication. |
shared GenerateValue | Generates 6 digit value from given secret key and current time and also returns how many seconds are remaining of the 30 second window. This variation generates value for standard implementation. |
shared GenerateValue | Generates 6 or 8 digit value from given secret key and current time and also returns how many seconds are remaining of the 30 second window. This variation generates value for customised implementation where you can choose algorithm, digits and time. |
shared Validate | Validates value against given secret key and current time. This variation validates value for standard implementation. |
shared Validate | Validates value against given secret key and current time. This variation validates value for non standard standard implementation where you can choose algorithm, digits and seconds. |
Enumerations
SecretKeySizes | Enum that has Key size constants for |
Algorithms | Algorithm enum to use for making advanced setup for two factor authentication. |
Digits | Digits enum to use for making advanced setup for two factor authentication. |
Constants
Version = 16.12 | |
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS