@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
15 lines (14 loc) • 481 B
TypeScript
import Identifier from '../Identifier';
import IdentifierDocument from '../IdentifierDocument';
/**
* Interface defining methods and properties to
* be implemented by specific resolver methods.
*/
export default interface IResolver {
/**
* Returns the identifier document for the specified
* identifier.
* @param identifier for which to return the identifier document.
*/
resolve(identifier: Identifier): Promise<IdentifierDocument>;
}