public function setToken($token, $expires = 7200)
    {
        $this->getCache()->save($this->getCacheKey(), $token, $expires - 1500);

        return $this;
    }
public function setToken($token, $expires = 7200)
    {
        $this->getCache()->save($this->getCacheKey(), $token, $expires - 1500);

        return $this;
    }
public function setToken ( $ token , $ expires = 7200 ) { $ this -> getCache ( ) -> save ( $ this -> getCacheKey ( ) , $ token , $ expires - 1500 ) ; return $ this ; }
Set custom token.

@param string $token
@param int    $expires

@return $this
Set custom token .