@okta/okta-auth-js 7.5.0 → 7.5.1
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 +9 -0
- package/README.md +1 -1
- package/cjs/browser/fingerprint.js +1 -2
- package/cjs/browser/fingerprint.js.map +1 -1
- package/cjs/core/ServiceManager/browser.js +3 -4
- package/cjs/core/ServiceManager/browser.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/OktaPassword.js +1 -2
- 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/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 +1 -2
- 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 +2 -3
- package/cjs/oidc/mixin/index.js.map +1 -1
- package/cjs/oidc/renewTokens.js +1 -2
- package/cjs/oidc/renewTokens.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/SyncStorageService.js +6 -11
- package/cjs/services/SyncStorageService.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/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/oidc/introspect.js +1 -1
- package/esm/browser/oidc/introspect.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/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/oidc/introspect.js +1 -1
- package/esm/node/oidc/introspect.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 +3 -3
- package/types/lib/core/types/api.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","names":["isInteractionRequiredError","error","name","oauthError","errorCode","isAuthorizationCodeError","sdk","authApiError","errorResponse","xhr","responseJSON","options","pkce","isRefreshTokenInvalidError","isOAuthError","errorSummary"],"sources":["../../../../lib/oidc/util/errors.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\nimport { OktaAuthOAuthInterface } from '../types';\nimport { OAuthError, AuthApiError, isOAuthError } from '../../errors';\n\nexport function isInteractionRequiredError(error: Error) {\n if (error.name !== 'OAuthError') {\n return false;\n }\n const oauthError = error as OAuthError;\n return (oauthError.errorCode === 'interaction_required');\n}\n\nexport function isAuthorizationCodeError(sdk: OktaAuthOAuthInterface, error: Error) {\n if (error.name !== 'AuthApiError') {\n return false;\n }\n const authApiError = error as AuthApiError;\n // xhr property doesn't seem to match XMLHttpRequest type\n const errorResponse = authApiError.xhr as unknown as Record<string, unknown>;\n const responseJSON = errorResponse?.responseJSON as Record<string, unknown>;\n return sdk.options.pkce && (responseJSON?.error as string === 'invalid_grant');\n}\n\nexport function isRefreshTokenInvalidError(error: unknown): boolean {\n // error: {\"error\":\"invalid_grant\",\"error_description\":\"The refresh token is invalid or expired.\"}\n return isOAuthError(error) &&\n error.errorCode === 'invalid_grant' &&\n error.errorSummary === 'The refresh token is invalid or expired.';\n}\n"],"mappings":";;;;;AAcA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMO,SAASA,0BAA0B,CAACC,KAAY,EAAE;EACvD,IAAIA,KAAK,CAACC,IAAI,KAAK,YAAY,EAAE;IAC/B,OAAO,KAAK;EACd;EACA,MAAMC,UAAU,GAAGF,KAAmB;EACtC,OAAQE,UAAU,CAACC,SAAS,KAAK,sBAAsB;AACzD;AAEO,SAASC,wBAAwB,CAACC,GAA2B,EAAEL,KAAY,EAAE;EAClF,IAAIA,KAAK,CAACC,IAAI,KAAK,cAAc,EAAE;IACjC,OAAO,KAAK;EACd;EACA,MAAMK,YAAY,GAAGN,KAAqB;EAC1C;EACA,MAAMO,aAAa,GAAGD,YAAY,CAACE,GAAyC;EAC5E,MAAMC,YAAY,GAAGF,aAAa,
|
|
1
|
+
{"version":3,"file":"errors.js","names":["isInteractionRequiredError","error","name","oauthError","errorCode","isAuthorizationCodeError","sdk","authApiError","errorResponse","xhr","responseJSON","options","pkce","isRefreshTokenInvalidError","isOAuthError","errorSummary"],"sources":["../../../../lib/oidc/util/errors.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\nimport { OktaAuthOAuthInterface } from '../types';\nimport { OAuthError, AuthApiError, isOAuthError } from '../../errors';\n\nexport function isInteractionRequiredError(error: Error) {\n if (error.name !== 'OAuthError') {\n return false;\n }\n const oauthError = error as OAuthError;\n return (oauthError.errorCode === 'interaction_required');\n}\n\nexport function isAuthorizationCodeError(sdk: OktaAuthOAuthInterface, error: Error) {\n if (error.name !== 'AuthApiError') {\n return false;\n }\n const authApiError = error as AuthApiError;\n // xhr property doesn't seem to match XMLHttpRequest type\n const errorResponse = authApiError.xhr as unknown as Record<string, unknown>;\n const responseJSON = errorResponse?.responseJSON as Record<string, unknown>;\n return sdk.options.pkce && (responseJSON?.error as string === 'invalid_grant');\n}\n\nexport function isRefreshTokenInvalidError(error: unknown): boolean {\n // error: {\"error\":\"invalid_grant\",\"error_description\":\"The refresh token is invalid or expired.\"}\n return isOAuthError(error) &&\n error.errorCode === 'invalid_grant' &&\n error.errorSummary === 'The refresh token is invalid or expired.';\n}\n"],"mappings":";;;;;AAcA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMO,SAASA,0BAA0B,CAACC,KAAY,EAAE;EACvD,IAAIA,KAAK,CAACC,IAAI,KAAK,YAAY,EAAE;IAC/B,OAAO,KAAK;EACd;EACA,MAAMC,UAAU,GAAGF,KAAmB;EACtC,OAAQE,UAAU,CAACC,SAAS,KAAK,sBAAsB;AACzD;AAEO,SAASC,wBAAwB,CAACC,GAA2B,EAAEL,KAAY,EAAE;EAClF,IAAIA,KAAK,CAACC,IAAI,KAAK,cAAc,EAAE;IACjC,OAAO,KAAK;EACd;EACA,MAAMK,YAAY,GAAGN,KAAqB;EAC1C;EACA,MAAMO,aAAa,GAAGD,YAAY,CAACE,GAAyC;EAC5E,MAAMC,YAAY,GAAGF,aAAa,EAAEE,YAAuC;EAC3E,OAAOJ,GAAG,CAACK,OAAO,CAACC,IAAI,IAAKF,YAAY,EAAET,KAAK,KAAe,eAAgB;AAChF;AAEO,SAASY,0BAA0B,CAACZ,KAAc,EAAW;EAClE;EACA,OAAO,IAAAa,oBAAY,EAACb,KAAK,CAAC,IACxBA,KAAK,CAACG,SAAS,KAAK,eAAe,IACnCH,KAAK,CAACc,YAAY,KAAK,0CAA0C;AACrE"}
|
|
@@ -33,7 +33,7 @@ function validateClaims(sdk, claims, validationParams) {
|
|
|
33
33
|
if (claims.iss !== iss) {
|
|
34
34
|
throw new _AuthSdkError.default('The issuer [' + claims.iss + '] ' + 'does not match [' + iss + ']');
|
|
35
35
|
}
|
|
36
|
-
if (claims.aud !== aud) {
|
|
36
|
+
if (Array.isArray(claims.aud) && claims.aud.indexOf(aud) < 0 || !Array.isArray(claims.aud) && claims.aud !== aud) {
|
|
37
37
|
throw new _AuthSdkError.default('The audience [' + claims.aud + '] ' + 'does not match [' + aud + ']');
|
|
38
38
|
}
|
|
39
39
|
if (acr && claims.acr !== acr) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateClaims.js","names":["validateClaims","sdk","claims","validationParams","aud","clientId","iss","issuer","nonce","acr","acrValues","AuthSdkError","now","Math","floor","Date","iat","exp","options","ignoreLifetime","maxClockSkew"],"sources":["../../../../lib/oidc/util/validateClaims.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/*!\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/* eslint-disable complexity, max-statements */\n\nimport AuthSdkError from '../../errors/AuthSdkError';\nimport { OktaAuthOAuthInterface, TokenVerifyParams, UserClaims } from '../../oidc/types';\n\nexport function validateClaims(sdk: OktaAuthOAuthInterface, claims: UserClaims, validationParams: TokenVerifyParams) {\n const aud = validationParams.clientId;\n const iss = validationParams.issuer;\n const nonce = validationParams.nonce;\n const acr = validationParams.acrValues;\n\n if (!claims || !iss || !aud) {\n throw new AuthSdkError('The jwt, iss, and aud arguments are all required');\n }\n\n if (nonce && claims.nonce !== nonce) {\n throw new AuthSdkError('OAuth flow response nonce doesn\\'t match request nonce');\n }\n\n const now = Math.floor(Date.now()/1000);\n\n if (claims.iss !== iss) {\n throw new AuthSdkError('The issuer [' + claims.iss + '] ' +\n 'does not match [' + iss + ']');\n }\n\n if (claims.aud !== aud)
|
|
1
|
+
{"version":3,"file":"validateClaims.js","names":["validateClaims","sdk","claims","validationParams","aud","clientId","iss","issuer","nonce","acr","acrValues","AuthSdkError","now","Math","floor","Date","Array","isArray","indexOf","iat","exp","options","ignoreLifetime","maxClockSkew"],"sources":["../../../../lib/oidc/util/validateClaims.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/*!\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/* eslint-disable complexity, max-statements */\n\nimport AuthSdkError from '../../errors/AuthSdkError';\nimport { OktaAuthOAuthInterface, TokenVerifyParams, UserClaims } from '../../oidc/types';\n\nexport function validateClaims(sdk: OktaAuthOAuthInterface, claims: UserClaims, validationParams: TokenVerifyParams) {\n const aud = validationParams.clientId;\n const iss = validationParams.issuer;\n const nonce = validationParams.nonce;\n const acr = validationParams.acrValues;\n\n if (!claims || !iss || !aud) {\n throw new AuthSdkError('The jwt, iss, and aud arguments are all required');\n }\n\n if (nonce && claims.nonce !== nonce) {\n throw new AuthSdkError('OAuth flow response nonce doesn\\'t match request nonce');\n }\n\n const now = Math.floor(Date.now()/1000);\n\n if (claims.iss !== iss) {\n throw new AuthSdkError('The issuer [' + claims.iss + '] ' +\n 'does not match [' + iss + ']');\n }\n\n if ((Array.isArray(claims.aud) && claims.aud.indexOf(aud) < 0) ||\n (!Array.isArray(claims.aud) && claims.aud !== aud))\n {\n throw new AuthSdkError('The audience [' + claims.aud + '] ' +\n 'does not match [' + aud + ']');\n }\n\n if (acr && claims.acr !== acr) {\n throw new AuthSdkError('The acr [' + claims.acr + '] ' +\n 'does not match acr_values [' + acr + ']');\n }\n\n if (claims.iat! > claims.exp!) {\n throw new AuthSdkError('The JWT expired before it was issued');\n }\n\n if (!sdk.options.ignoreLifetime) {\n if ((now - sdk.options.maxClockSkew!) > claims.exp!) {\n throw new AuthSdkError('The JWT expired and is no longer valid');\n }\n\n if (claims.iat! > (now + sdk.options.maxClockSkew!)) {\n throw new AuthSdkError('The JWT was issued in the future');\n }\n }\n}\n"],"mappings":";;;;AAeA;AAfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKO,SAASA,cAAc,CAACC,GAA2B,EAAEC,MAAkB,EAAEC,gBAAmC,EAAE;EACnH,MAAMC,GAAG,GAAGD,gBAAgB,CAACE,QAAQ;EACrC,MAAMC,GAAG,GAAGH,gBAAgB,CAACI,MAAM;EACnC,MAAMC,KAAK,GAAGL,gBAAgB,CAACK,KAAK;EACpC,MAAMC,GAAG,GAAGN,gBAAgB,CAACO,SAA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C,cAAc,EAAE;IAC/B,IAAKV,GAAG,GAAGX,GAAG,CAACoB,OAAO,CAACE,YAAa,GAAIrB,MAAM,CAACkB,GAAI,EAAE;MACnD,MAAM,IAAIT,qBAAY,CAAC,wCAAwC,CAAC;IAClE;IAEA,IAAIT,MAAM,CAACiB,GAAG,GAAKP,GAAG,GAAGX,GAAG,CAACoB,OAAO,CAACE,YAAc,EAAE;MACnD,MAAM,IAAIZ,qBAAY,CAAC,kCAAkC,CAAC;IAC5D;EACF;AACF"}
|
package/cjs/oidc/verifyToken.js
CHANGED
|
@@ -34,7 +34,7 @@ async function verifyToken(sdk, token, validationParams) {
|
|
|
34
34
|
|
|
35
35
|
// The configured issuer may point to a frontend proxy.
|
|
36
36
|
// Get the "real" issuer from .well-known/openid-configuration
|
|
37
|
-
const configuredIssuer =
|
|
37
|
+
const configuredIssuer = validationParams?.issuer || sdk.options.issuer;
|
|
38
38
|
const {
|
|
39
39
|
issuer
|
|
40
40
|
} = await (0, _wellKnown.getWellKnown)(sdk, configuredIssuer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyToken.js","names":["verifyToken","sdk","token","validationParams","idToken","AuthSdkError","jwt","decodeToken","configuredIssuer","issuer","options","getWellKnown","validationOptions","Object","assign","clientId","ignoreSignature","validateClaims","payload","features","isTokenVerifySupported","key","getKey","header","kid","valid","sdkCrypto","accessToken","claims","at_hash","hash","getOidcHash"],"sources":["../../../lib/oidc/verifyToken.ts"],"sourcesContent":["/* eslint-disable max-len */\n/* eslint-disable complexity */\n/*!\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 { getWellKnown, getKey } from './endpoints/well-known';\nimport { validateClaims } from './util';\nimport { AuthSdkError } from '../errors';\nimport { IDToken, OktaAuthOAuthInterface, TokenVerifyParams } from '../oidc/types';\nimport { decodeToken } from './decodeToken';\nimport * as sdkCrypto from '../crypto';\n\n// Verify the id token\nexport async function verifyToken(sdk: OktaAuthOAuthInterface, token: IDToken, validationParams: TokenVerifyParams): Promise<IDToken> {\n if (!token || !token.idToken) {\n throw new AuthSdkError('Only idTokens may be verified');\n }\n\n // Decode the Jwt object (may throw)\n const jwt = decodeToken(token.idToken);\n\n // The configured issuer may point to a frontend proxy.\n // Get the \"real\" issuer from .well-known/openid-configuration\n const configuredIssuer = validationParams?.issuer || sdk.options.issuer;\n const { issuer } = await getWellKnown(sdk, configuredIssuer);\n\n const validationOptions: TokenVerifyParams = Object.assign({\n // base options, can be overridden by params\n clientId: sdk.options.clientId,\n ignoreSignature: sdk.options.ignoreSignature\n }, validationParams, {\n // final options, cannot be overridden\n issuer\n });\n\n // Standard claim validation (may throw)\n validateClaims(sdk, jwt.payload, validationOptions);\n\n // If the browser doesn't support native crypto or we choose not\n // to verify the signature, bail early\n if (validationOptions.ignoreSignature == true || !sdk.features.isTokenVerifySupported()) {\n return token;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const key = await getKey(sdk, token.issuer, jwt.header.kid!);\n const valid = await sdkCrypto.verifyToken(token.idToken, key);\n if (!valid) {\n throw new AuthSdkError('The token signature is not valid');\n }\n if (validationParams && validationParams.accessToken && token.claims.at_hash) {\n const hash = await sdkCrypto.getOidcHash(validationParams.accessToken);\n if (hash !== token.claims.at_hash) {\n throw new AuthSdkError('Token hash verification failed');\n }\n }\n return token;\n}\n"],"mappings":";;;AAcA;AACA;AACA;AAEA;AACA;AAAuC;AAAA;AAnBvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA;AACO,eAAeA,WAAW,CAACC,GAA2B,EAAEC,KAAc,EAAEC,gBAAmC,EAAoB;EACpI,IAAI,CAACD,KAAK,IAAI,CAACA,KAAK,CAACE,OAAO,EAAE;IAC5B,MAAM,IAAIC,oBAAY,CAAC,+BAA+B,CAAC;EACzD;;EAEA;EACA,MAAMC,GAAG,GAAG,IAAAC,wBAAW,EAACL,KAAK,CAACE,OAAO,CAAC;;EAEtC;EACA;EACA,MAAMI,gBAAgB,
|
|
1
|
+
{"version":3,"file":"verifyToken.js","names":["verifyToken","sdk","token","validationParams","idToken","AuthSdkError","jwt","decodeToken","configuredIssuer","issuer","options","getWellKnown","validationOptions","Object","assign","clientId","ignoreSignature","validateClaims","payload","features","isTokenVerifySupported","key","getKey","header","kid","valid","sdkCrypto","accessToken","claims","at_hash","hash","getOidcHash"],"sources":["../../../lib/oidc/verifyToken.ts"],"sourcesContent":["/* eslint-disable max-len */\n/* eslint-disable complexity */\n/*!\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 { getWellKnown, getKey } from './endpoints/well-known';\nimport { validateClaims } from './util';\nimport { AuthSdkError } from '../errors';\nimport { IDToken, OktaAuthOAuthInterface, TokenVerifyParams } from '../oidc/types';\nimport { decodeToken } from './decodeToken';\nimport * as sdkCrypto from '../crypto';\n\n// Verify the id token\nexport async function verifyToken(sdk: OktaAuthOAuthInterface, token: IDToken, validationParams: TokenVerifyParams): Promise<IDToken> {\n if (!token || !token.idToken) {\n throw new AuthSdkError('Only idTokens may be verified');\n }\n\n // Decode the Jwt object (may throw)\n const jwt = decodeToken(token.idToken);\n\n // The configured issuer may point to a frontend proxy.\n // Get the \"real\" issuer from .well-known/openid-configuration\n const configuredIssuer = validationParams?.issuer || sdk.options.issuer;\n const { issuer } = await getWellKnown(sdk, configuredIssuer);\n\n const validationOptions: TokenVerifyParams = Object.assign({\n // base options, can be overridden by params\n clientId: sdk.options.clientId,\n ignoreSignature: sdk.options.ignoreSignature\n }, validationParams, {\n // final options, cannot be overridden\n issuer\n });\n\n // Standard claim validation (may throw)\n validateClaims(sdk, jwt.payload, validationOptions);\n\n // If the browser doesn't support native crypto or we choose not\n // to verify the signature, bail early\n if (validationOptions.ignoreSignature == true || !sdk.features.isTokenVerifySupported()) {\n return token;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const key = await getKey(sdk, token.issuer, jwt.header.kid!);\n const valid = await sdkCrypto.verifyToken(token.idToken, key);\n if (!valid) {\n throw new AuthSdkError('The token signature is not valid');\n }\n if (validationParams && validationParams.accessToken && token.claims.at_hash) {\n const hash = await sdkCrypto.getOidcHash(validationParams.accessToken);\n if (hash !== token.claims.at_hash) {\n throw new AuthSdkError('Token hash verification failed');\n }\n }\n return token;\n}\n"],"mappings":";;;AAcA;AACA;AACA;AAEA;AACA;AAAuC;AAAA;AAnBvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA;AACO,eAAeA,WAAW,CAACC,GAA2B,EAAEC,KAAc,EAAEC,gBAAmC,EAAoB;EACpI,IAAI,CAACD,KAAK,IAAI,CAACA,KAAK,CAACE,OAAO,EAAE;IAC5B,MAAM,IAAIC,oBAAY,CAAC,+BAA+B,CAAC;EACzD;;EAEA;EACA,MAAMC,GAAG,GAAG,IAAAC,wBAAW,EAACL,KAAK,CAACE,OAAO,CAAC;;EAEtC;EACA;EACA,MAAMI,gBAAgB,GAAGL,gBAAgB,EAAEM,MAAM,IAAIR,GAAG,CAACS,OAAO,CAACD,MAAM;EACvE,MAAM;IAAEA;EAAO,CAA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27
|
onLeaderDuplicate() {}
|
|
28
28
|
async onLeader() {
|
|
29
|
-
|
|
30
|
-
await ((_this$options$onLeade = (_this$options = this.options).onLeader) === null || _this$options$onLeade === void 0 ? void 0 : _this$options$onLeade.call(_this$options));
|
|
29
|
+
await this.options.onLeader?.();
|
|
31
30
|
}
|
|
32
31
|
isLeader() {
|
|
33
|
-
|
|
34
|
-
return !!((_this$elector = this.elector) !== null && _this$elector !== void 0 && _this$elector.isLeader);
|
|
32
|
+
return !!this.elector?.isLeader;
|
|
35
33
|
}
|
|
36
34
|
hasLeader() {
|
|
37
|
-
|
|
38
|
-
return !!((_this$elector2 = this.elector) !== null && _this$elector2 !== void 0 && _this$elector2.hasLeader);
|
|
35
|
+
return !!this.elector?.hasLeader;
|
|
39
36
|
}
|
|
40
37
|
async start() {
|
|
41
38
|
if (this.canStart()) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LeaderElectionService.js","names":["LeaderElectionService","constructor","options","onLeaderDuplicate","bind","onLeader","isLeader","elector","hasLeader","start","canStart","electionChannelName","channel","BroadcastChannel","createLeaderElection","onduplicate","awaitLeadership","then","started","stop","die","undefined","postInternal","Promise","resolve","close","requiresLeadership","isStarted","isBrowser"],"sources":["../../../lib/services/LeaderElectionService.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\nimport { ServiceInterface, ServiceManagerOptions } from '../core/types';\nimport {\n BroadcastChannel,\n createLeaderElection,\n LeaderElector\n} from 'broadcast-channel';\nimport { isBrowser } from '../features';\n\ndeclare type OnLeaderHandler = (() => Promise<void>);\ndeclare type ServiceOptions = ServiceManagerOptions & {\n onLeader?: OnLeaderHandler;\n};\n\nexport class LeaderElectionService implements ServiceInterface {\n private options: ServiceOptions;\n private channel?: BroadcastChannel;\n private elector?: LeaderElector;\n private started = false;\n\n constructor(options: ServiceOptions = {}) {\n this.options = options;\n this.onLeaderDuplicate = this.onLeaderDuplicate.bind(this);\n this.onLeader = this.onLeader.bind(this);\n }\n\n private onLeaderDuplicate() {\n }\n\n private async onLeader() {\n await this.options.onLeader?.();\n }\n\n isLeader() {\n return !!this.elector?.isLeader;\n }\n\n hasLeader() {\n return !!this.elector?.hasLeader;\n }\n\n async start() {\n if (this.canStart()) {\n const { electionChannelName } = this.options;\n this.channel = new BroadcastChannel(electionChannelName as string);\n this.elector = createLeaderElection(this.channel);\n this.elector.onduplicate = this.onLeaderDuplicate;\n this.elector.awaitLeadership().then(this.onLeader);\n this.started = true;\n }\n }\n\n async stop() {\n if (this.started) {\n if (this.elector) {\n await this.elector.die();\n this.elector = undefined;\n }\n if (this.channel) {\n // Workaround to fix error `Failed to execute 'postMessage' on 'BroadcastChannel': Channel is closed`\n (this.channel as any).postInternal = () => Promise.resolve();\n await this.channel.close();\n this.channel = undefined;\n }\n this.started = false;\n }\n }\n\n requiresLeadership() {\n return false;\n }\n\n isStarted() {\n return this.started;\n }\n\n canStart() {\n return isBrowser() && !this.started;\n }\n\n}\n"],"mappings":";;;;;AAcA;AAKA;AAnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAgBO,MAAMA,qBAAqB,CAA6B;EAM7DC,WAAW,CAACC,OAAuB,GAAG,CAAC,CAAC,EAAE;IAAA,+CAFxB,KAAK;IAGrB,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,iBAAiB,GAAG,IAAI,CAACA,iBAAiB,CAACC,IAAI,CAAC,IAAI,CAAC;IAC1D,IAAI,CAACC,QAAQ,GAAG,IAAI,CAACA,QAAQ,CAACD,IAAI,CAAC,IAAI,CAAC;EAC1C;EAEQD,iBAAiB,GAAG,CAC5B;EAEA,MAAcE,QAAQ,GAAG;
|
|
1
|
+
{"version":3,"file":"LeaderElectionService.js","names":["LeaderElectionService","constructor","options","onLeaderDuplicate","bind","onLeader","isLeader","elector","hasLeader","start","canStart","electionChannelName","channel","BroadcastChannel","createLeaderElection","onduplicate","awaitLeadership","then","started","stop","die","undefined","postInternal","Promise","resolve","close","requiresLeadership","isStarted","isBrowser"],"sources":["../../../lib/services/LeaderElectionService.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\nimport { ServiceInterface, ServiceManagerOptions } from '../core/types';\nimport {\n BroadcastChannel,\n createLeaderElection,\n LeaderElector\n} from 'broadcast-channel';\nimport { isBrowser } from '../features';\n\ndeclare type OnLeaderHandler = (() => Promise<void>);\ndeclare type ServiceOptions = ServiceManagerOptions & {\n onLeader?: OnLeaderHandler;\n};\n\nexport class LeaderElectionService implements ServiceInterface {\n private options: ServiceOptions;\n private channel?: BroadcastChannel;\n private elector?: LeaderElector;\n private started = false;\n\n constructor(options: ServiceOptions = {}) {\n this.options = options;\n this.onLeaderDuplicate = this.onLeaderDuplicate.bind(this);\n this.onLeader = this.onLeader.bind(this);\n }\n\n private onLeaderDuplicate() {\n }\n\n private async onLeader() {\n await this.options.onLeader?.();\n }\n\n isLeader() {\n return !!this.elector?.isLeader;\n }\n\n hasLeader() {\n return !!this.elector?.hasLeader;\n }\n\n async start() {\n if (this.canStart()) {\n const { electionChannelName } = this.options;\n this.channel = new BroadcastChannel(electionChannelName as string);\n this.elector = createLeaderElection(this.channel);\n this.elector.onduplicate = this.onLeaderDuplicate;\n this.elector.awaitLeadership().then(this.onLeader);\n this.started = true;\n }\n }\n\n async stop() {\n if (this.started) {\n if (this.elector) {\n await this.elector.die();\n this.elector = undefined;\n }\n if (this.channel) {\n // Workaround to fix error `Failed to execute 'postMessage' on 'BroadcastChannel': Channel is closed`\n (this.channel as any).postInternal = () => Promise.resolve();\n await this.channel.close();\n this.channel = undefined;\n }\n this.started = false;\n }\n }\n\n requiresLeadership() {\n return false;\n }\n\n isStarted() {\n return this.started;\n }\n\n canStart() {\n return isBrowser() && !this.started;\n }\n\n}\n"],"mappings":";;;;;AAcA;AAKA;AAnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAgBO,MAAMA,qBAAqB,CAA6B;EAM7DC,WAAW,CAACC,OAAuB,GAAG,CAAC,CAAC,EAAE;IAAA,+CAFxB,KAAK;IAGrB,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,iBAAiB,GAAG,IAAI,CAACA,iBAAiB,CAACC,IAAI,CAAC,IAAI,CAAC;IAC1D,IAAI,CAACC,QAAQ,GAAG,IAAI,CAACA,QAAQ,CAACD,IAAI,CAAC,IAAI,CAAC;EAC1C;EAEQD,iBAAiB,GAAG,CAC5B;EAEA,MAAcE,QAAQ,GAAG;IACvB,MAAM,IAAI,CAACH,OAAO,CAACG,QAAQ,IAAI;EACjC;EAEAC,QAAQ,GAAG;IACT,OAAO,CAAC,CAAC,IAAI,CAACC,OAAO,EAAED,QAAQ;EACjC;EAEAE,SAAS,GAAG;IACV,OAAO,CAAC,CAAC,IAAI,CAACD,OAAO,EAAEC,SAAS;EAClC;EAEA,MAAMC,KAAK,GAAG;IACZ,IAAI,IAAI,CAACC,QAAQ,EAAE,EAAE;MACnB,MAAM;QAAEC;MAAoB,CAAC,GAAG,IAAI,CAACT,OAAO;MAC5C,IAAI,CAACU,OAAO,GAAG,IAAIC,kCAAgB,CAACF,mBAAmB,CAAW;MAClE,IAAI,CAACJ,OAAO,GAAG,IAAAO,sCAAoB,EAAC,IAAI,CAACF,OAAO,CAAC;MACjD,IAAI,CAACL,OAAO,CAACQ,WAAW,GAAG,IAAI,CAACZ,iBAAiB;MACjD,IAAI,CAACI,OAAO,CAACS,eAAe,EAAE,CAACC,IAAI,CAAC,IAAI,CAACZ,QAAQ,CAAC;MAClD,IAAI,CAACa,OAAO,GAAG,IAAI;IACrB;EACF;EAEA,MAAMC,IAAI,GAAG;IACX,IAAI,IAAI,CAACD,OAAO,EAAE;MAChB,IAAI,IAAI,CAACX,OAAO,EAAE;QAChB,MAAM,IAAI,CAACA,OAAO,CAACa,GAAG,EAAE;QACxB,IAAI,CAACb,OAAO,GAAGc,SAAS;MAC1B;MACA,IAAI,IAAI,CAACT,OAAO,EAAE;QAChB;QACC,IAAI,CAACA,OAAO,CAASU,YAAY,GAAG,MAAMC,OAAO,CAACC,OAAO,EAAE;QAC5D,MAAM,IAAI,CAACZ,OAAO,CAACa,KAAK,EAAE;QAC1B,IAAI,CAACb,OAAO,GAAGS,SAAS;MAC1B;MACA,IAAI,CAACH,OAAO,GAAG,KAAK;IACtB;EACF;EAEAQ,kBAAkB,GAAG;IACnB,OAAO,KAAK;EACd;EAEAC,SAAS,GAAG;IACV,OAAO,IAAI,CAACT,OAAO;EACrB;EAEAR,QAAQ,GAAG;IACT,OAAO,IAAAkB,mBAAS,GAAE,IAAI,CAAC,IAAI,CAACV,OAAO;EACrC;AAEF;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,kBAAkB,CAA6B;EAO1DC,WAAW,CAACC,YAAmC,EAAEC,OAA8B,GAAG,CAAC,CAAC,EAAE;IAAA,+CAHpE,KAAK;IAAA,yDACK,IAAI;IAG9B,IAAI,CAACD,YAAY,GAAGA,YAAY;IAChC,IAAI,CAACC,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,mBAAmB,GAAG,IAAI,CAACA,mBAAmB,CAACC,IAAI,CAAC,I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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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBO,MAAMA,kBAAkB,CAA6B;EAO1DC,WAAW,CAACC,YAAmC,EAAEC,OAA8B,GAAG,CAAC,CAAC,EAAE;IAAA,+CAHpE,KAAK;IAAA,yDACK,IAAI;IAG9B,IAAI,CAACD,YAAY,GAAGA,YAAY;IAChC,IAAI,CAACC,OAAO,GAAGA,OAAO;IAC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EAAGM,GAAG,CAACF,QAAQ,CAAC;QACjE;MACF;QACE;IAAM;IAEV,IAAI,CAACH,iBAAiB,GAAG,IAAI;EAC/B;AACF;AAAC"}
|
|
@@ -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 [24 Jan 2024 at 08:26]</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/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7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GwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+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":465176,"parsedSize":216308,"gzipSize":49306,"groups":[{"label":"lib","path":"./lib","statSize":352389,"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":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":2085},{"id":8958,"label":"types.ts","path":"./lib/http/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":9259,"gzipSize":3162},{"label":"oidc","path":"./lib/oidc","statSize":168618,"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":3381,"parsedSize":1413,"gzipSize":794},{"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":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":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":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":4674},{"id":1260,"label":"verifyToken.ts","path":"./lib/oidc/verifyToken.ts","statSize":4688,"parsedSize":1950,"gzipSize":932}],"parsedSize":78376,"gzipSize":17637},{"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":164296,"gzipSize":34982},{"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":4173},{"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}]}];
|
|
35
35
|
window.defaultSizes = "stat";
|
|
36
36
|
</script>
|
|
37
37
|
</body>
|