All URIs are relative to http://syncope-vm.apache.org:9080/syncope/rest
Method | HTTP request | Description |
---|---|---|
create | POST /implementations/{type}/{key} | Creates a new implementation. |
delete1 | DELETE /implementations/{type}/{key} | Deletes the implementation matching the given key and type. |
list10 | GET /implementations/{type} | Returns a list of all implementations of the given type. |
read13 | GET /implementations/{type}/{key} | Returns implementation with matching type and key. |
update | PUT /implementations/{type}/{key} | Updates an existing implementation. |
create($type, $key, $xSyncopeDomain, $implementationTO)
Creates a new implementation.
<?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\ImplementationsApi(
// 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
);
$type = 'type_example'; // string | Implementation's type
$key = 'key_example'; // string | Implementation's key
$xSyncopeDomain = 'Master'; // string |
$implementationTO = new \OpenEuropa\SyncopePhpClient\Model\ImplementationTO(); // \OpenEuropa\SyncopePhpClient\Model\ImplementationTO |
try {
$apiInstance->create($type, $key, $xSyncopeDomain, $implementationTO);
} catch (Exception $e) {
echo 'Exception when calling ImplementationsApi->create: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | Implementation's type | |
key | string | Implementation's key | |
xSyncopeDomain | string | [default to 'Master'] | |
implementationTO | \OpenEuropa\SyncopePhpClient\Model\ImplementationTO |
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]
delete1($type, $key, $xSyncopeDomain)
Deletes the implementation matching the given key and type.
<?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\ImplementationsApi(
// 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
);
$type = 'type_example'; // string | implementation type
$key = 'key_example'; // string | key for implementation to be deleted
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->delete1($type, $key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ImplementationsApi->delete1: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | implementation type | |
key | string | key for implementation to be deleted | |
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]
list10($type, $xSyncopeDomain)
Returns a list of all implementations of the given type.
<?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\ImplementationsApi(
// 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
);
$type = 'type_example'; // string | implementation type
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->list10($type, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ImplementationsApi->list10: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | implementation type | |
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]
read13($type, $key, $xSyncopeDomain)
Returns implementation with matching type and key.
<?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\ImplementationsApi(
// 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
);
$type = 'type_example'; // string | implementation type
$key = 'key_example'; // string | key of implementation to be read
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->read13($type, $key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling ImplementationsApi->read13: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | implementation type | |
key | string | key of implementation to be read | |
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]
update($type, $key, $xSyncopeDomain, $implementationTO)
Updates an existing implementation.
<?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\ImplementationsApi(
// 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
);
$type = 'type_example'; // string | Implementation's type
$key = 'key_example'; // string | Implementation's key
$xSyncopeDomain = 'Master'; // string |
$implementationTO = new \OpenEuropa\SyncopePhpClient\Model\ImplementationTO(); // \OpenEuropa\SyncopePhpClient\Model\ImplementationTO |
try {
$apiInstance->update($type, $key, $xSyncopeDomain, $implementationTO);
} catch (Exception $e) {
echo 'Exception when calling ImplementationsApi->update: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | Implementation's type | |
key | string | Implementation's key | |
xSyncopeDomain | string | [default to 'Master'] | |
implementationTO | \OpenEuropa\SyncopePhpClient\Model\ImplementationTO |
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]