@okta/okta-auth-js 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +27 -5
- package/cjs/browser/fingerprint.js +1 -2
- package/cjs/browser/fingerprint.js.map +1 -1
- package/cjs/core/ServiceManager/browser.js +13 -6
- package/cjs/core/ServiceManager/browser.js.map +1 -1
- package/cjs/core/types/Service.js.map +1 -1
- package/cjs/core/types/api.js.map +1 -1
- package/cjs/fetch/fetchRequest.js +1 -2
- package/cjs/fetch/fetchRequest.js.map +1 -1
- package/cjs/http/OktaUserAgent.js +2 -2
- package/cjs/http/request.js +11 -5
- package/cjs/http/request.js.map +1 -1
- package/cjs/idx/IdxTransactionManager.js +1 -1
- package/cjs/idx/IdxTransactionManager.js.map +1 -1
- package/cjs/idx/authenticator/Authenticator.js.map +1 -1
- package/cjs/idx/authenticator/OktaPassword.js +17 -6
- package/cjs/idx/authenticator/OktaPassword.js.map +1 -1
- package/cjs/idx/authenticator/VerificationCodeAuthenticator.js +1 -2
- package/cjs/idx/authenticator/VerificationCodeAuthenticator.js.map +1 -1
- package/cjs/idx/authenticator/getAuthenticator.js +3 -4
- package/cjs/idx/authenticator/getAuthenticator.js.map +1 -1
- package/cjs/idx/idxState/index.js +1 -1
- package/cjs/idx/idxState/index.js.map +1 -1
- package/cjs/idx/idxState/v1/generateIdxAction.js +2 -2
- package/cjs/idx/idxState/v1/generateIdxAction.js.map +1 -1
- package/cjs/idx/idxState/v1/idxResponseParser.js +2 -4
- package/cjs/idx/idxState/v1/idxResponseParser.js.map +1 -1
- package/cjs/idx/idxState/v1/makeIdxState.js +1 -2
- package/cjs/idx/idxState/v1/makeIdxState.js.map +1 -1
- package/cjs/idx/interact.js +1 -2
- package/cjs/idx/interact.js.map +1 -1
- package/cjs/idx/poll.js +3 -5
- package/cjs/idx/poll.js.map +1 -1
- package/cjs/idx/proceed.js +1 -1
- package/cjs/idx/proceed.js.map +1 -1
- package/cjs/idx/remediators/Base/AuthenticatorData.js +1 -1
- package/cjs/idx/remediators/Base/AuthenticatorData.js.map +1 -1
- package/cjs/idx/remediators/Base/Remediator.js +5 -7
- package/cjs/idx/remediators/Base/Remediator.js.map +1 -1
- package/cjs/idx/remediators/Base/SelectAuthenticator.js +3 -4
- package/cjs/idx/remediators/Base/SelectAuthenticator.js.map +1 -1
- package/cjs/idx/remediators/Base/VerifyAuthenticator.js +1 -2
- package/cjs/idx/remediators/Base/VerifyAuthenticator.js.map +1 -1
- package/cjs/idx/remediators/EnrollPoll.js +1 -1
- package/cjs/idx/remediators/EnrollPoll.js.map +1 -1
- package/cjs/idx/remediators/SelectAuthenticatorAuthenticate.js +2 -3
- package/cjs/idx/remediators/SelectAuthenticatorAuthenticate.js.map +1 -1
- package/cjs/idx/remediators/SelectAuthenticatorUnlockAccount.js +2 -3
- package/cjs/idx/remediators/SelectAuthenticatorUnlockAccount.js.map +1 -1
- package/cjs/idx/remediators/SelectEnrollmentChannel.js +1 -2
- package/cjs/idx/remediators/SelectEnrollmentChannel.js.map +1 -1
- package/cjs/idx/remediators/util.js +2 -4
- package/cjs/idx/remediators/util.js.map +1 -1
- package/cjs/idx/run.js +6 -10
- package/cjs/idx/run.js.map +1 -1
- package/cjs/idx/transactionMeta.js +1 -1
- package/cjs/idx/transactionMeta.js.map +1 -1
- package/cjs/idx/types/idx-js.js.map +1 -1
- package/cjs/idx/util.js +3 -6
- package/cjs/idx/util.js.map +1 -1
- package/cjs/myaccount/emailApi.js +1 -1
- package/cjs/myaccount/emailApi.js.map +1 -1
- package/cjs/myaccount/passwordApi.js +2 -2
- package/cjs/myaccount/passwordApi.js.map +1 -1
- package/cjs/myaccount/phoneApi.js +1 -1
- package/cjs/myaccount/phoneApi.js.map +1 -1
- package/cjs/myaccount/profileApi.js +2 -2
- package/cjs/myaccount/profileApi.js.map +1 -1
- package/cjs/myaccount/request.js +1 -1
- package/cjs/myaccount/request.js.map +1 -1
- package/cjs/oidc/TokenManager.js +18 -3
- package/cjs/oidc/TokenManager.js.map +1 -1
- package/cjs/oidc/TransactionManager.js +1 -1
- package/cjs/oidc/TransactionManager.js.map +1 -1
- package/cjs/oidc/getToken.js +1 -2
- package/cjs/oidc/getToken.js.map +1 -1
- package/cjs/oidc/introspect.js +3 -5
- package/cjs/oidc/introspect.js.map +1 -1
- package/cjs/oidc/mixin/index.js +18 -3
- package/cjs/oidc/mixin/index.js.map +1 -1
- package/cjs/oidc/options/OAuthOptionsConstructor.js +1 -1
- package/cjs/oidc/options/OAuthOptionsConstructor.js.map +1 -1
- package/cjs/oidc/renewTokens.js +1 -2
- package/cjs/oidc/renewTokens.js.map +1 -1
- package/cjs/oidc/types/api.js.map +1 -1
- package/cjs/oidc/util/errors.js +2 -2
- package/cjs/oidc/util/errors.js.map +1 -1
- package/cjs/oidc/util/validateClaims.js +1 -1
- package/cjs/oidc/util/validateClaims.js.map +1 -1
- package/cjs/oidc/verifyToken.js +1 -1
- package/cjs/oidc/verifyToken.js.map +1 -1
- package/cjs/services/LeaderElectionService.js +3 -6
- package/cjs/services/LeaderElectionService.js.map +1 -1
- package/cjs/services/RenewOnTabActivationService.js +64 -0
- package/cjs/services/RenewOnTabActivationService.js.map +1 -0
- package/cjs/services/SyncStorageService.js +6 -11
- package/cjs/services/SyncStorageService.js.map +1 -1
- package/cjs/services/index.js +11 -0
- package/cjs/services/index.js.map +1 -1
- package/dist/okta-auth-js.authn.min.analyzer.html +2 -2
- package/dist/okta-auth-js.authn.min.js +1 -1
- package/dist/okta-auth-js.authn.min.js.map +1 -1
- package/dist/okta-auth-js.core.min.analyzer.html +2 -2
- package/dist/okta-auth-js.core.min.js +1 -1
- package/dist/okta-auth-js.core.min.js.map +1 -1
- package/dist/okta-auth-js.idx.min.analyzer.html +2 -2
- package/dist/okta-auth-js.idx.min.js +1 -1
- package/dist/okta-auth-js.idx.min.js.map +1 -1
- package/dist/okta-auth-js.min.analyzer.html +2 -2
- package/dist/okta-auth-js.min.js +1 -1
- package/dist/okta-auth-js.min.js.map +1 -1
- package/dist/okta-auth-js.myaccount.min.analyzer.html +2 -2
- package/dist/okta-auth-js.myaccount.min.js +1 -1
- package/dist/okta-auth-js.myaccount.min.js.map +1 -1
- package/esm/browser/core/ServiceManager/browser.js +9 -2
- package/esm/browser/core/ServiceManager/browser.js.map +1 -1
- package/esm/browser/http/OktaUserAgent.js +2 -2
- package/esm/browser/http/request.js +7 -1
- package/esm/browser/http/request.js.map +1 -1
- package/esm/browser/idx/authenticator/Authenticator.js.map +1 -1
- package/esm/browser/idx/authenticator/OktaPassword.js +17 -4
- package/esm/browser/idx/authenticator/OktaPassword.js.map +1 -1
- package/esm/browser/idx/types/idx-js.js.map +1 -1
- package/esm/browser/oidc/TokenManager.js +12 -1
- package/esm/browser/oidc/TokenManager.js.map +1 -1
- package/esm/browser/oidc/introspect.js +1 -1
- package/esm/browser/oidc/introspect.js.map +1 -1
- package/esm/browser/oidc/mixin/index.js +16 -0
- package/esm/browser/oidc/mixin/index.js.map +1 -1
- package/esm/browser/oidc/options/OAuthOptionsConstructor.js +1 -1
- package/esm/browser/oidc/options/OAuthOptionsConstructor.js.map +1 -1
- package/esm/browser/oidc/util/validateClaims.js +2 -1
- package/esm/browser/oidc/util/validateClaims.js.map +1 -1
- package/esm/browser/package.json +1 -1
- package/esm/browser/services/RenewOnTabActivationService.js +67 -0
- package/esm/browser/services/RenewOnTabActivationService.js.map +1 -0
- package/esm/node/http/OktaUserAgent.js +2 -2
- package/esm/node/http/request.js +7 -1
- package/esm/node/http/request.js.map +1 -1
- package/esm/node/idx/authenticator/Authenticator.js.map +1 -1
- package/esm/node/idx/authenticator/OktaPassword.js +17 -4
- package/esm/node/idx/authenticator/OktaPassword.js.map +1 -1
- package/esm/node/idx/types/idx-js.js.map +1 -1
- package/esm/node/oidc/TokenManager.js +12 -1
- package/esm/node/oidc/TokenManager.js.map +1 -1
- package/esm/node/oidc/introspect.js +1 -1
- package/esm/node/oidc/introspect.js.map +1 -1
- package/esm/node/oidc/mixin/index.js +16 -0
- package/esm/node/oidc/mixin/index.js.map +1 -1
- package/esm/node/oidc/options/OAuthOptionsConstructor.js +1 -1
- package/esm/node/oidc/options/OAuthOptionsConstructor.js.map +1 -1
- package/esm/node/oidc/util/validateClaims.js +2 -1
- package/esm/node/oidc/util/validateClaims.js.map +1 -1
- package/esm/node/package.json +1 -1
- package/package.json +4 -6
- package/types/lib/core/types/Service.d.ts +7 -1
- package/types/lib/core/types/api.d.ts +1 -0
- package/types/lib/idx/authenticator/Authenticator.d.ts +1 -1
- package/types/lib/idx/authenticator/OktaPassword.d.ts +2 -1
- package/types/lib/idx/types/idx-js.d.ts +1 -0
- package/types/lib/oidc/types/api.d.ts +1 -0
- package/types/lib/services/RenewOnTabActivationService.d.ts +16 -0
- package/types/lib/services/index.d.ts +1 -0
- package/umd/authn.js +1 -1
- package/umd/authn.js.map +1 -1
- package/umd/core.js +1 -1
- package/umd/core.js.map +1 -1
- package/umd/default.js +1 -1
- package/umd/default.js.map +1 -1
- package/umd/idx.js +1 -1
- package/umd/idx.js.map +1 -1
- package/umd/myaccount.js +1 -1
- package/umd/myaccount.js.map +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.RenewOnTabActivationService = void 0;
|
|
5
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
6
|
+
var _features = require("../features");
|
|
7
|
+
const getNow = () => Math.floor(Date.now() / 1000);
|
|
8
|
+
class RenewOnTabActivationService {
|
|
9
|
+
constructor(tokenManager, options = {}) {
|
|
10
|
+
(0, _defineProperty2.default)(this, "started", false);
|
|
11
|
+
(0, _defineProperty2.default)(this, "lastHidden", -1);
|
|
12
|
+
this.tokenManager = tokenManager;
|
|
13
|
+
this.options = options;
|
|
14
|
+
// store this context for event handler
|
|
15
|
+
this.onPageVisbilityChange = this._onPageVisbilityChange.bind(this);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// do not use directly, use `onPageVisbilityChange` (with binded this context)
|
|
19
|
+
/* eslint complexity: [0, 10] */
|
|
20
|
+
_onPageVisbilityChange() {
|
|
21
|
+
if (document.hidden) {
|
|
22
|
+
this.lastHidden = getNow();
|
|
23
|
+
}
|
|
24
|
+
// renew will only attempt if tab was inactive for duration
|
|
25
|
+
else if (this.lastHidden > 0 && getNow() - this.lastHidden >= this.options.tabInactivityDuration) {
|
|
26
|
+
const {
|
|
27
|
+
accessToken,
|
|
28
|
+
idToken
|
|
29
|
+
} = this.tokenManager.getTokensSync();
|
|
30
|
+
if (!!accessToken && this.tokenManager.hasExpired(accessToken)) {
|
|
31
|
+
const key = this.tokenManager.getStorageKeyByType('accessToken');
|
|
32
|
+
// Renew errors will emit an "error" event
|
|
33
|
+
this.tokenManager.renew(key).catch(() => {});
|
|
34
|
+
} else if (!!idToken && this.tokenManager.hasExpired(idToken)) {
|
|
35
|
+
const key = this.tokenManager.getStorageKeyByType('idToken');
|
|
36
|
+
// Renew errors will emit an "error" event
|
|
37
|
+
this.tokenManager.renew(key).catch(() => {});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
async start() {
|
|
42
|
+
if (this.canStart() && !!document) {
|
|
43
|
+
document.addEventListener('visibilitychange', this.onPageVisbilityChange);
|
|
44
|
+
this.started = true;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
async stop() {
|
|
48
|
+
if (document) {
|
|
49
|
+
document.removeEventListener('visibilitychange', this.onPageVisbilityChange);
|
|
50
|
+
this.started = false;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
canStart() {
|
|
54
|
+
return (0, _features.isBrowser)() && !!this.options.autoRenew && !!this.options.renewOnTabActivation && !this.started;
|
|
55
|
+
}
|
|
56
|
+
requiresLeadership() {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
isStarted() {
|
|
60
|
+
return this.started;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.RenewOnTabActivationService = RenewOnTabActivationService;
|
|
64
|
+
//# sourceMappingURL=RenewOnTabActivationService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenewOnTabActivationService.js","names":["getNow","Math","floor","Date","now","RenewOnTabActivationService","constructor","tokenManager","options","onPageVisbilityChange","_onPageVisbilityChange","bind","document","hidden","lastHidden","tabInactivityDuration","accessToken","idToken","getTokensSync","hasExpired","key","getStorageKeyByType","renew","catch","start","canStart","addEventListener","started","stop","removeEventListener","isBrowser","autoRenew","renewOnTabActivation","requiresLeadership","isStarted"],"sources":["../../../lib/services/RenewOnTabActivationService.ts"],"sourcesContent":["import { ServiceInterface, ServiceManagerOptions } from '../core/types';\nimport { TokenManagerInterface } from '../oidc/types';\nimport { isBrowser } from '../features';\n\nconst getNow = () => Math.floor(Date.now() / 1000);\n\nexport class RenewOnTabActivationService implements ServiceInterface {\n private tokenManager: TokenManagerInterface;\n private started = false;\n private options: ServiceManagerOptions;\n private lastHidden = -1;\n onPageVisbilityChange: () => void;\n\n constructor(tokenManager: TokenManagerInterface, options: ServiceManagerOptions = {}) {\n this.tokenManager = tokenManager;\n this.options = options;\n // store this context for event handler\n this.onPageVisbilityChange = this._onPageVisbilityChange.bind(this);\n }\n\n // do not use directly, use `onPageVisbilityChange` (with binded this context)\n /* eslint complexity: [0, 10] */\n private _onPageVisbilityChange () {\n if (document.hidden) {\n this.lastHidden = getNow();\n }\n // renew will only attempt if tab was inactive for duration\n else if (this.lastHidden > 0 && (getNow() - this.lastHidden >= this.options.tabInactivityDuration!)) {\n const { accessToken, idToken } = this.tokenManager.getTokensSync();\n if (!!accessToken && this.tokenManager.hasExpired(accessToken)) {\n const key = this.tokenManager.getStorageKeyByType('accessToken');\n // Renew errors will emit an \"error\" event\n this.tokenManager.renew(key).catch(() => {});\n }\n else if (!!idToken && this.tokenManager.hasExpired(idToken)) {\n const key = this.tokenManager.getStorageKeyByType('idToken');\n // Renew errors will emit an \"error\" event\n this.tokenManager.renew(key).catch(() => {});\n }\n }\n }\n\n async start () {\n if (this.canStart() && !!document) {\n document.addEventListener('visibilitychange', this.onPageVisbilityChange);\n this.started = true;\n }\n }\n\n async stop () {\n if (document) {\n document.removeEventListener('visibilitychange', this.onPageVisbilityChange);\n this.started = false;\n }\n }\n\n canStart(): boolean {\n return isBrowser() &&\n !!this.options.autoRenew &&\n !!this.options.renewOnTabActivation &&\n !this.started;\n }\n\n requiresLeadership(): boolean {\n return false;\n }\n\n isStarted(): boolean {\n return this.started;\n }\n}\n"],"mappings":";;;;;AAEA;AAEA,MAAMA,MAAM,GAAG,MAAMC,IAAI,CAACC,KAAK,CAACC,IAAI,CAACC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE3C,MAAMC,2BAA2B,CAA6B;EAOnEC,WAAW,CAACC,YAAmC,EAAEC,OAA8B,GAAG,CAAC,CAAC,EAAE;IAAA,+CALpE,KAAK;IAAA,kDAEF,CAAC,CAAC;IAIrB,IAAI,CAACD,YAAY,GAAGA,YAAY;IAChC,IAAI,CAACC,OAAO,GAAGA,OAAO;IACtB;IACA,IAAI,CAACC,qBAAqB,GAAG,IAAI,CAACC,sBAAsB,CAACC,IAAI,CAAC,IAAI,CAAC;EACrE;;EAEA;EACA;EACQD,sBAAsB,GAAI;IAChC,IAAIE,QAAQ,CAACC,MAAM,EAAE;MACnB,IAAI,CAACC,UAAU,GAAGd,MAAM,EAAE;IAC5B;IACA;IAAA,KACK,IAAI,IAAI,CAACc,UAAU,GAAG,CAAC,IAAKd,MAAM,EAAE,GAAG,IAAI,CAACc,UAAU,IAAI,IAAI,CAACN,OAAO,CAACO,qBAAuB,EAAE;MACnG,MAAM;QAAEC,WAAW;QAAEC;MAAQ,CAAC,GAAG,IAAI,CAACV,YAAY,CAACW,aAAa,EAAE;MAClE,IAAI,CAAC,CAACF,WAA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;AAAC"}
|
|
@@ -62,45 +62,41 @@ class SyncStorageService {
|
|
|
62
62
|
}
|
|
63
63
|
async stop() {
|
|
64
64
|
if (this.started) {
|
|
65
|
-
var _this$channel, _this$channel2;
|
|
66
65
|
this.tokenManager.off(_types.EVENT_ADDED, this.onTokenAddedHandler);
|
|
67
66
|
this.tokenManager.off(_types.EVENT_REMOVED, this.onTokenRemovedHandler);
|
|
68
67
|
this.tokenManager.off(_types.EVENT_RENEWED, this.onTokenRenewedHandler);
|
|
69
68
|
this.tokenManager.off(_types.EVENT_SET_STORAGE, this.onSetStorageHandler);
|
|
70
|
-
|
|
71
|
-
await
|
|
69
|
+
this.channel?.removeEventListener('message', this.onSyncMessageHandler);
|
|
70
|
+
await this.channel?.close();
|
|
72
71
|
this.channel = undefined;
|
|
73
72
|
this.started = false;
|
|
74
73
|
}
|
|
75
74
|
}
|
|
76
75
|
onTokenAddedHandler(key, token) {
|
|
77
|
-
var _this$channel3;
|
|
78
76
|
if (!this.enablePostMessage) {
|
|
79
77
|
return;
|
|
80
78
|
}
|
|
81
|
-
|
|
79
|
+
this.channel?.postMessage({
|
|
82
80
|
type: _types.EVENT_ADDED,
|
|
83
81
|
key,
|
|
84
82
|
token
|
|
85
83
|
});
|
|
86
84
|
}
|
|
87
85
|
onTokenRemovedHandler(key, token) {
|
|
88
|
-
var _this$channel4;
|
|
89
86
|
if (!this.enablePostMessage) {
|
|
90
87
|
return;
|
|
91
88
|
}
|
|
92
|
-
|
|
89
|
+
this.channel?.postMessage({
|
|
93
90
|
type: _types.EVENT_REMOVED,
|
|
94
91
|
key,
|
|
95
92
|
token
|
|
96
93
|
});
|
|
97
94
|
}
|
|
98
95
|
onTokenRenewedHandler(key, token, oldToken) {
|
|
99
|
-
var _this$channel5;
|
|
100
96
|
if (!this.enablePostMessage) {
|
|
101
97
|
return;
|
|
102
98
|
}
|
|
103
|
-
|
|
99
|
+
this.channel?.postMessage({
|
|
104
100
|
type: _types.EVENT_RENEWED,
|
|
105
101
|
key,
|
|
106
102
|
token,
|
|
@@ -108,8 +104,7 @@ class SyncStorageService {
|
|
|
108
104
|
});
|
|
109
105
|
}
|
|
110
106
|
onSetStorageHandler(storage) {
|
|
111
|
-
|
|
112
|
-
(_this$channel6 = this.channel) === null || _this$channel6 === void 0 ? void 0 : _this$channel6.postMessage({
|
|
107
|
+
this.channel?.postMessage({
|
|
113
108
|
type: _types.EVENT_SET_STORAGE,
|
|
114
109
|
storage
|
|
115
110
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SyncStorageService.js","names":["SyncStorageService","constructor","tokenManager","options","onTokenAddedHandler","bind","onTokenRemovedHandler","onTokenRenewedHandler","onSetStorageHandler","onSyncMessageHandler","requiresLeadership","isStarted","started","canStart","syncStorage","isBrowser","start","syncChannelName","channel","BroadcastChannel","err","AuthSdkError","on","EVENT_ADDED","EVENT_REMOVED","EVENT_RENEWED","EVENT_SET_STORAGE","addEventListener","stop","off","removeEventListener","close","undefined","key","token","enablePostMessage","postMessage","type","oldToken","storage","msg","getStorage","setStorage","emitAdded","setExpireEventTimeout","clearExpireEventTimeout","emitRemoved","emitRenewed"],"sources":["../../../lib/services/SyncStorageService.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * \n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { BroadcastChannel } from 'broadcast-channel';\nimport { isBrowser } from '../features';\nimport {\n ServiceManagerOptions, ServiceInterface\n} from '../core/types';\nimport {\n Token, Tokens, \n EVENT_ADDED, EVENT_REMOVED, EVENT_RENEWED, EVENT_SET_STORAGE, TokenManagerInterface\n} from '../oidc/types';\nimport { AuthSdkError } from '../errors';\n\nexport type SyncMessage = {\n type: string;\n key?: string;\n token?: Token;\n oldToken?: Token;\n storage?: Tokens;\n};\nexport class SyncStorageService implements ServiceInterface {\n private tokenManager: TokenManagerInterface;\n private options: ServiceManagerOptions;\n private channel?: BroadcastChannel<SyncMessage>;\n private started = false;\n private enablePostMessage = true;\n\n constructor(tokenManager: TokenManagerInterface, options: ServiceManagerOptions = {}) {\n this.tokenManager = tokenManager;\n this.options = options;\n this.onTokenAddedHandler = this.onTokenAddedHandler.bind(this);\n this.onTokenRemovedHandler = this.onTokenRemovedHandler.bind(this);\n this.onTokenRenewedHandler = this.onTokenRenewedHandler.bind(this);\n this.onSetStorageHandler = this.onSetStorageHandler.bind(this);\n this.onSyncMessageHandler = this.onSyncMessageHandler.bind(this);\n }\n\n requiresLeadership() {\n return false;\n }\n\n isStarted() {\n return this.started;\n }\n\n canStart() {\n return !!this.options.syncStorage && isBrowser() && !this.started;\n }\n\n async start() {\n if (!this.canStart()) {\n return;\n }\n \n const { syncChannelName } = this.options;\n try {\n // BroadcastChannel throws if no supported method can be found\n this.channel = new BroadcastChannel(syncChannelName as string);\n } catch (err) {\n throw new AuthSdkError('SyncStorageService is not supported in current browser.');\n }\n\n this.tokenManager.on(EVENT_ADDED, this.onTokenAddedHandler);\n this.tokenManager.on(EVENT_REMOVED, this.onTokenRemovedHandler);\n this.tokenManager.on(EVENT_RENEWED, this.onTokenRenewedHandler);\n this.tokenManager.on(EVENT_SET_STORAGE, this.onSetStorageHandler);\n this.channel.addEventListener('message', this.onSyncMessageHandler);\n this.started = true;\n }\n\n async stop() {\n if (this.started) {\n this.tokenManager.off(EVENT_ADDED, this.onTokenAddedHandler);\n this.tokenManager.off(EVENT_REMOVED, this.onTokenRemovedHandler);\n this.tokenManager.off(EVENT_RENEWED, this.onTokenRenewedHandler);\n this.tokenManager.off(EVENT_SET_STORAGE, this.onSetStorageHandler);\n this.channel?.removeEventListener('message', this.onSyncMessageHandler);\n await this.channel?.close();\n this.channel = undefined;\n this.started = false;\n }\n }\n\n private onTokenAddedHandler(key: string, token: Token) {\n if (!this.enablePostMessage) {\n return;\n }\n this.channel?.postMessage({\n type: EVENT_ADDED,\n key,\n token\n });\n }\n\n private onTokenRemovedHandler(key: string, token: Token) {\n if (!this.enablePostMessage) {\n return;\n }\n this.channel?.postMessage({\n type: EVENT_REMOVED,\n key,\n token\n });\n }\n\n private onTokenRenewedHandler(key: string, token: Token, oldToken?: Token) {\n if (!this.enablePostMessage) {\n return;\n }\n this.channel?.postMessage({\n type: EVENT_RENEWED,\n key,\n token,\n oldToken\n });\n }\n\n private onSetStorageHandler(storage: Tokens) {\n this.channel?.postMessage({\n type: EVENT_SET_STORAGE,\n storage\n });\n }\n\n /* eslint-disable complexity */\n private onSyncMessageHandler(msg: SyncMessage) {\n // Notes:\n // 1. Using `enablePostMessage` flag here to prevent sync message loop.\n // If this flag is on, tokenManager event handlers do not post sync message.\n // 2. IE11 has known issue with synchronization of LocalStorage cross tabs.\n // One workaround is to set empty event handler for `window.onstorage`.\n // But it's not 100% working, sometimes you still get old value from LocalStorage.\n // Better approch is to explicitly udpate LocalStorage with `setStorage`.\n\n this.enablePostMessage = false;\n switch (msg.type) {\n case EVENT_SET_STORAGE:\n this.tokenManager.getStorage().setStorage(msg.storage);\n break;\n case EVENT_ADDED:\n this.tokenManager.emitAdded(msg.key!, msg.token!);\n this.tokenManager.setExpireEventTimeout(msg.key!, msg.token!);\n break;\n case EVENT_REMOVED:\n this.tokenManager.clearExpireEventTimeout(msg.key!);\n this.tokenManager.emitRemoved(msg.key!, msg.token!);\n break;\n case EVENT_RENEWED:\n this.tokenManager.emitRenewed(msg.key!, msg.token!, msg.oldToken);\n break;\n default:\n break;\n }\n this.enablePostMessage = true;\n }\n} "],"mappings":";;;;;AAYA;AACA;AAIA;AAIA;AArBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBO,MAAMA,kBAAk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AI,CAACtB,YAAY,CAAC2C,uBAAuB,CAACL,GAAG,CAACP,GAAG,CAAE;QACnD,IAAI,CAAC/B,YAAY,CAAC4C,WAAW,CAACN,GAAG,CAACP,GAAG,EAAGO,GAAG,CAACN,KAAK,CAAE;QACnD;MACF,KAAKT,oBAAa;QAChB,IAAI,CAACvB,YAAY,CAAC6C,WAAW,CAACP,GAAG,CAACP,GAAG,EAAGO,GAAG,CAACN,KAAK,EAAGM,GAAG,CAACF,QAAQ,CAAC;QACjE;MACF;QACE;IAAM;IAEV,IAAI,CAACH,iBAAiB,GAAG,IAAI;EAC/B;AACF;AAAC"}
|
|
1
|
+
{"version":3,"file":"SyncStorageService.js","names":["SyncStorageService","constructor","tokenManager","options","onTokenAddedHandler","bind","onTokenRemovedHandler","onTokenRenewedHandler","onSetStorageHandler","onSyncMessageHandler","requiresLeadership","isStarted","started","canStart","syncStorage","isBrowser","start","syncChannelName","channel","BroadcastChannel","err","AuthSdkError","on","EVENT_ADDED","EVENT_REMOVED","EVENT_RENEWED","EVENT_SET_STORAGE","addEventListener","stop","off","removeEventListener","close","undefined","key","token","enablePostMessage","postMessage","type","oldToken","storage","msg","getStorage","setStorage","emitAdded","setExpireEventTimeout","clearExpireEventTimeout","emitRemoved","emitRenewed"],"sources":["../../../lib/services/SyncStorageService.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * \n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { BroadcastChannel } from 'broadcast-channel';\nimport { isBrowser } from '../features';\nimport {\n ServiceManagerOptions, ServiceInterface\n} from '../core/types';\nimport {\n Token, Tokens, \n EVENT_ADDED, EVENT_REMOVED, EVENT_RENEWED, EVENT_SET_STORAGE, TokenManagerInterface\n} from '../oidc/types';\nimport { AuthSdkError } from '../errors';\n\nexport type SyncMessage = {\n type: string;\n key?: string;\n token?: Token;\n oldToken?: Token;\n storage?: Tokens;\n};\nexport class SyncStorageService implements ServiceInterface {\n private tokenManager: TokenManagerInterface;\n private options: ServiceManagerOptions;\n private channel?: BroadcastChannel<SyncMessage>;\n private started = false;\n private enablePostMessage = true;\n\n constructor(tokenManager: TokenManagerInterface, options: ServiceManagerOptions = {}) {\n this.tokenManager = tokenManager;\n this.options = options;\n this.onTokenAddedHandler = this.onTokenAddedHandler.bind(this);\n this.onTokenRemovedHandler = this.onTokenRemovedHandler.bind(this);\n this.onTokenRenewedHandler = this.onTokenRenewedHandler.bind(this);\n this.onSetStorageHandler = this.onSetStorageHandler.bind(this);\n this.onSyncMessageHandler = this.onSyncMessageHandler.bind(this);\n }\n\n requiresLeadership() {\n return false;\n }\n\n isStarted() {\n return this.started;\n }\n\n canStart() {\n return !!this.options.syncStorage && isBrowser() && !this.started;\n }\n\n async start() {\n if (!this.canStart()) {\n return;\n }\n \n const { syncChannelName } = this.options;\n try {\n // BroadcastChannel throws if no supported method can be found\n this.channel = new BroadcastChannel(syncChannelName as string);\n } catch (err) {\n throw new AuthSdkError('SyncStorageService is not supported in current browser.');\n }\n\n this.tokenManager.on(EVENT_ADDED, this.onTokenAddedHandler);\n this.tokenManager.on(EVENT_REMOVED, this.onTokenRemovedHandler);\n this.tokenManager.on(EVENT_RENEWED, this.onTokenRenewedHandler);\n this.tokenManager.on(EVENT_SET_STORAGE, this.onSetStorageHandler);\n this.channel.addEventListener('message', this.onSyncMessageHandler);\n this.started = true;\n }\n\n async stop() {\n if (this.started) {\n this.tokenManager.off(EVENT_ADDED, this.onTokenAddedHandler);\n this.tokenManager.off(EVENT_REMOVED, this.onTokenRemovedHandler);\n this.tokenManager.off(EVENT_RENEWED, this.onTokenRenewedHandler);\n this.tokenManager.off(EVENT_SET_STORAGE, this.onSetStorageHandler);\n this.channel?.removeEventListener('message', this.onSyncMessageHandler);\n await this.channel?.close();\n this.channel = undefined;\n this.started = false;\n }\n }\n\n private onTokenAddedHandler(key: string, token: Token) {\n if (!this.enablePostMessage) {\n return;\n }\n this.channel?.postMessage({\n type: EVENT_ADDED,\n key,\n token\n });\n }\n\n private onTokenRemovedHandler(key: string, token: Token) {\n if (!this.enablePostMessage) {\n return;\n }\n this.channel?.postMessage({\n type: EVENT_REMOVED,\n key,\n token\n });\n }\n\n private onTokenRenewedHandler(key: string, token: Token, oldToken?: Token) {\n if (!this.enablePostMessage) {\n return;\n }\n this.channel?.postMessage({\n type: EVENT_RENEWED,\n key,\n token,\n oldToken\n });\n }\n\n private onSetStorageHandler(storage: Tokens) {\n this.channel?.postMessage({\n type: EVENT_SET_STORAGE,\n storage\n });\n }\n\n /* eslint-disable complexity */\n private onSyncMessageHandler(msg: SyncMessage) {\n // Notes:\n // 1. Using `enablePostMessage` flag here to prevent sync message loop.\n // If this flag is on, tokenManager event handlers do not post sync message.\n // 2. IE11 has known issue with synchronization of LocalStorage cross tabs.\n // One workaround is to set empty event handler for `window.onstorage`.\n // But it's not 100% working, sometimes you still get old value from LocalStorage.\n // Better approch is to explicitly udpate LocalStorage with `setStorage`.\n\n this.enablePostMessage = false;\n switch (msg.type) {\n case EVENT_SET_STORAGE:\n this.tokenManager.getStorage().setStorage(msg.storage);\n break;\n case EVENT_ADDED:\n this.tokenManager.emitAdded(msg.key!, msg.token!);\n this.tokenManager.setExpireEventTimeout(msg.key!, msg.token!);\n break;\n case EVENT_REMOVED:\n this.tokenManager.clearExpireEventTimeout(msg.key!);\n this.tokenManager.emitRemoved(msg.key!, msg.token!);\n break;\n case EVENT_RENEWED:\n this.tokenManager.emitRenewed(msg.key!, msg.token!, msg.oldToken);\n break;\n default:\n break;\n }\n this.enablePostMessage = true;\n }\n} "],"mappings":";;;;;AAYA;AACA;AAIA;AAIA;AArBA;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AAY,CAAC2C,uBAAuB,CAACL,GAAG,CAACP,GAAG,CAAE;QACnD,IAAI,CAAC/B,YAAY,CAAC4C,WAAW,CAACN,GAAG,CAACP,GAAG,EAAGO,GAAG,CAACN,KAAK,CAAE;QACnD;MACF,KAAKT,oBAAa;QAChB,IAAI,CAACvB,YAAY,CAAC6C,WAAW,CAACP,GAAG,CAACP,GAAG,EAAGO,GAAG,CAACN,KAAK,EAAGM,GAAG,CAACF,QAAQ,CAAC;QACjE;MACF;QACE;IAAM;IAEV,IAAI,CAACH,iBAAiB,GAAG,IAAI;EAC/B;AACF;AAAC"}
|
package/cjs/services/index.js
CHANGED
|
@@ -33,4 +33,15 @@ Object.keys(_LeaderElectionService).forEach(function (key) {
|
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
|
+
var _RenewOnTabActivationService = require("./RenewOnTabActivationService");
|
|
37
|
+
Object.keys(_RenewOnTabActivationService).forEach(function (key) {
|
|
38
|
+
if (key === "default" || key === "__esModule") return;
|
|
39
|
+
if (key in exports && exports[key] === _RenewOnTabActivationService[key]) return;
|
|
40
|
+
Object.defineProperty(exports, key, {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () {
|
|
43
|
+
return _RenewOnTabActivationService[key];
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
});
|
|
36
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/services/index.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * \n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n\nexport * from './AutoRenewService';\nexport * from './SyncStorageService';\nexport * from './LeaderElectionService';\n"],"mappings":";;AAaA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/services/index.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * \n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n\nexport * from './AutoRenewService';\nexport * from './SyncStorageService';\nexport * from './LeaderElectionService';\nexport * from './RenewOnTabActivationService';\n"],"mappings":";;AAaA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8"/>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>@okta/okta-auth-js [
|
|
6
|
+
<title>@okta/okta-auth-js [23 Apr 2024 at 18:44]</title>
|
|
7
7
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7Uvkh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+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
|
|
8
8
|
|
|
9
9
|
<script>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<body>
|
|
32
32
|
<div id="app"></div>
|
|
33
33
|
<script>
|
|
34
|
-
window.chartData = [{"label":"okta-auth-js.authn.min.js","isAsset":true,"statSize":465015,"parsedSize":216188,"gzipSize":49274,"groups":[{"label":"lib","path":"./lib","statSize":352228,"groups":[{"label":"authn","path":"./lib/authn","statSize":20983,"groups":[{"id":97,"label":"AuthnTransactionImpl.ts","path":"./lib/authn/AuthnTransactionImpl.ts","statSize":2549,"parsedSize":1410,"gzipSize":492},{"id":9859,"label":"api.ts","path":"./lib/authn/api.ts","statSize":2330,"parsedSize":1143,"gzipSize":457},{"id":8248,"label":"factory.ts","path":"./lib/authn/factory.ts","statSize":843,"parsedSize":453,"gzipSize":228},{"id":3398,"label":"index.ts","path":"./lib/authn/index.ts","statSize":1005,"parsedSize":569,"gzipSize":223},{"id":3164,"label":"mixin.ts","path":"./lib/authn/mixin.ts","statSize":5890,"parsedSize":2327,"gzipSize":910},{"id":2576,"label":"types.ts","path":"./lib/authn/types.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"label":"util","path":"./lib/authn/util","statSize":8353,"groups":[{"id":6693,"label":"flattenEmbedded.ts","path":"./lib/authn/util/flattenEmbedded.ts","statSize":942,"parsedSize":472,"gzipSize":312},{"id":8657,"label":"link2fn.ts","path":"./lib/authn/util/link2fn.ts","statSize":3027,"parsedSize":1386,"gzipSize":689},{"id":9265,"label":"links2fns.ts","path":"./lib/authn/util/links2fns.ts","statSize":760,"parsedSize":337,"gzipSize":246},{"id":3395,"label":"poll.ts","path":"./lib/authn/util/poll.ts","statSize":3253,"parsedSize":1336,"gzipSize":684},{"id":1349,"label":"stateToken.ts","path":"./lib/authn/util/stateToken.ts","statSize":371,"parsedSize":196,"gzipSize":139}],"parsedSize":3727,"gzipSize":1493}],"parsedSize":9641,"gzipSize":3008},{"label":"base","path":"./lib/base","statSize":4550,"groups":[{"id":9893,"label":"factory.ts","path":"./lib/base/factory.ts","statSize":2781,"parsedSize":1206,"gzipSize":598},{"id":3306,"label":"index.ts","path":"./lib/base/index.ts","statSize":1015,"parsedSize":569,"gzipSize":221},{"id":5093,"label":"options.ts","path":"./lib/base/options.ts","statSize":741,"parsedSize":251,"gzipSize":187},{"id":6429,"label":"types.ts","path":"./lib/base/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":2038,"gzipSize":795},{"label":"browser","path":"./lib/browser","statSize":8017,"groups":[{"id":5407,"label":"browserStorage.ts","path":"./lib/browser/browserStorage.ts","statSize":6256,"parsedSize":3041,"gzipSize":1133},{"id":8719,"label":"fingerprint.ts","path":"./lib/browser/fingerprint.ts","statSize":1761,"parsedSize":1016,"gzipSize":566}],"parsedSize":4057,"gzipSize":1567},{"id":6244,"label":"clock.ts","path":"./lib/clock.ts","statSize":1050,"parsedSize":408,"gzipSize":254},{"id":1971,"label":"constants.ts","path":"./lib/constants.ts","statSize":2594,"parsedSize":1272,"gzipSize":459},{"label":"core","path":"./lib/core","statSize":38726,"groups":[{"id":1018,"label":"AuthStateManager.ts","path":"./lib/core/AuthStateManager.ts","statSize":9938,"parsedSize":4168,"gzipSize":1540},{"label":"ServiceManager","path":"./lib/core/ServiceManager","statSize":13066,"groups":[{"id":2204,"label":"browser.ts","path":"./lib/core/ServiceManager/browser.ts","statSize":12730,"parsedSize":5767,"gzipSize":1987},{"id":6599,"label":"index.ts","path":"./lib/core/ServiceManager/index.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":5976,"gzipSize":2060},{"id":1578,"label":"factory.ts","path":"./lib/core/factory.ts","statSize":808,"parsedSize":283,"gzipSize":204},{"id":3961,"label":"index.ts","path":"./lib/core/index.ts","statSize":2433,"parsedSize":1289,"gzipSize":284},{"id":8386,"label":"mixin.ts","path":"./lib/core/mixin.ts","statSize":8630,"parsedSize":3210,"gzipSize":1092},{"id":9133,"label":"options.ts","path":"./lib/core/options.ts","statSize":2599,"parsedSize":982,"gzipSize":469},{"id":2647,"label":"storage.ts","path":"./lib/core/storage.ts","statSize":210,"parsedSize":122,"gzipSize":117},{"label":"types","path":"./lib/core/types","statSize":1042,"groups":[{"id":2293,"label":"AuthState.ts","path":"./lib/core/types/AuthState.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":5675,"label":"Service.ts","path":"./lib/core/types/Service.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":6655,"label":"api.ts","path":"./lib/core/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8553,"label":"index.ts","path":"./lib/core/types/index.ts","statSize":1015,"parsedSize":569,"gzipSize":223}],"parsedSize":605,"gzipSize":227}],"parsedSize":16635,"gzipSize":4277},{"label":"crypto","path":"./lib/crypto","statSize":5447,"groups":[{"id":7987,"label":"base64.ts","path":"./lib/crypto/base64.ts","statSize":1756,"parsedSize":945,"gzipSize":458},{"id":7594,"label":"browser.ts","path":"./lib/crypto/browser.ts","statSize":285,"parsedSize":189,"gzipSize":141},{"id":9718,"label":"index.ts","path":"./lib/crypto/index.ts","statSize":1711,"parsedSize":926,"gzipSize":251},{"id":5698,"label":"oidcHash.ts","path":"./lib/crypto/oidcHash.ts","statSize":519,"parsedSize":283,"gzipSize":230},{"id":6332,"label":"types.ts","path":"./lib/crypto/types.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":3154,"label":"verifyToken.ts","path":"./lib/crypto/verifyToken.ts","statSize":839,"parsedSize":410,"gzipSize":296},{"id":1,"label":"webcrypto.ts","path":"./lib/crypto/webcrypto.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":2974,"gzipSize":993},{"label":"errors","path":"./lib/errors","statSize":14827,"groups":[{"id":3983,"label":"AuthApiError.ts","path":"./lib/errors/AuthApiError.ts","statSize":3201,"parsedSize":1333,"gzipSize":541},{"id":6573,"label":"AuthPollStopError.ts","path":"./lib/errors/AuthPollStopError.ts","statSize":1983,"parsedSize":778,"gzipSize":411},{"id":9123,"label":"AuthSdkError.ts","path":"./lib/errors/AuthSdkError.ts","statSize":2979,"parsedSize":1224,"gzipSize":521},{"id":401,"label":"CustomError.ts","path":"./lib/errors/CustomError.ts","statSize":2214,"parsedSize":876,"gzipSize":443},{"id":2886,"label":"OAuthError.ts","path":"./lib/errors/OAuthError.ts","statSize":2720,"parsedSize":1079,"gzipSize":479},{"id":5728,"label":"index.ts","path":"./lib/errors/index.ts","statSize":1729,"parsedSize":900,"gzipSize":355},{"id":1243,"label":"types.ts","path":"./lib/errors/types.ts","statSize":1,"parsedSize":12,"gzipSize":32}],"parsedSize":6202,"gzipSize":1116},{"label":"exports","path":"./lib/exports","statSize":8211,"groups":[{"id":5140,"label":"authn.ts","path":"./lib/exports/authn.ts","statSize":3070,"parsedSize":1382,"gzipSize":625},{"label":"cdn","path":"./lib/exports/cdn","statSize":168,"groups":[{"id":593,"label":"authn.ts","path":"./lib/exports/cdn/authn.ts","statSize":168,"parsedSize":101,"gzipSize":105}],"parsedSize":101,"gzipSize":105},{"id":6736,"label":"common.ts","path":"./lib/exports/common.ts","statSize":4973,"parsedSize":2670,"gzipSize":612}],"parsedSize":4153,"gzipSize":1040},{"id":415,"label":"features.ts","path":"./lib/features.ts","statSize":1836,"parsedSize":935,"gzipSize":447},{"label":"fetch","path":"./lib/fetch","statSize":4580,"groups":[{"id":4447,"label":"fetchRequest.ts","path":"./lib/fetch/fetchRequest.ts","statSize":4580,"parsedSize":2383,"gzipSize":1232}],"parsedSize":2383,"gzipSize":1232},{"label":"http","path":"./lib/http","statSize":18946,"groups":[{"id":287,"label":"OktaUserAgent.ts","path":"./lib/http/OktaUserAgent.ts","statSize":1534,"parsedSize":736,"gzipSize":384},{"id":2281,"label":"headers.ts","path":"./lib/http/headers.ts","statSize":248,"parsedSize":126,"gzipSize":102},{"id":4777,"label":"index.ts","path":"./lib/http/index.ts","statSize":2046,"parsedSize":1108,"gzipSize":266},{"id":3334,"label":"mixin.ts","path":"./lib/http/mixin.ts","statSize":3400,"parsedSize":1435,"gzipSize":712},{"id":4090,"label":"options.ts","path":"./lib/http/options.ts","statSize":3185,"parsedSize":1284,"gzipSize":538},{"id":5385,"label":"request.ts","path":"./lib/http/request.ts","statSize":8520,"parsedSize":4476,"gzipSize":2058},{"id":8958,"label":"types.ts","path":"./lib/http/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":9177,"gzipSize":3134},{"label":"oidc","path":"./lib/oidc","statSize":168597,"groups":[{"id":3426,"label":"TokenManager.ts","path":"./lib/oidc/TokenManager.ts","statSize":17759,"parsedSize":8705,"gzipSize":2455},{"id":130,"label":"TransactionManager.ts","path":"./lib/oidc/TransactionManager.ts","statSize":3757,"parsedSize":1865,"gzipSize":650},{"id":1237,"label":"decodeToken.ts","path":"./lib/oidc/decodeToken.ts","statSize":495,"parsedSize":285,"gzipSize":227},{"label":"endpoints","path":"./lib/oidc/endpoints","statSize":8413,"groups":[{"id":2206,"label":"authorize.ts","path":"./lib/oidc/endpoints/authorize.ts","statSize":3290,"parsedSize":1887,"gzipSize":873},{"id":2642,"label":"index.ts","path":"./lib/oidc/endpoints/index.ts","statSize":1036,"parsedSize":567,"gzipSize":220},{"id":9231,"label":"token.ts","path":"./lib/oidc/endpoints/token.ts","statSize":2652,"parsedSize":1548,"gzipSize":707},{"id":52,"label":"well-known.ts","path":"./lib/oidc/endpoints/well-known.ts","statSize":1435,"parsedSize":662,"gzipSize":407}],"parsedSize":4664,"gzipSize":1741},{"id":9284,"label":"enrollAuthenticator.ts","path":"./lib/oidc/enrollAuthenticator.ts","statSize":673,"parsedSize":367,"gzipSize":241},{"id":8707,"label":"exchangeCodeForTokens.ts","path":"./lib/oidc/exchangeCodeForTokens.ts","statSize":1825,"parsedSize":789,"gzipSize":467},{"label":"factory","path":"./lib/oidc/factory","statSize":4341,"groups":[{"id":3859,"label":"OktaAuthOAuth.ts","path":"./lib/oidc/factory/OktaAuthOAuth.ts","statSize":741,"parsedSize":253,"gzipSize":189},{"id":7203,"label":"api.ts","path":"./lib/oidc/factory/api.ts","statSize":2902,"parsedSize":1375,"gzipSize":611},{"id":7276,"label":"index.ts","path":"./lib/oidc/factory/index.ts","statSize":698,"parsedSize":389,"gzipSize":207}],"parsedSize":2017,"gzipSize":832},{"id":3253,"label":"getToken.ts","path":"./lib/oidc/getToken.ts","statSize":3766,"parsedSize":1662,"gzipSize":842},{"id":6844,"label":"getUserInfo.ts","path":"./lib/oidc/getUserInfo.ts","statSize":3785,"parsedSize":1581,"gzipSize":706},{"id":9770,"label":"getWithPopup.ts","path":"./lib/oidc/getWithPopup.ts","statSize":664,"parsedSize":397,"gzipSize":302},{"id":6803,"label":"getWithRedirect.ts","path":"./lib/oidc/getWithRedirect.ts","statSize":1997,"parsedSize":848,"gzipSize":515},{"id":7625,"label":"getWithoutPrompt.ts","path":"./lib/oidc/getWithoutPrompt.ts","statSize":577,"parsedSize":355,"gzipSize":276},{"id":8676,"label":"handleOAuthResponse.ts","path":"./lib/oidc/handleOAuthResponse.ts","statSize":5683,"parsedSize":2366,"gzipSize":1081},{"id":9443,"label":"index.ts","path":"./lib/oidc/index.ts","statSize":7031,"parsedSize":3917,"gzipSize":732},{"id":8113,"label":"introspect.ts","path":"./lib/oidc/introspect.ts","statSize":3450,"parsedSize":1440,"gzipSize":810},{"label":"mixin","path":"./lib/oidc/mixin","statSize":29010,"groups":[{"id":4449,"label":"browser.ts","path":"./lib/oidc/mixin/browser.ts","statSize":3456,"parsedSize":1411,"gzipSize":593},{"id":498,"label":"index.ts","path":"./lib/oidc/mixin/index.ts","statSize":25554,"parsedSize":9995,"gzipSize":2930}],"parsedSize":11406,"gzipSize":3202},{"label":"options","path":"./lib/oidc/options","statSize":9551,"groups":[{"id":3234,"label":"OAuthOptionsConstructor.ts","path":"./lib/oidc/options/OAuthOptionsConstructor.ts","statSize":8985,"parsedSize":4680,"gzipSize":1511},{"id":5577,"label":"browser.ts","path":"./lib/oidc/options/browser.ts","statSize":135,"parsedSize":81,"gzipSize":81},{"id":3775,"label":"index.ts","path":"./lib/oidc/options/index.ts","statSize":431,"parsedSize":209,"gzipSize":179}],"parsedSize":4970,"gzipSize":1603},{"id":9094,"label":"parseFromUrl.ts","path":"./lib/oidc/parseFromUrl.ts","statSize":4757,"parsedSize":2056,"gzipSize":911},{"id":2476,"label":"renewToken.ts","path":"./lib/oidc/renewToken.ts","statSize":2914,"parsedSize":1153,"gzipSize":618},{"id":6268,"label":"renewTokens.ts","path":"./lib/oidc/renewTokens.ts","statSize":3398,"parsedSize":1403,"gzipSize":692},{"id":781,"label":"renewTokensWithRefresh.ts","path":"./lib/oidc/renewTokensWithRefresh.ts","statSize":2839,"parsedSize":1045,"gzipSize":605},{"id":6466,"label":"revokeToken.ts","path":"./lib/oidc/revokeToken.ts","statSize":2575,"parsedSize":1052,"gzipSize":626},{"id":2333,"label":"storage.ts","path":"./lib/oidc/storage.ts","statSize":3550,"parsedSize":1510,"gzipSize":618},{"label":"types","path":"./lib/oidc/types","statSize":7004,"groups":[{"id":5842,"label":"JWT.ts","path":"./lib/oidc/types/JWT.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6488,"label":"Token.ts","path":"./lib/oidc/types/Token.ts","statSize":766,"parsedSize":422,"gzipSize":214},{"id":7088,"label":"TokenManager.ts","path":"./lib/oidc/types/TokenManager.ts","statSize":587,"parsedSize":286,"gzipSize":170},{"id":4319,"label":"Transaction.ts","path":"./lib/oidc/types/Transaction.ts","statSize":1450,"parsedSize":564,"gzipSize":302},{"id":6593,"label":"TransactionManager.ts","path":"./lib/oidc/types/TransactionManager.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":7615,"label":"UserClaims.ts","path":"./lib/oidc/types/UserClaims.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":2740,"label":"api.ts","path":"./lib/oidc/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8665,"label":"endpoints.ts","path":"./lib/oidc/types/endpoints.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8927,"label":"index.ts","path":"./lib/oidc/types/index.ts","statSize":4108,"parsedSize":2188,"gzipSize":356},{"id":8741,"label":"meta.ts","path":"./lib/oidc/types/meta.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6370,"label":"options.ts","path":"./lib/oidc/types/options.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":9263,"label":"proto.ts","path":"./lib/oidc/types/proto.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":195,"label":"storage.ts","path":"./lib/oidc/types/storage.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3568,"gzipSize":842},{"label":"util","path":"./lib/oidc/util","statSize":34095,"groups":[{"id":4970,"label":"browser.ts","path":"./lib/oidc/util/browser.ts","statSize":1905,"parsedSize":1013,"gzipSize":551},{"id":5078,"label":"defaultEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/defaultEnrollAuthenticatorParams.ts","statSize":804,"parsedSize":382,"gzipSize":277},{"id":7756,"label":"defaultTokenParams.ts","path":"./lib/oidc/util/defaultTokenParams.ts","statSize":1176,"parsedSize":540,"gzipSize":351},{"id":8080,"label":"enrollAuthenticatorMeta.ts","path":"./lib/oidc/util/enrollAuthenticatorMeta.ts","statSize":591,"parsedSize":323,"gzipSize":208},{"id":9912,"label":"errors.ts","path":"./lib/oidc/util/errors.ts","statSize":1054,"parsedSize":501,"gzipSize":299},{"id":8785,"label":"index.ts","path":"./lib/oidc/util/index.ts","statSize":6588,"parsedSize":3271,"gzipSize":461},{"id":8221,"label":"loginRedirect.ts","path":"./lib/oidc/util/loginRedirect.ts","statSize":2394,"parsedSize":1074,"gzipSize":478},{"id":7599,"label":"oauth.ts","path":"./lib/oidc/util/oauth.ts","statSize":2473,"parsedSize":1262,"gzipSize":514},{"id":2865,"label":"oauthMeta.ts","path":"./lib/oidc/util/oauthMeta.ts","statSize":1982,"parsedSize":1090,"gzipSize":525},{"id":3611,"label":"pkce.ts","path":"./lib/oidc/util/pkce.ts","statSize":1259,"parsedSize":722,"gzipSize":453},{"id":6757,"label":"prepareEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/prepareEnrollAuthenticatorParams.ts","statSize":1923,"parsedSize":1071,"gzipSize":518},{"id":6898,"label":"prepareTokenParams.ts","path":"./lib/oidc/util/prepareTokenParams.ts","statSize":6512,"parsedSize":2884,"gzipSize":1187},{"id":6635,"label":"refreshToken.ts","path":"./lib/oidc/util/refreshToken.ts","statSize":531,"parsedSize":263,"gzipSize":188},{"id":3327,"label":"sharedStorage.ts","path":"./lib/oidc/util/sharedStorage.ts","statSize":1657,"parsedSize":727,"gzipSize":315},{"id":1969,"label":"urlParams.ts","path":"./lib/oidc/util/urlParams.ts","statSize":807,"parsedSize":364,"gzipSize":257},{"id":6003,"label":"validateClaims.ts","path":"./lib/oidc/util/validateClaims.ts","statSize":1610,"parsedSize":911,"gzipSize":449},{"id":2482,"label":"validateToken.ts","path":"./lib/oidc/util/validateToken.ts","statSize":829,"parsedSize":569,"gzipSize":268}],"parsedSize":16967,"gzipSize":4654},{"id":1260,"label":"verifyToken.ts","path":"./lib/oidc/verifyToken.ts","statSize":4688,"parsedSize":1950,"gzipSize":932}],"parsedSize":78338,"gzipSize":17634},{"label":"services","path":"./lib/services","statSize":19710,"groups":[{"id":2282,"label":"AutoRenewService.ts","path":"./lib/services/AutoRenewService.ts","statSize":4939,"parsedSize":2388,"gzipSize":881},{"id":6748,"label":"LeaderElectionService.ts","path":"./lib/services/LeaderElectionService.ts","statSize":5685,"parsedSize":2393,"gzipSize":788},{"id":5550,"label":"SyncStorageService.ts","path":"./lib/services/SyncStorageService.ts","statSize":7891,"parsedSize":3907,"gzipSize":1150},{"id":2604,"label":"index.ts","path":"./lib/services/index.ts","statSize":1195,"parsedSize":569,"gzipSize":222}],"parsedSize":9257,"gzipSize":2014},{"label":"session","path":"./lib/session","statSize":6969,"groups":[{"id":3719,"label":"api.ts","path":"./lib/session/api.ts","statSize":1737,"parsedSize":1028,"gzipSize":472},{"id":2815,"label":"factory.ts","path":"./lib/session/factory.ts","statSize":418,"parsedSize":278,"gzipSize":172},{"id":8041,"label":"index.ts","path":"./lib/session/index.ts","statSize":1322,"parsedSize":749,"gzipSize":240},{"id":3980,"label":"mixin.ts","path":"./lib/session/mixin.ts","statSize":3479,"parsedSize":1356,"gzipSize":681},{"id":1249,"label":"types.ts","path":"./lib/session/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3423,"gzipSize":1266},{"label":"storage","path":"./lib/storage","statSize":16437,"groups":[{"id":5437,"label":"BaseStorageManager.ts","path":"./lib/storage/BaseStorageManager.ts","statSize":3442,"parsedSize":1567,"gzipSize":689},{"id":5763,"label":"SavedObject.ts","path":"./lib/storage/SavedObject.ts","statSize":2766,"parsedSize":1378,"gzipSize":517},{"id":9927,"label":"index.ts","path":"./lib/storage/index.ts","statSize":1852,"parsedSize":928,"gzipSize":251},{"id":265,"label":"mixin.ts","path":"./lib/storage/mixin.ts","statSize":2704,"parsedSize":1032,"gzipSize":532},{"label":"options","path":"./lib/storage/options","statSize":5660,"groups":[{"id":4863,"label":"StorageOptionsConstructor.ts","path":"./lib/storage/options/StorageOptionsConstructor.ts","statSize":3822,"parsedSize":1745,"gzipSize":768},{"id":8009,"label":"browser.ts","path":"./lib/storage/options/browser.ts","statSize":1838,"parsedSize":1031,"gzipSize":525}],"parsedSize":2776,"gzipSize":1137},{"id":5752,"label":"types.ts","path":"./lib/storage/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":7693,"gzipSize":2272},{"label":"util","path":"./lib/util","statSize":10748,"groups":[{"id":3548,"label":"PromiseQueue.ts","path":"./lib/util/PromiseQueue.ts","statSize":2535,"parsedSize":1170,"gzipSize":597},{"id":146,"label":"console.ts","path":"./lib/util/console.ts","statSize":965,"parsedSize":501,"gzipSize":281},{"id":305,"label":"index.ts","path":"./lib/util/index.ts","statSize":2011,"parsedSize":1108,"gzipSize":267},{"id":8750,"label":"misc.ts","path":"./lib/util/misc.ts","statSize":883,"parsedSize":473,"gzipSize":338},{"id":3193,"label":"object.ts","path":"./lib/util/object.ts","statSize":2215,"parsedSize":1076,"gzipSize":513},{"id":4771,"label":"types.ts","path":"./lib/util/types.ts","statSize":636,"parsedSize":433,"gzipSize":183},{"id":6718,"label":"url.ts","path":"./lib/util/url.ts","statSize":1503,"parsedSize":829,"gzipSize":420}],"parsedSize":5590,"gzipSize":1935}],"parsedSize":164176,"gzipSize":34946},{"label":"node_modules","path":"./node_modules","statSize":112787,"groups":[{"label":"@babel/runtime","path":"./node_modules/@babel/runtime","statSize":28938,"groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","statSize":28490,"groups":[{"id":3897,"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","statSize":309,"parsedSize":179,"gzipSize":151},{"id":5372,"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","statSize":183,"parsedSize":116,"gzipSize":99},{"id":3405,"label":"arrayWithoutHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","statSize":264,"parsedSize":137,"gzipSize":120},{"id":6115,"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","statSize":295,"parsedSize":196,"gzipSize":153},{"id":7156,"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","statSize":879,"parsedSize":389,"gzipSize":244},{"id":6690,"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","statSize":273,"parsedSize":167,"gzipSize":140},{"id":3515,"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","statSize":902,"parsedSize":427,"gzipSize":228},{"id":9728,"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","statSize":750,"parsedSize":347,"gzipSize":230},{"id":8416,"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","statSize":365,"parsedSize":193,"gzipSize":153},{"id":1588,"label":"get.js","path":"./node_modules/@babel/runtime/helpers/get.js","statSize":830,"parsedSize":465,"gzipSize":246},{"id":3808,"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","statSize":429,"parsedSize":275,"gzipSize":151},{"id":1655,"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","statSize":658,"parsedSize":370,"gzipSize":252},{"id":4836,"label":"interopRequireDefault.js","path":"./node_modules/@babel/runtime/helpers/interopRequireDefault.js","statSize":224,"parsedSize":124,"gzipSize":98},{"id":6035,"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","statSize":217,"parsedSize":149,"gzipSize":130},{"id":9617,"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","statSize":475,"parsedSize":328,"gzipSize":203},{"id":9498,"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","statSize":273,"parsedSize":187,"gzipSize":150},{"id":8872,"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","statSize":705,"parsedSize":385,"gzipSize":270},{"id":2218,"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","statSize":308,"parsedSize":247,"gzipSize":194},{"id":5343,"label":"nonIterableSpread.js","path":"./node_modules/@babel/runtime/helpers/nonIterableSpread.js","statSize":307,"parsedSize":242,"gzipSize":192},{"id":215,"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","statSize":741,"parsedSize":332,"gzipSize":239},{"id":7071,"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","statSize":459,"parsedSize":207,"gzipSize":172},{"id":4993,"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","statSize":542,"parsedSize":286,"gzipSize":213},{"id":7061,"label":"regeneratorRuntime.js","path":"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","statSize":13835,"parsedSize":6632,"gzipSize":2419},{"id":6015,"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","statSize":421,"parsedSize":259,"gzipSize":147},{"id":7424,"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","statSize":517,"parsedSize":170,"gzipSize":140},{"id":1753,"label":"superPropBase.js","path":"./node_modules/@babel/runtime/helpers/superPropBase.js","statSize":367,"parsedSize":183,"gzipSize":153},{"id":861,"label":"toConsumableArray.js","path":"./node_modules/@babel/runtime/helpers/toConsumableArray.js","statSize":516,"parsedSize":164,"gzipSize":138},{"id":8698,"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","statSize":554,"parsedSize":368,"gzipSize":178},{"id":6116,"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","statSize":607,"parsedSize":377,"gzipSize":273},{"id":3496,"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","statSize":1285,"parsedSize":625,"gzipSize":351}],"parsedSize":14526,"gzipSize":4116},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","statSize":448,"groups":[{"id":4687,"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","statSize":448,"parsedSize":181,"gzipSize":146}],"parsedSize":181,"gzipSize":146}],"parsedSize":14707,"gzipSize":4174},{"label":"broadcast-channel","path":"./node_modules/broadcast-channel","statSize":51008,"groups":[{"label":"dist/lib","path":"./node_modules/broadcast-channel/dist/lib","statSize":50454,"groups":[{"id":8991,"label":"broadcast-channel.js","path":"./node_modules/broadcast-channel/dist/lib/broadcast-channel.js","statSize":8004,"parsedSize":2739,"gzipSize":1104},{"id":8437,"label":"index.es5.js","path":"./node_modules/broadcast-channel/dist/lib/index.es5.js","statSize":559,"parsedSize":221,"gzipSize":155},{"id":5585,"label":"index.js","path":"./node_modules/broadcast-channel/dist/lib/index.js","statSize":1169,"parsedSize":724,"gzipSize":267},{"id":4781,"label":"leader-election-util.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-util.js","statSize":1725,"parsedSize":579,"gzipSize":343},{"id":683,"label":"leader-election-web-lock.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-web-lock.js","statSize":2905,"parsedSize":1421,"gzipSize":667},{"id":6550,"label":"leader-election.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election.js","statSize":8953,"parsedSize":3260,"gzipSize":1108},{"id":4632,"label":"method-chooser.js","path":"./node_modules/broadcast-channel/dist/lib/method-chooser.js","statSize":2790,"parsedSize":669,"gzipSize":407},{"label":"methods","path":"./node_modules/broadcast-channel/dist/lib/methods","statSize":20543,"groups":[{"id":9122,"label":"indexed-db.js","path":"./node_modules/broadcast-channel/dist/lib/methods/indexed-db.js","statSize":11573,"parsedSize":4357,"gzipSize":1645},{"id":4924,"label":"localstorage.js","path":"./node_modules/broadcast-channel/dist/lib/methods/localstorage.js","statSize":5332,"parsedSize":2053,"gzipSize":1007},{"id":2026,"label":"native.js","path":"./node_modules/broadcast-channel/dist/lib/methods/native.js","statSize":1856,"parsedSize":1066,"gzipSize":569},{"id":1574,"label":"simulate.js","path":"./node_modules/broadcast-channel/dist/lib/methods/simulate.js","statSize":1782,"parsedSize":902,"gzipSize":443}],"parsedSize":8378,"gzipSize":2711},{"id":423,"label":"options.js","path":"./node_modules/broadcast-channel/dist/lib/options.js","statSize":1566,"parsedSize":737,"gzipSize":396},{"id":6202,"label":"util.js","path":"./node_modules/broadcast-channel/dist/lib/util.js","statSize":2240,"parsedSize":874,"gzipSize":444}],"parsedSize":19602,"gzipSize":5444},{"label":"node_modules/@babel/runtime/helpers","path":"./node_modules/broadcast-channel/node_modules/@babel/runtime/helpers","statSize":554,"groups":[{"id":3762,"label":"typeof.js","path":"./node_modules/broadcast-channel/node_modules/@babel/runtime/helpers/typeof.js","statSize":554,"parsedSize":368,"gzipSize":178}],"parsedSize":368,"gzipSize":178}],"parsedSize":19970,"gzipSize":5537},{"label":"cross-fetch/dist","path":"./node_modules/cross-fetch/dist","statSize":15491,"groups":[{"id":4098,"label":"browser-ponyfill.js","path":"./node_modules/cross-fetch/dist/browser-ponyfill.js","statSize":15491,"parsedSize":8241,"gzipSize":2804}],"parsedSize":8241,"gzipSize":2804},{"label":"js-cookie/dist","path":"./node_modules/js-cookie/dist","statSize":4150,"groups":[{"id":646,"label":"js.cookie.js","path":"./node_modules/js-cookie/dist/js.cookie.js","statSize":4150,"parsedSize":1426,"gzipSize":706}],"parsedSize":1426,"gzipSize":706},{"label":"oblivious-set/dist/es","path":"./node_modules/oblivious-set/dist/es","statSize":2061,"groups":[{"id":2151,"label":"index.js","path":"./node_modules/oblivious-set/dist/es/index.js","statSize":2061,"parsedSize":639,"gzipSize":346}],"parsedSize":639,"gzipSize":346},{"label":"p-cancelable","path":"./node_modules/p-cancelable","statSize":6424,"groups":[{"id":3615,"label":"index.js","path":"./node_modules/p-cancelable/index.js","statSize":6424,"parsedSize":3179,"gzipSize":1368}],"parsedSize":3179,"gzipSize":1368},{"label":"tiny-emitter","path":"./node_modules/tiny-emitter","statSize":1565,"groups":[{"id":4279,"label":"index.js","path":"./node_modules/tiny-emitter/index.js","statSize":1565,"parsedSize":586,"gzipSize":325}],"parsedSize":586,"gzipSize":325},{"label":"unload/dist/es","path":"./node_modules/unload/dist/es","statSize":3150,"groups":[{"id":4810,"label":"index.js + 2 modules (concatenated)","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)","statSize":3150,"parsedSize":1286,"gzipSize":527,"concatenated":true,"groups":[{"label":"node_modules/unload/dist/es","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es","statSize":3150,"groups":[{"id":null,"label":"index.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/index.js","statSize":1227,"parsedSize":500,"gzipSize":205,"inaccurateSizes":true},{"id":null,"label":"node.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/node.js","statSize":695,"parsedSize":283,"gzipSize":116,"inaccurateSizes":true},{"id":null,"label":"browser.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/browser.js","statSize":1228,"parsedSize":501,"gzipSize":205,"inaccurateSizes":true}],"parsedSize":1286,"gzipSize":527,"inaccurateSizes":true}]}],"parsedSize":1286,"gzipSize":527}],"parsedSize":50034,"gzipSize":14060}]}];
|
|
34
|
+
window.chartData = [{"label":"okta-auth-js.authn.min.js","isAsset":true,"statSize":472805,"parsedSize":219743,"gzipSize":49865,"groups":[{"label":"lib","path":"./lib","statSize":360018,"groups":[{"label":"authn","path":"./lib/authn","statSize":20983,"groups":[{"id":97,"label":"AuthnTransactionImpl.ts","path":"./lib/authn/AuthnTransactionImpl.ts","statSize":2549,"parsedSize":1410,"gzipSize":492},{"id":9859,"label":"api.ts","path":"./lib/authn/api.ts","statSize":2330,"parsedSize":1143,"gzipSize":457},{"id":8248,"label":"factory.ts","path":"./lib/authn/factory.ts","statSize":843,"parsedSize":453,"gzipSize":228},{"id":3398,"label":"index.ts","path":"./lib/authn/index.ts","statSize":1005,"parsedSize":569,"gzipSize":223},{"id":3164,"label":"mixin.ts","path":"./lib/authn/mixin.ts","statSize":5890,"parsedSize":2327,"gzipSize":910},{"id":2576,"label":"types.ts","path":"./lib/authn/types.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"label":"util","path":"./lib/authn/util","statSize":8353,"groups":[{"id":6693,"label":"flattenEmbedded.ts","path":"./lib/authn/util/flattenEmbedded.ts","statSize":942,"parsedSize":472,"gzipSize":312},{"id":8657,"label":"link2fn.ts","path":"./lib/authn/util/link2fn.ts","statSize":3027,"parsedSize":1386,"gzipSize":689},{"id":9265,"label":"links2fns.ts","path":"./lib/authn/util/links2fns.ts","statSize":760,"parsedSize":337,"gzipSize":246},{"id":3395,"label":"poll.ts","path":"./lib/authn/util/poll.ts","statSize":3253,"parsedSize":1336,"gzipSize":683},{"id":1349,"label":"stateToken.ts","path":"./lib/authn/util/stateToken.ts","statSize":371,"parsedSize":196,"gzipSize":139}],"parsedSize":3727,"gzipSize":1493}],"parsedSize":9641,"gzipSize":3009},{"label":"base","path":"./lib/base","statSize":4550,"groups":[{"id":9893,"label":"factory.ts","path":"./lib/base/factory.ts","statSize":2781,"parsedSize":1206,"gzipSize":599},{"id":3306,"label":"index.ts","path":"./lib/base/index.ts","statSize":1015,"parsedSize":569,"gzipSize":221},{"id":5093,"label":"options.ts","path":"./lib/base/options.ts","statSize":741,"parsedSize":251,"gzipSize":187},{"id":6429,"label":"types.ts","path":"./lib/base/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":2038,"gzipSize":795},{"label":"browser","path":"./lib/browser","statSize":8017,"groups":[{"id":5407,"label":"browserStorage.ts","path":"./lib/browser/browserStorage.ts","statSize":6256,"parsedSize":3041,"gzipSize":1133},{"id":8719,"label":"fingerprint.ts","path":"./lib/browser/fingerprint.ts","statSize":1761,"parsedSize":1016,"gzipSize":566}],"parsedSize":4057,"gzipSize":1567},{"id":6244,"label":"clock.ts","path":"./lib/clock.ts","statSize":1050,"parsedSize":408,"gzipSize":254},{"id":1971,"label":"constants.ts","path":"./lib/constants.ts","statSize":2594,"parsedSize":1272,"gzipSize":459},{"label":"core","path":"./lib/core","statSize":39031,"groups":[{"id":1018,"label":"AuthStateManager.ts","path":"./lib/core/AuthStateManager.ts","statSize":9938,"parsedSize":4168,"gzipSize":1540},{"label":"ServiceManager","path":"./lib/core/ServiceManager","statSize":13371,"groups":[{"id":2204,"label":"browser.ts","path":"./lib/core/ServiceManager/browser.ts","statSize":13035,"parsedSize":5916,"gzipSize":2035},{"id":6599,"label":"index.ts","path":"./lib/core/ServiceManager/index.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":6125,"gzipSize":2107},{"id":1578,"label":"factory.ts","path":"./lib/core/factory.ts","statSize":808,"parsedSize":283,"gzipSize":205},{"id":3961,"label":"index.ts","path":"./lib/core/index.ts","statSize":2433,"parsedSize":1289,"gzipSize":284},{"id":8386,"label":"mixin.ts","path":"./lib/core/mixin.ts","statSize":8630,"parsedSize":3210,"gzipSize":1092},{"id":9133,"label":"options.ts","path":"./lib/core/options.ts","statSize":2599,"parsedSize":982,"gzipSize":469},{"id":2647,"label":"storage.ts","path":"./lib/core/storage.ts","statSize":210,"parsedSize":122,"gzipSize":117},{"label":"types","path":"./lib/core/types","statSize":1042,"groups":[{"id":2293,"label":"AuthState.ts","path":"./lib/core/types/AuthState.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":5675,"label":"Service.ts","path":"./lib/core/types/Service.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":6655,"label":"api.ts","path":"./lib/core/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8553,"label":"index.ts","path":"./lib/core/types/index.ts","statSize":1015,"parsedSize":569,"gzipSize":223}],"parsedSize":605,"gzipSize":227}],"parsedSize":16784,"gzipSize":4327},{"label":"crypto","path":"./lib/crypto","statSize":5447,"groups":[{"id":7987,"label":"base64.ts","path":"./lib/crypto/base64.ts","statSize":1756,"parsedSize":945,"gzipSize":458},{"id":7594,"label":"browser.ts","path":"./lib/crypto/browser.ts","statSize":285,"parsedSize":189,"gzipSize":141},{"id":9718,"label":"index.ts","path":"./lib/crypto/index.ts","statSize":1711,"parsedSize":926,"gzipSize":251},{"id":5698,"label":"oidcHash.ts","path":"./lib/crypto/oidcHash.ts","statSize":519,"parsedSize":283,"gzipSize":230},{"id":6332,"label":"types.ts","path":"./lib/crypto/types.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":3154,"label":"verifyToken.ts","path":"./lib/crypto/verifyToken.ts","statSize":839,"parsedSize":410,"gzipSize":296},{"id":1,"label":"webcrypto.ts","path":"./lib/crypto/webcrypto.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":2974,"gzipSize":993},{"label":"errors","path":"./lib/errors","statSize":14827,"groups":[{"id":3983,"label":"AuthApiError.ts","path":"./lib/errors/AuthApiError.ts","statSize":3201,"parsedSize":1333,"gzipSize":541},{"id":6573,"label":"AuthPollStopError.ts","path":"./lib/errors/AuthPollStopError.ts","statSize":1983,"parsedSize":778,"gzipSize":411},{"id":9123,"label":"AuthSdkError.ts","path":"./lib/errors/AuthSdkError.ts","statSize":2979,"parsedSize":1224,"gzipSize":521},{"id":401,"label":"CustomError.ts","path":"./lib/errors/CustomError.ts","statSize":2214,"parsedSize":876,"gzipSize":443},{"id":2886,"label":"OAuthError.ts","path":"./lib/errors/OAuthError.ts","statSize":2720,"parsedSize":1079,"gzipSize":479},{"id":5728,"label":"index.ts","path":"./lib/errors/index.ts","statSize":1729,"parsedSize":900,"gzipSize":355},{"id":1243,"label":"types.ts","path":"./lib/errors/types.ts","statSize":1,"parsedSize":12,"gzipSize":32}],"parsedSize":6202,"gzipSize":1116},{"label":"exports","path":"./lib/exports","statSize":8211,"groups":[{"id":5140,"label":"authn.ts","path":"./lib/exports/authn.ts","statSize":3070,"parsedSize":1382,"gzipSize":625},{"label":"cdn","path":"./lib/exports/cdn","statSize":168,"groups":[{"id":593,"label":"authn.ts","path":"./lib/exports/cdn/authn.ts","statSize":168,"parsedSize":101,"gzipSize":105}],"parsedSize":101,"gzipSize":105},{"id":6736,"label":"common.ts","path":"./lib/exports/common.ts","statSize":4973,"parsedSize":2670,"gzipSize":612}],"parsedSize":4153,"gzipSize":1039},{"id":415,"label":"features.ts","path":"./lib/features.ts","statSize":1836,"parsedSize":935,"gzipSize":447},{"label":"fetch","path":"./lib/fetch","statSize":4580,"groups":[{"id":4447,"label":"fetchRequest.ts","path":"./lib/fetch/fetchRequest.ts","statSize":4580,"parsedSize":2383,"gzipSize":1232}],"parsedSize":2383,"gzipSize":1232},{"label":"http","path":"./lib/http","statSize":19086,"groups":[{"id":287,"label":"OktaUserAgent.ts","path":"./lib/http/OktaUserAgent.ts","statSize":1534,"parsedSize":736,"gzipSize":384},{"id":2281,"label":"headers.ts","path":"./lib/http/headers.ts","statSize":248,"parsedSize":126,"gzipSize":102},{"id":4777,"label":"index.ts","path":"./lib/http/index.ts","statSize":2046,"parsedSize":1108,"gzipSize":266},{"id":3334,"label":"mixin.ts","path":"./lib/http/mixin.ts","statSize":3400,"parsedSize":1435,"gzipSize":712},{"id":4090,"label":"options.ts","path":"./lib/http/options.ts","statSize":3185,"parsedSize":1284,"gzipSize":538},{"id":5385,"label":"request.ts","path":"./lib/http/request.ts","statSize":8660,"parsedSize":4558,"gzipSize":2086},{"id":8958,"label":"types.ts","path":"./lib/http/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":9259,"gzipSize":3164},{"label":"oidc","path":"./lib/oidc","statSize":171050,"groups":[{"id":3426,"label":"TokenManager.ts","path":"./lib/oidc/TokenManager.ts","statSize":18238,"parsedSize":8897,"gzipSize":2502},{"id":130,"label":"TransactionManager.ts","path":"./lib/oidc/TransactionManager.ts","statSize":3757,"parsedSize":1865,"gzipSize":650},{"id":1237,"label":"decodeToken.ts","path":"./lib/oidc/decodeToken.ts","statSize":495,"parsedSize":285,"gzipSize":227},{"label":"endpoints","path":"./lib/oidc/endpoints","statSize":8413,"groups":[{"id":2206,"label":"authorize.ts","path":"./lib/oidc/endpoints/authorize.ts","statSize":3290,"parsedSize":1887,"gzipSize":873},{"id":2642,"label":"index.ts","path":"./lib/oidc/endpoints/index.ts","statSize":1036,"parsedSize":567,"gzipSize":220},{"id":9231,"label":"token.ts","path":"./lib/oidc/endpoints/token.ts","statSize":2652,"parsedSize":1548,"gzipSize":707},{"id":52,"label":"well-known.ts","path":"./lib/oidc/endpoints/well-known.ts","statSize":1435,"parsedSize":662,"gzipSize":407}],"parsedSize":4664,"gzipSize":1741},{"id":9284,"label":"enrollAuthenticator.ts","path":"./lib/oidc/enrollAuthenticator.ts","statSize":673,"parsedSize":367,"gzipSize":241},{"id":8707,"label":"exchangeCodeForTokens.ts","path":"./lib/oidc/exchangeCodeForTokens.ts","statSize":1825,"parsedSize":789,"gzipSize":467},{"label":"factory","path":"./lib/oidc/factory","statSize":4341,"groups":[{"id":3859,"label":"OktaAuthOAuth.ts","path":"./lib/oidc/factory/OktaAuthOAuth.ts","statSize":741,"parsedSize":253,"gzipSize":189},{"id":7203,"label":"api.ts","path":"./lib/oidc/factory/api.ts","statSize":2902,"parsedSize":1375,"gzipSize":611},{"id":7276,"label":"index.ts","path":"./lib/oidc/factory/index.ts","statSize":698,"parsedSize":389,"gzipSize":207}],"parsedSize":2017,"gzipSize":832},{"id":3253,"label":"getToken.ts","path":"./lib/oidc/getToken.ts","statSize":3766,"parsedSize":1662,"gzipSize":842},{"id":6844,"label":"getUserInfo.ts","path":"./lib/oidc/getUserInfo.ts","statSize":3785,"parsedSize":1581,"gzipSize":706},{"id":9770,"label":"getWithPopup.ts","path":"./lib/oidc/getWithPopup.ts","statSize":664,"parsedSize":397,"gzipSize":302},{"id":6803,"label":"getWithRedirect.ts","path":"./lib/oidc/getWithRedirect.ts","statSize":1997,"parsedSize":848,"gzipSize":515},{"id":7625,"label":"getWithoutPrompt.ts","path":"./lib/oidc/getWithoutPrompt.ts","statSize":577,"parsedSize":355,"gzipSize":276},{"id":8676,"label":"handleOAuthResponse.ts","path":"./lib/oidc/handleOAuthResponse.ts","statSize":5683,"parsedSize":2366,"gzipSize":1081},{"id":9443,"label":"index.ts","path":"./lib/oidc/index.ts","statSize":7031,"parsedSize":3917,"gzipSize":732},{"id":8113,"label":"introspect.ts","path":"./lib/oidc/introspect.ts","statSize":3381,"parsedSize":1413,"gzipSize":794},{"label":"mixin","path":"./lib/oidc/mixin","statSize":30959,"groups":[{"id":4449,"label":"browser.ts","path":"./lib/oidc/mixin/browser.ts","statSize":3456,"parsedSize":1411,"gzipSize":593},{"id":498,"label":"index.ts","path":"./lib/oidc/mixin/index.ts","statSize":27503,"parsedSize":10747,"gzipSize":3063}],"parsedSize":12158,"gzipSize":3335},{"label":"options","path":"./lib/oidc/options","statSize":9555,"groups":[{"id":3234,"label":"OAuthOptionsConstructor.ts","path":"./lib/oidc/options/OAuthOptionsConstructor.ts","statSize":8989,"parsedSize":4684,"gzipSize":1514},{"id":5577,"label":"browser.ts","path":"./lib/oidc/options/browser.ts","statSize":135,"parsedSize":81,"gzipSize":81},{"id":3775,"label":"index.ts","path":"./lib/oidc/options/index.ts","statSize":431,"parsedSize":209,"gzipSize":179}],"parsedSize":4974,"gzipSize":1606},{"id":9094,"label":"parseFromUrl.ts","path":"./lib/oidc/parseFromUrl.ts","statSize":4757,"parsedSize":2056,"gzipSize":911},{"id":2476,"label":"renewToken.ts","path":"./lib/oidc/renewToken.ts","statSize":2914,"parsedSize":1153,"gzipSize":618},{"id":6268,"label":"renewTokens.ts","path":"./lib/oidc/renewTokens.ts","statSize":3398,"parsedSize":1403,"gzipSize":692},{"id":781,"label":"renewTokensWithRefresh.ts","path":"./lib/oidc/renewTokensWithRefresh.ts","statSize":2839,"parsedSize":1045,"gzipSize":605},{"id":6466,"label":"revokeToken.ts","path":"./lib/oidc/revokeToken.ts","statSize":2575,"parsedSize":1052,"gzipSize":626},{"id":2333,"label":"storage.ts","path":"./lib/oidc/storage.ts","statSize":3550,"parsedSize":1510,"gzipSize":618},{"label":"types","path":"./lib/oidc/types","statSize":7004,"groups":[{"id":5842,"label":"JWT.ts","path":"./lib/oidc/types/JWT.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6488,"label":"Token.ts","path":"./lib/oidc/types/Token.ts","statSize":766,"parsedSize":422,"gzipSize":214},{"id":7088,"label":"TokenManager.ts","path":"./lib/oidc/types/TokenManager.ts","statSize":587,"parsedSize":286,"gzipSize":170},{"id":4319,"label":"Transaction.ts","path":"./lib/oidc/types/Transaction.ts","statSize":1450,"parsedSize":564,"gzipSize":302},{"id":6593,"label":"TransactionManager.ts","path":"./lib/oidc/types/TransactionManager.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":7615,"label":"UserClaims.ts","path":"./lib/oidc/types/UserClaims.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":2740,"label":"api.ts","path":"./lib/oidc/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8665,"label":"endpoints.ts","path":"./lib/oidc/types/endpoints.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8927,"label":"index.ts","path":"./lib/oidc/types/index.ts","statSize":4108,"parsedSize":2188,"gzipSize":356},{"id":8741,"label":"meta.ts","path":"./lib/oidc/types/meta.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6370,"label":"options.ts","path":"./lib/oidc/types/options.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":9263,"label":"proto.ts","path":"./lib/oidc/types/proto.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":195,"label":"storage.ts","path":"./lib/oidc/types/storage.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3568,"gzipSize":842},{"label":"util","path":"./lib/oidc/util","statSize":34185,"groups":[{"id":4970,"label":"browser.ts","path":"./lib/oidc/util/browser.ts","statSize":1905,"parsedSize":1013,"gzipSize":551},{"id":5078,"label":"defaultEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/defaultEnrollAuthenticatorParams.ts","statSize":804,"parsedSize":382,"gzipSize":277},{"id":7756,"label":"defaultTokenParams.ts","path":"./lib/oidc/util/defaultTokenParams.ts","statSize":1176,"parsedSize":540,"gzipSize":351},{"id":8080,"label":"enrollAuthenticatorMeta.ts","path":"./lib/oidc/util/enrollAuthenticatorMeta.ts","statSize":591,"parsedSize":323,"gzipSize":208},{"id":9912,"label":"errors.ts","path":"./lib/oidc/util/errors.ts","statSize":1054,"parsedSize":501,"gzipSize":299},{"id":8785,"label":"index.ts","path":"./lib/oidc/util/index.ts","statSize":6588,"parsedSize":3271,"gzipSize":461},{"id":8221,"label":"loginRedirect.ts","path":"./lib/oidc/util/loginRedirect.ts","statSize":2394,"parsedSize":1074,"gzipSize":478},{"id":7599,"label":"oauth.ts","path":"./lib/oidc/util/oauth.ts","statSize":2473,"parsedSize":1262,"gzipSize":514},{"id":2865,"label":"oauthMeta.ts","path":"./lib/oidc/util/oauthMeta.ts","statSize":1982,"parsedSize":1090,"gzipSize":525},{"id":3611,"label":"pkce.ts","path":"./lib/oidc/util/pkce.ts","statSize":1259,"parsedSize":722,"gzipSize":453},{"id":6757,"label":"prepareEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/prepareEnrollAuthenticatorParams.ts","statSize":1923,"parsedSize":1071,"gzipSize":518},{"id":6898,"label":"prepareTokenParams.ts","path":"./lib/oidc/util/prepareTokenParams.ts","statSize":6512,"parsedSize":2884,"gzipSize":1188},{"id":6635,"label":"refreshToken.ts","path":"./lib/oidc/util/refreshToken.ts","statSize":531,"parsedSize":263,"gzipSize":188},{"id":3327,"label":"sharedStorage.ts","path":"./lib/oidc/util/sharedStorage.ts","statSize":1657,"parsedSize":727,"gzipSize":315},{"id":1969,"label":"urlParams.ts","path":"./lib/oidc/util/urlParams.ts","statSize":807,"parsedSize":364,"gzipSize":257},{"id":6003,"label":"validateClaims.ts","path":"./lib/oidc/util/validateClaims.ts","statSize":1700,"parsedSize":976,"gzipSize":476},{"id":2482,"label":"validateToken.ts","path":"./lib/oidc/util/validateToken.ts","statSize":829,"parsedSize":569,"gzipSize":268}],"parsedSize":17032,"gzipSize":4675},{"id":1260,"label":"verifyToken.ts","path":"./lib/oidc/verifyToken.ts","statSize":4688,"parsedSize":1950,"gzipSize":932}],"parsedSize":79324,"gzipSize":17808},{"label":"services","path":"./lib/services","statSize":24602,"groups":[{"id":2282,"label":"AutoRenewService.ts","path":"./lib/services/AutoRenewService.ts","statSize":4939,"parsedSize":2388,"gzipSize":881},{"id":6748,"label":"LeaderElectionService.ts","path":"./lib/services/LeaderElectionService.ts","statSize":5685,"parsedSize":2393,"gzipSize":788},{"id":2546,"label":"RenewOnTabActivationService.ts","path":"./lib/services/RenewOnTabActivationService.ts","statSize":4455,"parsedSize":2152,"gzipSize":785},{"id":5550,"label":"SyncStorageService.ts","path":"./lib/services/SyncStorageService.ts","statSize":7891,"parsedSize":3907,"gzipSize":1151},{"id":2604,"label":"index.ts","path":"./lib/services/index.ts","statSize":1632,"parsedSize":749,"gzipSize":239}],"parsedSize":11589,"gzipSize":2332},{"label":"session","path":"./lib/session","statSize":6969,"groups":[{"id":3719,"label":"api.ts","path":"./lib/session/api.ts","statSize":1737,"parsedSize":1028,"gzipSize":472},{"id":2815,"label":"factory.ts","path":"./lib/session/factory.ts","statSize":418,"parsedSize":278,"gzipSize":172},{"id":8041,"label":"index.ts","path":"./lib/session/index.ts","statSize":1322,"parsedSize":749,"gzipSize":240},{"id":3980,"label":"mixin.ts","path":"./lib/session/mixin.ts","statSize":3479,"parsedSize":1356,"gzipSize":681},{"id":1249,"label":"types.ts","path":"./lib/session/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3423,"gzipSize":1268},{"label":"storage","path":"./lib/storage","statSize":16437,"groups":[{"id":5437,"label":"BaseStorageManager.ts","path":"./lib/storage/BaseStorageManager.ts","statSize":3442,"parsedSize":1567,"gzipSize":689},{"id":5763,"label":"SavedObject.ts","path":"./lib/storage/SavedObject.ts","statSize":2766,"parsedSize":1378,"gzipSize":517},{"id":9927,"label":"index.ts","path":"./lib/storage/index.ts","statSize":1852,"parsedSize":928,"gzipSize":251},{"id":265,"label":"mixin.ts","path":"./lib/storage/mixin.ts","statSize":2704,"parsedSize":1032,"gzipSize":532},{"label":"options","path":"./lib/storage/options","statSize":5660,"groups":[{"id":4863,"label":"StorageOptionsConstructor.ts","path":"./lib/storage/options/StorageOptionsConstructor.ts","statSize":3822,"parsedSize":1745,"gzipSize":768},{"id":8009,"label":"browser.ts","path":"./lib/storage/options/browser.ts","statSize":1838,"parsedSize":1031,"gzipSize":525}],"parsedSize":2776,"gzipSize":1137},{"id":5752,"label":"types.ts","path":"./lib/storage/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":7693,"gzipSize":2272},{"label":"util","path":"./lib/util","statSize":10748,"groups":[{"id":3548,"label":"PromiseQueue.ts","path":"./lib/util/PromiseQueue.ts","statSize":2535,"parsedSize":1170,"gzipSize":597},{"id":146,"label":"console.ts","path":"./lib/util/console.ts","statSize":965,"parsedSize":501,"gzipSize":281},{"id":305,"label":"index.ts","path":"./lib/util/index.ts","statSize":2011,"parsedSize":1108,"gzipSize":267},{"id":8750,"label":"misc.ts","path":"./lib/util/misc.ts","statSize":883,"parsedSize":473,"gzipSize":338},{"id":3193,"label":"object.ts","path":"./lib/util/object.ts","statSize":2215,"parsedSize":1076,"gzipSize":513},{"id":4771,"label":"types.ts","path":"./lib/util/types.ts","statSize":636,"parsedSize":433,"gzipSize":183},{"id":6718,"label":"url.ts","path":"./lib/util/url.ts","statSize":1503,"parsedSize":829,"gzipSize":420}],"parsedSize":5590,"gzipSize":1935}],"parsedSize":167725,"gzipSize":35519},{"label":"node_modules","path":"./node_modules","statSize":112787,"groups":[{"label":"@babel/runtime","path":"./node_modules/@babel/runtime","statSize":28938,"groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","statSize":28490,"groups":[{"id":3897,"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","statSize":309,"parsedSize":179,"gzipSize":151},{"id":5372,"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","statSize":183,"parsedSize":116,"gzipSize":99},{"id":3405,"label":"arrayWithoutHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","statSize":264,"parsedSize":137,"gzipSize":120},{"id":6115,"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","statSize":295,"parsedSize":196,"gzipSize":153},{"id":7156,"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","statSize":879,"parsedSize":389,"gzipSize":244},{"id":6690,"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","statSize":273,"parsedSize":167,"gzipSize":140},{"id":3515,"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","statSize":902,"parsedSize":427,"gzipSize":228},{"id":9728,"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","statSize":750,"parsedSize":347,"gzipSize":230},{"id":8416,"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","statSize":365,"parsedSize":193,"gzipSize":153},{"id":1588,"label":"get.js","path":"./node_modules/@babel/runtime/helpers/get.js","statSize":830,"parsedSize":465,"gzipSize":246},{"id":3808,"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","statSize":429,"parsedSize":275,"gzipSize":151},{"id":1655,"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","statSize":658,"parsedSize":370,"gzipSize":252},{"id":4836,"label":"interopRequireDefault.js","path":"./node_modules/@babel/runtime/helpers/interopRequireDefault.js","statSize":224,"parsedSize":124,"gzipSize":98},{"id":6035,"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","statSize":217,"parsedSize":149,"gzipSize":130},{"id":9617,"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","statSize":475,"parsedSize":328,"gzipSize":203},{"id":9498,"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","statSize":273,"parsedSize":187,"gzipSize":150},{"id":8872,"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","statSize":705,"parsedSize":385,"gzipSize":270},{"id":2218,"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","statSize":308,"parsedSize":247,"gzipSize":194},{"id":5343,"label":"nonIterableSpread.js","path":"./node_modules/@babel/runtime/helpers/nonIterableSpread.js","statSize":307,"parsedSize":242,"gzipSize":192},{"id":215,"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","statSize":741,"parsedSize":332,"gzipSize":239},{"id":7071,"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","statSize":459,"parsedSize":207,"gzipSize":172},{"id":4993,"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","statSize":542,"parsedSize":286,"gzipSize":213},{"id":7061,"label":"regeneratorRuntime.js","path":"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","statSize":13835,"parsedSize":6632,"gzipSize":2420},{"id":6015,"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","statSize":421,"parsedSize":259,"gzipSize":147},{"id":7424,"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","statSize":517,"parsedSize":170,"gzipSize":140},{"id":1753,"label":"superPropBase.js","path":"./node_modules/@babel/runtime/helpers/superPropBase.js","statSize":367,"parsedSize":183,"gzipSize":153},{"id":861,"label":"toConsumableArray.js","path":"./node_modules/@babel/runtime/helpers/toConsumableArray.js","statSize":516,"parsedSize":164,"gzipSize":138},{"id":8698,"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","statSize":554,"parsedSize":368,"gzipSize":178},{"id":6116,"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","statSize":607,"parsedSize":377,"gzipSize":273},{"id":3496,"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","statSize":1285,"parsedSize":625,"gzipSize":351}],"parsedSize":14526,"gzipSize":4114},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","statSize":448,"groups":[{"id":4687,"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","statSize":448,"parsedSize":181,"gzipSize":146}],"parsedSize":181,"gzipSize":146}],"parsedSize":14707,"gzipSize":4171},{"label":"broadcast-channel","path":"./node_modules/broadcast-channel","statSize":51008,"groups":[{"label":"dist/lib","path":"./node_modules/broadcast-channel/dist/lib","statSize":50454,"groups":[{"id":8991,"label":"broadcast-channel.js","path":"./node_modules/broadcast-channel/dist/lib/broadcast-channel.js","statSize":8004,"parsedSize":2739,"gzipSize":1104},{"id":8437,"label":"index.es5.js","path":"./node_modules/broadcast-channel/dist/lib/index.es5.js","statSize":559,"parsedSize":221,"gzipSize":155},{"id":5585,"label":"index.js","path":"./node_modules/broadcast-channel/dist/lib/index.js","statSize":1169,"parsedSize":724,"gzipSize":267},{"id":4781,"label":"leader-election-util.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-util.js","statSize":1725,"parsedSize":579,"gzipSize":343},{"id":683,"label":"leader-election-web-lock.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-web-lock.js","statSize":2905,"parsedSize":1421,"gzipSize":667},{"id":6550,"label":"leader-election.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election.js","statSize":8953,"parsedSize":3260,"gzipSize":1108},{"id":4632,"label":"method-chooser.js","path":"./node_modules/broadcast-channel/dist/lib/method-chooser.js","statSize":2790,"parsedSize":669,"gzipSize":407},{"label":"methods","path":"./node_modules/broadcast-channel/dist/lib/methods","statSize":20543,"groups":[{"id":9122,"label":"indexed-db.js","path":"./node_modules/broadcast-channel/dist/lib/methods/indexed-db.js","statSize":11573,"parsedSize":4357,"gzipSize":1645},{"id":4924,"label":"localstorage.js","path":"./node_modules/broadcast-channel/dist/lib/methods/localstorage.js","statSize":5332,"parsedSize":2053,"gzipSize":1006},{"id":2026,"label":"native.js","path":"./node_modules/broadcast-channel/dist/lib/methods/native.js","statSize":1856,"parsedSize":1066,"gzipSize":569},{"id":1574,"label":"simulate.js","path":"./node_modules/broadcast-channel/dist/lib/methods/simulate.js","statSize":1782,"parsedSize":902,"gzipSize":443}],"parsedSize":8378,"gzipSize":2711},{"id":423,"label":"options.js","path":"./node_modules/broadcast-channel/dist/lib/options.js","statSize":1566,"parsedSize":737,"gzipSize":396},{"id":6202,"label":"util.js","path":"./node_modules/broadcast-channel/dist/lib/util.js","statSize":2240,"parsedSize":874,"gzipSize":444}],"parsedSize":19602,"gzipSize":5444},{"label":"node_modules/@babel/runtime/helpers","path":"./node_modules/broadcast-channel/node_modules/@babel/runtime/helpers","statSize":554,"groups":[{"id":3762,"label":"typeof.js","path":"./node_modules/broadcast-channel/node_modules/@babel/runtime/helpers/typeof.js","statSize":554,"parsedSize":368,"gzipSize":178}],"parsedSize":368,"gzipSize":178}],"parsedSize":19970,"gzipSize":5537},{"label":"cross-fetch/dist","path":"./node_modules/cross-fetch/dist","statSize":15491,"groups":[{"id":4098,"label":"browser-ponyfill.js","path":"./node_modules/cross-fetch/dist/browser-ponyfill.js","statSize":15491,"parsedSize":8241,"gzipSize":2804}],"parsedSize":8241,"gzipSize":2804},{"label":"js-cookie/dist","path":"./node_modules/js-cookie/dist","statSize":4150,"groups":[{"id":646,"label":"js.cookie.js","path":"./node_modules/js-cookie/dist/js.cookie.js","statSize":4150,"parsedSize":1426,"gzipSize":706}],"parsedSize":1426,"gzipSize":706},{"label":"oblivious-set/dist/es","path":"./node_modules/oblivious-set/dist/es","statSize":2061,"groups":[{"id":2151,"label":"index.js","path":"./node_modules/oblivious-set/dist/es/index.js","statSize":2061,"parsedSize":639,"gzipSize":346}],"parsedSize":639,"gzipSize":346},{"label":"p-cancelable","path":"./node_modules/p-cancelable","statSize":6424,"groups":[{"id":3615,"label":"index.js","path":"./node_modules/p-cancelable/index.js","statSize":6424,"parsedSize":3179,"gzipSize":1368}],"parsedSize":3179,"gzipSize":1368},{"label":"tiny-emitter","path":"./node_modules/tiny-emitter","statSize":1565,"groups":[{"id":4279,"label":"index.js","path":"./node_modules/tiny-emitter/index.js","statSize":1565,"parsedSize":586,"gzipSize":325}],"parsedSize":586,"gzipSize":325},{"label":"unload/dist/es","path":"./node_modules/unload/dist/es","statSize":3150,"groups":[{"id":4810,"label":"index.js + 2 modules (concatenated)","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)","statSize":3150,"parsedSize":1286,"gzipSize":527,"concatenated":true,"groups":[{"label":"node_modules/unload/dist/es","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es","statSize":3150,"groups":[{"id":null,"label":"index.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/index.js","statSize":1227,"parsedSize":500,"gzipSize":205,"inaccurateSizes":true},{"id":null,"label":"node.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/node.js","statSize":695,"parsedSize":283,"gzipSize":116,"inaccurateSizes":true},{"id":null,"label":"browser.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/browser.js","statSize":1228,"parsedSize":501,"gzipSize":205,"inaccurateSizes":true}],"parsedSize":1286,"gzipSize":527,"inaccurateSizes":true}]}],"parsedSize":1286,"gzipSize":527}],"parsedSize":50034,"gzipSize":14061}]}];
|
|
35
35
|
window.defaultSizes = "stat";
|
|
36
36
|
</script>
|
|
37
37
|
</body>
|