All URIs are relative to https://panel.sendcloud.sc/api/v3.
| Method | HTTP request | Description |
|---|---|---|
| scPublicV3ScpGetUserAuthMetadata() | GET /user/auth/metadata | Retrieve metadata associated with the authentication method |
scPublicV3ScpGetUserAuthMetadata(): \Toppy\Sendcloud\V3\Model\ScPublicV3ScpGetUserAuthMetadata200Response
Retrieve metadata associated with the authentication method
Retrieve information about the metadata associated with the authentication method used in the request
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: HTTPBasicAuth
$config = Toppy\Sendcloud\V3\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Toppy\Sendcloud\V3\Api\UserApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->scPublicV3ScpGetUserAuthMetadata();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UserApi->scPublicV3ScpGetUserAuthMetadata: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\Toppy\Sendcloud\V3\Model\ScPublicV3ScpGetUserAuthMetadata200Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]