public function login()
    {
        if (!$this->authenticate())
            return false;

        if($this->_identity->errorCode===RemoteUserIdentity::ERROR_NONE)
		{
            Yii::app()->user->logout();
			return Yii::app()->user->login($this->_identity,3600*24);
		}
		else
			return false;

    }
public function login()
    {
        if (!$this->authenticate())
            return false;

        if($this->_identity->errorCode===RemoteUserIdentity::ERROR_NONE)
		{
            Yii::app()->user->logout();
			return Yii::app()->user->login($this->_identity,3600*24);
		}
		else
			return false;

    }
public function login ( ) { if ( ! $ this -> authenticate ( ) ) return false ; if ( $ this -> _identity -> errorCode === RemoteUserIdentity :: ERROR_NONE ) { Yii :: app ( ) -> user -> logout ( ) ; return Yii :: app ( ) -> user -> login ( $ this -> _identity , 3600 * 24 ) ; } else return false ; }
Logins the user in using their Remote user information
@return boolean
Logins the user in using their Remote user information