Skip to content

Latest commit

 

History

History

iota_client

affinidi_tdk_iota_client

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

Dart 2.12 or later

Installation & Usage

Github

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  affinidi_tdk_iota_client:
    git: https://github.com/affinidi.com/affinidi-tdk.git

Local

To use the package in your local drive, add the following dependency to your pubspec.yaml

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

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:affinidi_tdk_iota_client/api.dart';


final api_instance = CallbackApi();
final callbackInput = CallbackInput(); // CallbackInput | CallbackRequestInput

try {
    final result = api_instance.iotOIDC4VPCallback(callbackInput);
    print(result);
} catch (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 Processes the callback for OIDC4VP flows
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 deletes pex 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 authentication

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

info@affinidi.com