Public Member Functions | |
getStore () | |
setStore (array $store) | |
loadUser ($username) | |
saveUser ($username, $data) | |
ESET\SecureAuthentication\SDK\Examples\InMemoryUserStorage::getStore | ( | ) |
Get the array storing user data
ESET\SecureAuthentication\SDK\Examples\InMemoryUserStorage::loadUser | ( | $username | ) |
Load a user from storage (automatically called by SDK)
$username | string |
Implements ESET\SecureAuthentication\SDK\IUserStorage.
ESET\SecureAuthentication\SDK\Examples\InMemoryUserStorage::saveUser | ( | $username, | |
$data | |||
) |
Save a user to storage (automatically called by SDK)
$username | string |
$data | string |
Implements ESET\SecureAuthentication\SDK\IUserStorage.
ESET\SecureAuthentication\SDK\Examples\InMemoryUserStorage::setStore | ( | array | $store | ) |
Set the array storing user data
array | $store |