public function get_wsfed_link($client_id = null, array $params = [])
    {
        return sprintf(
            'https://%s/wsfed/%s?%s',
            $this->domain,
            empty($client_id) ? $this->client_id : $client_id,
            Psr7\build_query($params)
        );
    }