src/Api/Client.php
public function setAccessToken($access_token)
    {
        $this->access_token = $access_token;
        $config = SiteConfig::current_site_config();
        $config->HailAccessToken = $access_token;
        $config->write();
    }
public function setAccessToken($access_token)
    {
        $this->access_token = $access_token;
        $config = SiteConfig::current_site_config();
        $config->HailAccessToken = $access_token;
        $config->write();
    }
public function setAccessToken ( $ access_token ) { $ this -> access_token = $ access_token ; $ config = SiteConfig :: current_site_config ( ) ; $ config -> HailAccessToken = $ access_token ; $ config -> write ( ) ; }
Set Hail API OAuth token in the current SiteConfig

@throws
Set Hail API OAuth token in the current SiteConfig