Setter to allow the setting of the Authentication Key
public setAuthKey ( string $token ) | ||
$token | string | Authentication key, this can be retrieve from the 'My Account' section of the Cloudflare account |
public function testSetAuthKey() { $api = new Api(); $api->setAuthKey('Auth Key'); $this->assertEquals('Auth Key', $api->auth_key); }