DIDDiscovery class
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
This class adds support for discovering DIDs.
This API may change without a BREAKING CHANGE notice.
Signature:
export declare class DIDDiscovery implements IAgentPlugin
Implements: IAgentPlugin
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | (BETA) Constructs a new instance of the DIDDiscovery class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
methods | readonly | IDIDDiscovery | (BETA) |
providers | readonly | Array<AbstractDidDiscoveryProvider> | (BETA) |
schema | readonly | { components: { schemas: { IDIDDiscoveryDiscoverDidArgs: { type: string; properties: { query: { type: string; description: string; }; options: { type: string; description: string; }; }; required: string[]; description: string; }; IDIDDiscoveryDiscoverDidResult: { type: string; properties: { query: { type: string; description: string; }; options: { type: string; description: string; }; results: { type: string; items: { $ref: string; }; description: string; }; errors: { type: string; additionalProperties: { type: string; }; description: string; }; }; required: string[]; description: string; }; IDIDDiscoveryProviderResult: { type: string; properties: { provider: { type: string; description: string; }; matches: { type: string; items: { $ref: string; }; description: string; }; }; required: string[]; description: string; }; IDIDDiscoverMatch: { type: string; properties: { did: { type: string; description: string; }; metaData: { type: string; description: string; }; }; required: string[]; description: string; }; }; methods: { discoverDid: { description: string; arguments: { $ref: string; }; returnType: { $ref: string; }; }; }; }; } | (BETA) |
Methods
Method | Modifiers | Description |
---|---|---|
discoverDid(args, context) | (BETA) Queries data providers and returns DIDs with metadata |