ResolutionFallbackStrategy
Resolution Fallback Strategy.
Tries multiple resolvers in order until one succeeds. Useful for redundancy and high availability.
Example Usage:
val fallbackStrategy = ResolutionFallbackStrategy(
resolvers = listOf(
primaryResolver,
secondaryResolver,
universalResolver
)
)Content copied to clipboard
Functions
Link copied to clipboard
Resolves a DID to a DID resolution result.
Resolves with DID Resolution 1.0 §4.1 options, forwarded unchanged to every resolver this strategy tries in turn — same try-until-success/deactivated precedence as the single-argument resolve.
Link copied to clipboard
Resolves a DID and returns the document, or null if it could not be resolved.
Link copied to clipboard
Resolves a DID and returns the document, or throws if not found.