UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

15 lines (14 loc) 468 B
import IDataHandler from '../../src/credentials/IDataHandler'; import ICredential from '../../src/credentials/ICredential'; /** * Implementation of a data handler for testing. * @class * @implements IDataHandler */ export default class TestDataHandler implements IDataHandler { /** * Test method that simply switches issuedBy and issuedAt fields. * @inheritdoc */ process(inputCredential: ICredential): Promise<ICredential>; }