protected function retrieveUserByToken($identifier, $token)
    {
        $user = $this->retrieveUserByIdentifier($identifier);

        if (!empty($user) && $user->getRememberToken() === $token) {
            return $user;
        }

        return null;
    }
protected function retrieveUserByToken($identifier, $token)
    {
        $user = $this->retrieveUserByIdentifier($identifier);

        if (!empty($user) && $user->getRememberToken() === $token) {
            return $user;
        }

        return null;
    }
protected function retrieveUserByToken ( $ identifier , $ token ) { $ user = $ this -> retrieveUserByIdentifier ( $ identifier ) ; if ( ! empty ( $ user ) && $ user -> getRememberToken ( ) === $ token ) { return $ user ; } return null ; }
Retrieve a user by his identifier & remember token.

@param string $identifier
@param string $token

@return AuthenticableInterface|\Phalcon\Mvc\Model
Retrieve a user by his identifier & remember token .