Discuss this help topic in SecureBlackbox Forum

TElTOTPClient.GetPassword

TElTOTPClient     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Generates a one-time password.

Declaration

[C#]
    string GetPassword();
    string GetPassword(DateTime Time);

[VB.NET]
    Function GetPassword() As String
    Function GetPassword(ByVal Time As DateTime) As String

[Pascal]
    function GetPassword(): string;
    function GetPassword(Time: TDateTime): string;

[C++]
    void GetPassword(std::string &OutResult);
    void GetPassword(int64_t Time, std::string &OutResult);

[PHP]
    string GetPassword()
    string GetPassword(DateTime $Time)

[Java]
    String getPassword(Date Time);
    String getPassword();

Parameters

  • Time - time moment (in UTC) for which the password is needed. If omitted, the password will be generated for the current moment.

Return value

    Returns the newly generated one-time pasword.

Description

    Call this method to generate a one-time password for the given time moment.

Discuss this help topic in SecureBlackbox Forum