You are here

public function Authentication::get_samlp_metadata_link in Auth0 Single Sign On 8.2

Build and return a SAMLP metadata link.

@link https://auth0.com/docs/connections/enterprise/samlp

Parameters

null|string $client_id Client ID to use, null to use the value set during class initialization.:

Return value

string

File

vendor/auth0/auth0-php/src/API/Authentication.php, line 182

Class

Authentication
Class Authentication

Namespace

Auth0\SDK\API

Code

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);
}