Click or drag to resize

OneTimePasswordManagerGenerateGoogleAuthenticatorOtp Method

Generates a one-time password using the Google Authenticator algorithm. The current system time is fed to the algorithm.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 8.13.13.27522 (14.03.2022)
Syntax
C#
public static PsrGoogleAuthenticatorResult GenerateGoogleAuthenticatorOtp(
	string secret
)

Parameters

secret
Type: SystemString
The secret in base32 encoding

Return Value

Type: PsrGoogleAuthenticatorResult
See Also