msal
Version:
Microsoft Authentication Library for js
23 lines • 868 B
JavaScript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessTokenKey = void 0;
var CryptoUtils_1 = require("../utils/CryptoUtils");
var UrlUtils_1 = require("../utils/UrlUtils");
/**
* @hidden
*/
var AccessTokenKey = /** @class */ (function () {
function AccessTokenKey(authority, clientId, scopes, uid, utid) {
this.authority = UrlUtils_1.UrlUtils.CanonicalizeUri(authority);
this.clientId = clientId;
this.scopes = scopes;
this.homeAccountIdentifier = CryptoUtils_1.CryptoUtils.base64Encode(uid) + "." + CryptoUtils_1.CryptoUtils.base64Encode(utid);
}
return AccessTokenKey;
}());
exports.AccessTokenKey = AccessTokenKey;
//# sourceMappingURL=AccessTokenKey.js.map
;