msal
Version:
Microsoft Authentication Library for js
18 lines • 689 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CryptoUtils } from "./utils/CryptoUtils";
import { UrlUtils } from "./utils/UrlUtils";
/**
* @hidden
*/
var AccessTokenKey = /** @class */ (function () {
function AccessTokenKey(authority, clientId, scopes, uid, utid) {
this.authority = UrlUtils.CanonicalizeUri(authority);
this.clientId = clientId;
this.scopes = scopes;
this.homeAccountIdentifier = CryptoUtils.base64Encode(uid) + "." + CryptoUtils.base64Encode(utid);
}
return AccessTokenKey;
}());
export { AccessTokenKey };
//# sourceMappingURL=AccessTokenKey.js.map