Example #1
0
 public function testGetStoreTokenCookieName()
 {
     $this->assertEquals('ConohaAPIToken', $this->cookie->getStoreTokenCookieName());
 }
Example #2
0
 /**
  * Set token.
  *
  * @param string $token
  * @return null
  */
 public function setToken($token)
 {
     $cookie = new Cookies($this->client);
     $cookie->saveToken($token);
     $this->client->setToken($token);
 }