@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
20 lines (16 loc) • 747 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
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>;
}