Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Builder DSL for creating DefaultUniversalResolver instances.

Functions

Link copied to clipboard

Extension functions for DidMethod to provide fluent DSL.

Link copied to clipboard
suspend fun Did.resolveOrDefault(resolver: DidResolver, default: DidDocument): DidDocument

Resolves this DID and returns the document, or the default value.

Link copied to clipboard
suspend fun Did.resolveOrNull(resolver: DidResolver): DidDocument?

Resolves this DID and returns the document, or null if it could not be resolved.

Resolves a DID and returns the document, or null if it could not be resolved.

Link copied to clipboard
suspend fun Did.resolveOrThrow(resolver: DidResolver): DidDocument

Resolves this DID and returns the document, or throws if not found.

Resolves a DID and returns the document, or throws if not found.

Link copied to clipboard

Resolves this DID using the provided resolver.

inline suspend fun Did.resolveWith(resolver: DidResolver, block: (DidDocument) -> Unit): DidResolutionResult

Resolves this DID and executes the block if successful.

Link copied to clipboard

Creates a DefaultUniversalResolver using a builder DSL.