Skip to content

Latest commit

 

History

History

iota_client

affinidi_tdk_iota_client (EXPERIMENTAL)

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_iota_client: 1.0.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_iota_client:
    git:
      url: https://github.com/affinidi/affinidi-tdk.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_iota_client:
    path: /path/to/affinidi_tdk_iota_client

Getting Started

Please follow the installation procedure and then run the following:

import 'package:affinidi_tdk_iota_client/affinidi_tdk_iota_client.dart';


final api = AffinidiTdkIotaClient().getCallbackApi();
final CallbackInput callbackInput = ; // CallbackInput | CallbackRequestInput

try {
    final response = await api.iotOIDC4VPCallback(callbackInput);
    print(response);
} catch on DioException (e) {
    print("Exception when calling CallbackApi->iotOIDC4VPCallback: $e\n");
}

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

AwsSigV4

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

ApiKey

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

bearerAuth

  • Type: HTTP Bearer Token authentication (JWT)

ConsumerTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

UserTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

ProjectTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

HeritageTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

Author

[email protected]