For more information, please visit https://www.affinidi.com.
PHP 7.4 and later. Should also work with PHP 8.0.
To install the bindings via Composer, run:
composer require affinidi-tdk/affinidi-tdk-phpDownload the files and include autoload.php:
<?php
require_once('/path/to/iota-client/vendor/autoload.php');Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new AffinidiTdk\Clients\IotaClient\Api\CallbackApi(
// 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()
);
$callback_input = new \AffinidiTdk\Clients\IotaClient\Model\CallbackInput(); // \AffinidiTdk\Clients\IotaClient\Model\CallbackInput | CallbackRequestInput
try {
$result = $apiInstance->iotOIDC4VPCallback($callback_input);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CallbackApi->iotOIDC4VPCallback: ', $e->getMessage(), PHP_EOL;
}All URIs are relative to https://apse1.api.affinidi.io/ais
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CallbackApi | iotOIDC4VPCallback | POST /v1/callback | |
| ConfigurationsApi | createIotaConfiguration | POST /v1/configurations | |
| ConfigurationsApi | deleteIotaConfigurationById | DELETE /v1/configurations/{configurationId} | |
| ConfigurationsApi | getIotaConfigurationById | GET /v1/configurations/{configurationId} | |
| ConfigurationsApi | getIotaConfigurationMetaData | GET /v1/projects/{projectId}/configurations/{configurationId}/metadata | |
| ConfigurationsApi | listIotaConfigurations | GET /v1/configurations | |
| ConfigurationsApi | updateIotaConfigurationById | PATCH /v1/configurations/{configurationId} | |
| DcqlQueryApi | createDcqlQuery | POST /v1/configurations/{configurationId}/dcql-queries | |
| DcqlQueryApi | deleteDcqlQueryById | DELETE /v1/configurations/{configurationId}/dcql-queries/{queryId} | |
| DcqlQueryApi | getDcqlQueryById | GET /v1/configurations/{configurationId}/dcql-queries/{queryId} | |
| DcqlQueryApi | listDcqlQueries | GET /v1/configurations/{configurationId}/dcql-queries | |
| DcqlQueryApi | updateDcqlQueryById | PATCH /v1/configurations/{configurationId}/dcql-queries/{queryId} | |
| DefaultApi | listLoggedConsents | GET /v1/logged-consents | |
| IotaApi | awsExchangeCredentials | POST /v1/aws-exchange-credentials | |
| IotaApi | awsExchangeCredentialsProjectToken | POST /v1/aws-exchange-credentials/project-token | |
| IotaApi | fetchIotaVpResponse | POST /v1/fetch-iota-response | |
| IotaApi | initiateDataSharingRequest | POST /v1/initiate-data-sharing-request | |
| IotaApi | iotaExchangeCredentials | POST /v1/exchange-credentials | |
| PexQueryApi | createPexQuery | POST /v1/configurations/{configurationId}/pex-queries | |
| PexQueryApi | deletePexQueries | POST /v1/configurations/{configurationId}/delete-queries | |
| PexQueryApi | deletePexQueryById | DELETE /v1/configurations/{configurationId}/pex-queries/{queryId} | |
| PexQueryApi | getPexQueryById | GET /v1/configurations/{configurationId}/pex-queries/{queryId} | |
| PexQueryApi | listPexQueries | GET /v1/configurations/{configurationId}/pex-queries | |
| PexQueryApi | savePexQueries | POST /v1/configurations/{configurationId}/save-queries | |
| PexQueryApi | updatePexQueryById | PATCH /v1/configurations/{configurationId}/pex-queries/{queryId} |
- AlreadyExistsError
- AwsExchangeCredentials
- AwsExchangeCredentialsOK
- AwsExchangeCredentialsProjectToken
- AwsExchangeCredentialsProjectTokenOK
- AwsExchangeCredentialsProjectTokenOKCredentials
- CallbackInput
- CallbackResponseOK
- ConsentDto
- CorsAwsExchangeCredentialsOK
- CorsAwsExchangeCredentialsProjectTokenOK
- CorsFetchIotaVpResponseOK
- CorsInitiateDataSharingRequestOK
- CorsIotOidc4vpcallbackOK
- CorsIotaExchangeCredentialsOK
- CreateDcqlQueryInput
- CreateIotaConfigurationInput
- CreatePexQueryInput
- DcqlQueryDto
- DeletePexQueriesInput
- FetchIOTAVPResponseInput
- FetchIOTAVPResponseOK
- GetIotaConfigurationMetaDataOK
- InitiateDataSharingRequestInput
- InitiateDataSharingRequestOK
- InitiateDataSharingRequestOKData
- InvalidParameterError
- InvalidParameterErrorDetailsInner
- IotaConfigurationDto
- IotaConfigurationDtoClientMetadata
- IotaExchangeCredentials
- IotaExchangeCredentialsOK
- IotaExchangeCredentialsOKCredentials
- ListConfigurationOK
- ListDcqlQueriesOK
- ListLoggedConsentsOK
- ListPexQueriesOK
- MessagePublishingError
- NotFoundError
- OperationForbiddenError
- PexQueryDto
- PrepareRequest
- PrepareRequestCreated
- PrepareRequestCreatedData
- ResourceLimitExceededError
- SavePexQueriesUpdateInput
- SavePexQueriesUpdateInputQueriesInner
- UpdateConfigurationByIdInput
- UpdateConfigurationByIdOK
- UpdateDcqlQueryInput
- UpdatePexQueryInput
- VPTokenValidationError
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
- Type: API key
- API key parameter name: x-api-key
- Location: HTTP header
- Type: Bearer authentication (JWT)
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
To run the tests, use:
composer install
vendor/bin/phpunitThis PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0.0- Generator version:
7.13.0
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen