Connectionless Exchanges

Introduction

Forming an enduring ConnectionConnection - A connection is a peer-to-peer relationship using a pairwise key exchange. It is the most secure way to offer, issue, and verify credential. The process of establishing connections is described in Aries RFC 0023: DID Exchange Protocol 1.0. is not always desirable. In a world where verifiable credentials are ubiquitous and connections are mandatory for interacting, individuals will end up managing thousands of keys for thousands of different parties - concert venues, public transit, bouncers, IoT devices, etc. In these and other cases where multiple interactions over time is unlikely, an ephemeral relationship would be appropriate.

Connectionless credentials or verifications refers to the ability to create a credential offer or request a verification without needing to establish a persistent pairwise connection first. While DIDCommDIDComm - DIDComm is the technical protocol used when two agents or wallets communicate. Trinsic's pricing model is based on DIDComm usage; we measure both incoming and outgoing DIDComm messages from any agent we're hosting on your behalf and charge for that usage based on the plan you've subscribed to. is still used, the connection made is ephemeral, meaning it disappears after a few minutes. This results in better performance (3x faster than issuing a credential via connection) and lower friction for the end-user (fewer buttons to press on their device).

Connectionless exchange is done via URLs, which can be sent through text, email, or encoded into a QR Code.

Connectionless Credentials

Trinsic Studio

In Trinsic Studio:

  1. Select the credential you'd like to issue and click "Issue"
  2. Input the credential values
  3. Click on "Generate QR Code/Link" or "Email"

Using the Credentials API

Use the POST /credentials endpoint and omit the connectionId from the parameters to create a connectionless credential offer. More information can be found in the API Reference.

Connectionless Verifications

Trinsic Studio

In Trinsic Studio:

  1. Select the Verification Template you'd like to use and click "Request"
  2. Click on "Generate QR Code/Link" or "Email"

Using the Credentials API

Use the PUT /verifications/policy/{policyId} endpoint or the POST /verifications/policy endpoint to create a connectionless verification. More information can be found in the API Reference.


Did this page help you?