All URIs are relative to http://localhost:59999, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
deleteSecureStorage() | DELETE /secure-storage/{key} | |
getSecureStorage() | GET /secure-storage/{key} | |
putSecureStorage() | PUT /secure-storage/{key} |
deleteSecureStorage($key)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureStorageApi(
// 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()
);
$key = 'key_example'; // string
try {
$apiInstance->deleteSecureStorage($key);
} catch (Exception $e) {
echo 'Exception when calling SecureStorageApi->deleteSecureStorage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
key | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSecureStorage($key): \OpenAPI\Client\Model\JsonDataContract
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureStorageApi(
// 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()
);
$key = 'key_example'; // string
try {
$result = $apiInstance->getSecureStorage($key);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecureStorageApi->getSecureStorage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
key | string |
\OpenAPI\Client\Model\JsonDataContract
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putSecureStorage($key, $json_data_contract): bool
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecureStorageApi(
// 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()
);
$key = 'key_example'; // string
$json_data_contract = new \OpenAPI\Client\Model\JsonDataContract(); // \OpenAPI\Client\Model\JsonDataContract
try {
$result = $apiInstance->putSecureStorage($key, $json_data_contract);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecureStorageApi->putSecureStorage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
key | string | ||
json_data_contract | \OpenAPI\Client\Model\JsonDataContract |
bool
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]