Discuss this help topic in SecureBlackbox Forum

TElHOTPServer.IsPasswordValid

TElHOTPServer     


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


Checks one-time password validity.

Declaration

[C#/Java]
    bool IsPasswordValid(string UserId, string Password);
    bool IsPasswordValid(TElHOTPUser User, string Password);

[VB.NET]
    Function IsPasswordValid(ByVal UserId As String, ByVal Password As String) As Boolean
    Function IsPasswordValid(ByVal User As TElHOTPUser, ByVal Password As String) As Boolean

[Pascal]
    function IsPasswordValid(UserId: string; Password: string): boolean;
    function IsPasswordValid(User: TElHOTPUser; Password: string): boolean;

[C++]
    bool IsPasswordValid(const std::string &UserId, const std::string &Password);
    bool IsPasswordValid(TElHOTPUser &User, const std::string &Password);
    bool IsPasswordValid(TElHOTPUser *User, const std::string &Password);

[PHP]
    bool IsPasswordValid(string $UserId, string $Password)
    bool IsPasswordValid(TElHOTPUser $User, string $Password)

Parameters

  • UserId - contains user's ID.
  • Password - the one-time password provided by the user.
  • User - the object containing user info.

Return value

    Returns True if the one-time pasword is valid, and False otherwise.

Description

    Use this method to check the validity of the one-time pasword provided by user.

Discuss this help topic in SecureBlackbox Forum