Skip to content

Latest commit

 

History

History
173 lines (113 loc) · 4.15 KB

SecureStorageApi.md

File metadata and controls

173 lines (113 loc) · 4.15 KB

OpenAPI\Client\SecureStorageApi

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()

deleteSecureStorage($key)

Example

<?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;
}

Parameters

Name Type Description Notes
key string

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getSecureStorage()

getSecureStorage($key): \OpenAPI\Client\Model\JsonDataContract

Example

<?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;
}

Parameters

Name Type Description Notes
key string

Return type

\OpenAPI\Client\Model\JsonDataContract

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

putSecureStorage()

putSecureStorage($key, $json_data_contract): bool

Example

<?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;
}

Parameters

Name Type Description Notes
key string
json_data_contract \OpenAPI\Client\Model\JsonDataContract

Return type

bool

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]