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.2.4.33163 (18.08.2025)+dec6f51c484240b8abaa8be3c442061ed610820b
Syntax
C#
public static PsrGoogleAuthenticatorResult GenerateGoogleAuthenticatorOtp(
	string secret
)

Parameters

secret
Type: SystemString
The secret in base32 encoding

Return Value

Type: PsrGoogleAuthenticatorResult
See Also