All URIs are relative to http://syncope-vm.apache.org:9080/syncope/rest
Method | HTTP request | Description |
---|---|---|
delete1 | DELETE /saml2sp/identityProviders/{key} | Deletes the SAML 2.0 Identity Provider with matching entityID. |
getActionsClasses1 | GET /saml2sp/identityProviders/actionsClasses | Returns the list of available SAML2IdPActions implementations. |
importFromMetadata | POST /saml2sp/identityProviders | Imports the SAML 2.0 Identity Provider definitions available in the provided XML metadata. |
list25 | GET /saml2sp/identityProviders | Returns a list of all defined SAML 2.0 Identity Providers. |
read25 | GET /saml2sp/identityProviders/{key} | Returns the SAML 2.0 Identity Provider with matching entityID, if available. |
update1 | PUT /saml2sp/identityProviders/{key} | Updates the SAML 2.0 Identity Provider with matching entityID. |
delete1($key, $xSyncopeDomain)
Deletes the SAML 2.0 Identity Provider with matching entityID.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\SAML2IdPApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$key = 'key_example'; // string | SAML 2.0 Identity Provider's entityID
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->delete1($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling SAML2IdPApi->delete1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | SAML 2.0 Identity Provider's entityID | |
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getActionsClasses1($xSyncopeDomain)
Returns the list of available SAML2IdPActions implementations.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\SAML2IdPApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->getActionsClasses1($xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling SAML2IdPApi->getActionsClasses1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
importFromMetadata($xSyncopeDomain, $uNKNOWNBASETYPE)
Imports the SAML 2.0 Identity Provider definitions available in the provided XML metadata.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\SAML2IdPApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$xSyncopeDomain = 'Master'; // string | XML metadata
$uNKNOWNBASETYPE = new \OpenEuropa\SyncopePhpClient\Model\UNKNOWN_BASE_TYPE(); // \OpenEuropa\SyncopePhpClient\Model\UNKNOWN_BASE_TYPE |
try {
$apiInstance->importFromMetadata($xSyncopeDomain, $uNKNOWNBASETYPE);
} catch (Exception $e) {
echo 'Exception when calling SAML2IdPApi->importFromMetadata: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | XML metadata | [default to 'Master'] |
uNKNOWNBASETYPE | \OpenEuropa\SyncopePhpClient\Model\UNKNOWN_BASE_TYPE |
void (empty response body)
- Content-Type: application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list25($xSyncopeDomain)
Returns a list of all defined SAML 2.0 Identity Providers.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\SAML2IdPApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->list25($xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling SAML2IdPApi->list25: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read25($key, $xSyncopeDomain)
Returns the SAML 2.0 Identity Provider with matching entityID, if available.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\SAML2IdPApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$key = 'key_example'; // string | SAML 2.0 Identity Provider's entityID
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->read25($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling SAML2IdPApi->read25: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | SAML 2.0 Identity Provider's entityID | |
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update1($key, $xSyncopeDomain, $sAML2IdPTO)
Updates the SAML 2.0 Identity Provider with matching entityID.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\SAML2IdPApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$key = 'key_example'; // string | IdP's key
$xSyncopeDomain = 'Master'; // string | SAML 2.0 Identity Provider's entityID
$sAML2IdPTO = new \OpenEuropa\SyncopePhpClient\Model\SAML2IdPTO(); // \OpenEuropa\SyncopePhpClient\Model\SAML2IdPTO |
try {
$apiInstance->update1($key, $xSyncopeDomain, $sAML2IdPTO);
} catch (Exception $e) {
echo 'Exception when calling SAML2IdPApi->update1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | IdP's key | |
xSyncopeDomain | string | SAML 2.0 Identity Provider's entityID | [default to 'Master'] |
sAML2IdPTO | \OpenEuropa\SyncopePhpClient\Model\SAML2IdPTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]