UNPKG

msal-iframe-ok

Version:

Fork to allow silent renewal in iFrame of Microsoft Authentication Library for js

19 lines 736 B
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", { value: true }); var Utils_1 = require("./Utils"); /** * @hidden */ var AccessTokenKey = /** @class */ (function () { function AccessTokenKey(authority, clientId, scopes, uid, utid) { this.authority = Utils_1.Utils.CanonicalizeUri(authority); this.clientId = clientId; this.scopes = scopes; this.homeAccountIdentifier = Utils_1.Utils.base64EncodeStringUrlSafe(uid) + "." + Utils_1.Utils.base64EncodeStringUrlSafe(utid); } return AccessTokenKey; }()); exports.AccessTokenKey = AccessTokenKey; //# sourceMappingURL=AccessTokenKey.js.map