Prado\Security\TDbUserManager::getUserFromCookie PHP Method

getUserFromCookie() public method

Returns a user instance according to auth data stored in a cookie.
Since: 3.1.1
public getUserFromCookie ( $cookie ) : TDbUser
return TDbUser the user instance generated based on the cookie auth data, null if the cookie does not have valid auth data.
    public function getUserFromCookie($cookie)
    {
        return $this->_userFactory->createUserFromCookie($cookie);
    }