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

Public Member Functions

 loadUser ($username)
 
 saveUser ($username, $data)
 

Member Function Documentation

ESET\SecureAuthentication\SDK\IUserStorage::loadUser (   $username)

Load the two-factor authentication data for a user

(Automatically called by SDK)

Parameters
$usernamestring
Returns
string

Implemented in ESET\SecureAuthentication\SDK\Examples\InMemoryUserStorage.

ESET\SecureAuthentication\SDK\IUserStorage::saveUser (   $username,
  $data 
)

Save the two-factor authentication data for a user

(Automatically called by SDK)

Parameters
$usernamestring
$datastring
Returns
void

Implemented in ESET\SecureAuthentication\SDK\Examples\InMemoryUserStorage.