ESET Secure Authentication SDK documentation
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
ESET\SecureAuthentication\SDK\ITwoFactorAuthenticator Interface Reference
Inheritance diagram for ESET\SecureAuthentication\SDK\ITwoFactorAuthenticator:
ESET\SecureAuthentication\SDK\TwoFactorAuthenticator

Public Member Functions

 getUser ($username)
 
 createUser ($username, $mobileNumber)
 
 preAuthenticate ($username)
 
 authenticate ($username, $otp)
 

Member Function Documentation

ESET\SecureAuthentication\SDK\ITwoFactorAuthenticator::authenticate (   $username,
  $otp 
)
Parameters
$usernamestring
$otpstring
Returns
AuthenticateResult

Implemented in ESET\SecureAuthentication\SDK\TwoFactorAuthenticator.

ESET\SecureAuthentication\SDK\ITwoFactorAuthenticator::createUser (   $username,
  $mobileNumber 
)
Parameters
$usernamestring
$mobileNumberstring
Returns
TwoFactorUser

Implemented in ESET\SecureAuthentication\SDK\TwoFactorAuthenticator.

ESET\SecureAuthentication\SDK\ITwoFactorAuthenticator::getUser (   $username)
Parameters
$usernamestring
Returns
TwoFactorUser

Implemented in ESET\SecureAuthentication\SDK\TwoFactorAuthenticator.

ESET\SecureAuthentication\SDK\ITwoFactorAuthenticator::preAuthenticate (   $username)
Parameters
$usernamestring
Returns
PreAuthenticateResult

Implemented in ESET\SecureAuthentication\SDK\TwoFactorAuthenticator.