public function UrlBuildersTest::testThatSamlMetadataLinkIsBuiltProperly in Auth0 Single Sign On 8.2
File
- vendor/
auth0/ auth0-php/ tests/ API/ Authentication/ UrlBuildersTest.php, line 131
Class
Namespace
Auth0\Tests\API\AuthenticationCode
public function testThatSamlMetadataLinkIsBuiltProperly() {
$api = new Authentication('test-domain.auth0.com', 'test-client-id-1');
$this
->assertEquals('https://test-domain.auth0.com/samlp/metadata/test-client-id-1', $api
->get_samlp_metadata_link());
$this
->assertEquals('https://test-domain.auth0.com/samlp/metadata/test-client-id-2', $api
->get_samlp_metadata_link('test-client-id-2'));
}