public function get_samlp_metadata_link($client_id = null)
    {
        return sprintf(
            'https://%s/samlp/metadata/%s',
            $this->domain,
            empty($client_id) ? $this->client_id : $client_id
        );
    }