@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
27 lines • 1.08 kB
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Implementation of an OpenID Connect
* self-issued id token.
* @implements ICredential
*/
class VerifiedCredential {
/**
* Constructs a new instance of a verified
* credential for the specified identifier.
* @param issuedBy the specified identifier.
* @param issuedTo the specified identifier.
* @param issuedAt date and time.
*/
constructor(issuedBy, issuedTo, issuedAt) {
this.issuedBy = issuedBy;
this.issuedTo = issuedTo;
this.issuedAt = issuedAt;
}
}
exports.VerifiedCredential = VerifiedCredential;
//# sourceMappingURL=VerifiedCredential.js.map