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: 9.3.1.33994 (05.02.2026)+877276ecd19b420b1689117d76424351f3a6cb2b
Syntax
C#
public static PsrGoogleAuthenticatorResult GenerateGoogleAuthenticatorOtp(
	string secret
)

Parameters

secret
Type: SystemString
The secret in base32 encoding

Return Value

Type: PsrGoogleAuthenticatorResult
See Also