Interface \Prado\Security\IUserManager
IUserManager interface
Namespace: \Prado\SecurityIUserManager specifies the interface that must be implemented by a user manager class if it is to be used together with TAuthManager and TUser.
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
public
|
|
public
|
|
public
|
getUserFromCookie(THttpCookie $cookie) : TUser
Returns a user instance according to auth data stored in a cookie.
|
public
|
|
public
|
validateUser(string $username, string $password) : bool
Validates if the username and password are correct.
|
|