src/Api/Client.php
public function setRefreshToken($refresh_token)
    {
        $config = SiteConfig::current_site_config();
        $config->HailRefreshToken = $refresh_token;
        $this->refresh_token = $refresh_token;
        $config->write();
    }
public function setRefreshToken($refresh_token)
    {
        $config = SiteConfig::current_site_config();
        $config->HailRefreshToken = $refresh_token;
        $this->refresh_token = $refresh_token;
        $config->write();
    }
public function setRefreshToken ( $ refresh_token ) { $ config = SiteConfig :: current_site_config ( ) ; $ config -> HailRefreshToken = $ refresh_token ; $ this -> refresh_token = $ refresh_token ; $ config -> write ( ) ; }
Set Hail API OAuth refresh token in current SiteConfig
@param string $refresh_token
@throws
Set Hail API OAuth refresh token in current SiteConfig