Skip to main content

IotaService

Project description

affinidi_tdk_iota_client

Affinidi IotaService Structure

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

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import affinidi_tdk_iota_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import affinidi_tdk_iota_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import affinidi_tdk_iota_client
from affinidi_tdk_iota_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://apse1.api.affinidi.io/ais
# See configuration.py for a list of all supported configuration parameters.
configuration = affinidi_tdk_iota_client.Configuration(
    host = "https://apse1.api.affinidi.io/ais"
)



# Enter a context with an instance of the API client
with affinidi_tdk_iota_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = affinidi_tdk_iota_client.CallbackApi(api_client)
    callback_input = affinidi_tdk_iota_client.CallbackInput() # CallbackInput | CallbackRequestInput

    try:
        # Processes the callback for OIDC4VP flows
        api_response = api_instance.iot_oidc4_vp_callback(callback_input)
        print("The response of CallbackApi->iot_oidc4_vp_callback:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling CallbackApi->iot_oidc4_vp_callback: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://apse1.api.affinidi.io/ais

Class Method HTTP request Description
CallbackApi iot_oidc4_vp_callback POST /v1/callback Processes the callback for OIDC4VP flows
ConfigurationsApi create_iota_configuration POST /v1/configurations
ConfigurationsApi delete_iota_configuration_by_id DELETE /v1/configurations/{configurationId}
ConfigurationsApi get_iota_configuration_by_id GET /v1/configurations/{configurationId}
ConfigurationsApi get_iota_configuration_meta_data GET /v1/projects/{projectId}/configurations/{configurationId}/metadata
ConfigurationsApi list_iota_configurations GET /v1/configurations
ConfigurationsApi update_iota_configuration_by_id PATCH /v1/configurations/{configurationId}
DefaultApi list_logged_consents GET /v1/logged-consents
IotaApi aws_exchange_credentials POST /v1/aws-exchange-credentials
IotaApi aws_exchange_credentials_project_token POST /v1/aws-exchange-credentials/project-token
PexQueryApi create_pex_query POST /v1/configurations/{configurationId}/pex-queries
PexQueryApi delete_pex_query_by_id DELETE /v1/configurations/{configurationId}/pex-queries/{queryId}
PexQueryApi get_pex_query_by_id GET /v1/configurations/{configurationId}/pex-queries/{queryId}
PexQueryApi list_pex_queries GET /v1/configurations/{configurationId}/pex-queries
PexQueryApi update_pex_query_by_id 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: Bearer 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

info@affinidi.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

affinidi_tdk_iota_client-1.16.0.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

affinidi_tdk_iota_client-1.16.0-py3-none-any.whl (78.4 kB view details)

Uploaded Python 3

File details

Details for the file affinidi_tdk_iota_client-1.16.0.tar.gz.

File metadata

  • Download URL: affinidi_tdk_iota_client-1.16.0.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for affinidi_tdk_iota_client-1.16.0.tar.gz
Algorithm Hash digest
SHA256 775ff47ebd9e5eeb4d757b41318a7402bceea4fe0ac590ad4345371523070cf3
MD5 0cf2a7d003e3b07f50387e6e7f6ca751
BLAKE2b-256 978ecbdf2e83208786ce08b48858c15072ce41ea781f79b124744f5ead47ff7b

See more details on using hashes here.

File details

Details for the file affinidi_tdk_iota_client-1.16.0-py3-none-any.whl.

File metadata

File hashes

Hashes for affinidi_tdk_iota_client-1.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb06cdc6181f4f6ce97959fc83e6394bfb048773ca3de4e9b4925b9210256891
MD5 5e8a7fbc6f4375f6b70b4f9eba682183
BLAKE2b-256 da2f33fb06c9a60c0a8c8312c3ed5c3f0276db13d8ff4edd2b0f85ebd8a9da2b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page