@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
13 lines (12 loc) • 394 B
TypeScript
import ICredential from './ICredential';
/**
* Interface defining common properties and
* methods of a credential.
*/
export default interface IDataHandler {
/**
* Process a verifiedCredential and exchange with a self-issued Credential.
* @param inputCredential Credential to be exchanged.
*/
process(inputCredential: ICredential): Promise<ICredential>;
}