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.6.33415 (22.09.2025)+55d4baaf8f17ebe942fa8931c5994288899c2371
Syntaxpublic static PsrGoogleAuthenticatorResult GenerateGoogleAuthenticatorOtp(
string secret
)
Parameters
- secret
- Type: SystemString
The secret in base32 encoding
Return Value
Type:
PsrGoogleAuthenticatorResult
See Also