You are here

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

Build and return a SAMLP 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.:

string $connection Connection parameter to add.:

Return value

string

File

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

Class

Authentication
Class Authentication

Namespace

Auth0\SDK\API

Code

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