library/Garp/Auth.php
public function store($data, $method = 'db') {
        $token = $this->createToken(serialize($data));
        $this->_store->userData = $data;
        $this->_store->method = $method;
        $this->_store->token = $token;
        return $this;
    }
public function store($data, $method = 'db') {
        $token = $this->createToken(serialize($data));
        $this->_store->userData = $data;
        $this->_store->method = $method;
        $this->_store->token = $token;
        return $this;
    }
public function store ( $ data , $ method = 'db' ) { $ token = $ this -> createToken ( serialize ( $ data ) ) ; $ this -> _store -> userData = $ data ; $ this -> _store -> method = $ method ; $ this -> _store -> token = $ token ; return $ this ; }
Store user data in session
@param Mixed $data The user data
@param String $method The method used to login
@return Void
Store user data in session