From de255cdc3ba62f7f8486a2a0eded70cf51b028e7 Mon Sep 17 00:00:00 2001 From: Steve Hobbs Date: Wed, 30 Oct 2019 13:59:45 +0000 Subject: [PATCH] Release 1.4.0 (#258) --- CHANGELOG.md | 18 +- docs/assets/js/search.js | 2 +- docs/classes/auth0client.html | 35 +- docs/classes/authenticationerror.html | 31 +- docs/classes/fakelock.html | 2555 +++++++++++++++++ docs/globals.html | 70 +- docs/index.html | 70 +- docs/interfaces/auth0clientoptions.html | 48 +- docs/interfaces/getidtokenclaimsoptions.html | 19 +- docs/interfaces/gettokensilentlyoptions.html | 23 +- docs/interfaces/gettokenwithpopupoptions.html | 35 +- docs/interfaces/getuseroptions.html | 19 +- docs/interfaces/logoutoptions.html | 21 +- docs/interfaces/popupconfigoptions.html | 17 +- docs/interfaces/popuploginoptions.html | 35 +- docs/interfaces/redirectloginoptions.html | 39 +- docs/interfaces/redirectloginresult.html | 17 +- package.json | 2 +- src/version.ts | 2 +- 19 files changed, 2971 insertions(+), 87 deletions(-) create mode 100644 docs/classes/fakelock.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b76cbf10..8b81b3a8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,26 @@ -## [v.1.3.2](https://github.com/auth0/auth0-spa-js/tree/v1.3.2) (2019-10-17) +## [v1.4.0](https://github.com/auth0/auth0-spa-js/tree/v1.4.0) (2019-10-30) + +**Added** +Add 'lock' to prevent `getTokenSilently` to be invoked in parallel https://github.com/auth0/auth0-spa-js/pull/238 +Improved OIDC compliance https://github.com/auth0/auth0-spa-js/pull/248 + +**Fixed** +Fix for race condition when using `sha256` on IE11 https://github.com/auth0/auth0-spa-js/pull/252 +Fixed the codeowners file with the correct group https://github.com/auth0/auth0-spa-js/pull/253 +Document leeway default value https://github.com/auth0/auth0-spa-js/pull/256 +Clear transaction data on error https://github.com/auth0/auth0-spa-js/pull/254 + +## [v1.3.2](https://github.com/auth0/auth0-spa-js/tree/v1.3.2) (2019-10-17) **Fixed** `parseQueryString` now removes hash fragment on query before parsing https://github.com/auth0/auth0-spa-js/pull/246 -## [v.1.3.1](https://github.com/auth0/auth0-spa-js/tree/v1.3.1) (2019-10-14) +## [v1.3.1](https://github.com/auth0/auth0-spa-js/tree/v1.3.1) (2019-10-14) **Fixed** Fix IE msCrypto.subtle usage https://github.com/auth0/auth0-spa-js/pull/242 -## [v.1.3.0](https://github.com/auth0/auth0-spa-js/tree/v1.3.0) (2019-10-10) +## [v1.3.0](https://github.com/auth0/auth0-spa-js/tree/v1.3.0) (2019-10-10) **Fixed** Add missing char for nonce/state generation https://github.com/auth0/auth0-spa-js/pull/230 diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index 55c88c26b..816cc4f20 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":128,"name":"AuthenticationError","url":"classes/authenticationerror.html","classes":"tsd-kind-class"},{"id":1,"kind":512,"name":"constructor","url":"classes/authenticationerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"AuthenticationError"},{"id":2,"kind":1024,"name":"error","url":"classes/authenticationerror.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"AuthenticationError"},{"id":3,"kind":1024,"name":"error_description","url":"classes/authenticationerror.html#error_description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"AuthenticationError"},{"id":4,"kind":1024,"name":"state","url":"classes/authenticationerror.html#state","classes":"tsd-kind-property tsd-parent-kind-class","parent":"AuthenticationError"},{"id":5,"kind":1024,"name":"name","url":"classes/authenticationerror.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"AuthenticationError"},{"id":6,"kind":1024,"name":"message","url":"classes/authenticationerror.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"AuthenticationError"},{"id":7,"kind":1024,"name":"stack","url":"classes/authenticationerror.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"AuthenticationError"},{"id":8,"kind":1024,"name":"Error","url":"classes/authenticationerror.html#error-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"AuthenticationError"},{"id":9,"kind":128,"name":"Auth0Client","url":"classes/auth0client.html","classes":"tsd-kind-class"},{"id":10,"kind":512,"name":"constructor","url":"classes/auth0client.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Auth0Client"},{"id":11,"kind":2048,"name":"loginWithPopup","url":"classes/auth0client.html#loginwithpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":12,"kind":2048,"name":"getUser","url":"classes/auth0client.html#getuser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":13,"kind":2048,"name":"getIdTokenClaims","url":"classes/auth0client.html#getidtokenclaims","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":14,"kind":2048,"name":"loginWithRedirect","url":"classes/auth0client.html#loginwithredirect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":15,"kind":2048,"name":"handleRedirectCallback","url":"classes/auth0client.html#handleredirectcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":16,"kind":2048,"name":"getTokenSilently","url":"classes/auth0client.html#gettokensilently","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":17,"kind":2048,"name":"getTokenWithPopup","url":"classes/auth0client.html#gettokenwithpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":18,"kind":2048,"name":"isAuthenticated","url":"classes/auth0client.html#isauthenticated","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":19,"kind":2048,"name":"logout","url":"classes/auth0client.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":20,"kind":256,"name":"Auth0ClientOptions","url":"interfaces/auth0clientoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":21,"kind":1024,"name":"domain","url":"interfaces/auth0clientoptions.html#domain","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":22,"kind":1024,"name":"issuer","url":"interfaces/auth0clientoptions.html#issuer","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":23,"kind":1024,"name":"client_id","url":"interfaces/auth0clientoptions.html#client_id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":24,"kind":1024,"name":"redirect_uri","url":"interfaces/auth0clientoptions.html#redirect_uri","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":25,"kind":1024,"name":"leeway","url":"interfaces/auth0clientoptions.html#leeway","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":26,"kind":1024,"name":"display","url":"interfaces/auth0clientoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":27,"kind":1024,"name":"prompt","url":"interfaces/auth0clientoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":28,"kind":1024,"name":"max_age","url":"interfaces/auth0clientoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":29,"kind":1024,"name":"ui_locales","url":"interfaces/auth0clientoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":30,"kind":1024,"name":"id_token_hint","url":"interfaces/auth0clientoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":31,"kind":1024,"name":"login_hint","url":"interfaces/auth0clientoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":32,"kind":1024,"name":"acr_values","url":"interfaces/auth0clientoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":33,"kind":1024,"name":"scope","url":"interfaces/auth0clientoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":34,"kind":1024,"name":"audience","url":"interfaces/auth0clientoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":35,"kind":1024,"name":"connection","url":"interfaces/auth0clientoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":36,"kind":256,"name":"RedirectLoginOptions","url":"interfaces/redirectloginoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":37,"kind":1024,"name":"redirect_uri","url":"interfaces/redirectloginoptions.html#redirect_uri","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":38,"kind":1024,"name":"appState","url":"interfaces/redirectloginoptions.html#appstate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":39,"kind":1024,"name":"display","url":"interfaces/redirectloginoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":40,"kind":1024,"name":"prompt","url":"interfaces/redirectloginoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":41,"kind":1024,"name":"max_age","url":"interfaces/redirectloginoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":42,"kind":1024,"name":"ui_locales","url":"interfaces/redirectloginoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":43,"kind":1024,"name":"id_token_hint","url":"interfaces/redirectloginoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":44,"kind":1024,"name":"login_hint","url":"interfaces/redirectloginoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":45,"kind":1024,"name":"acr_values","url":"interfaces/redirectloginoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":46,"kind":1024,"name":"scope","url":"interfaces/redirectloginoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":47,"kind":1024,"name":"audience","url":"interfaces/redirectloginoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":48,"kind":1024,"name":"connection","url":"interfaces/redirectloginoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":49,"kind":256,"name":"RedirectLoginResult","url":"interfaces/redirectloginresult.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":50,"kind":1024,"name":"appState","url":"interfaces/redirectloginresult.html#appstate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"RedirectLoginResult"},{"id":51,"kind":256,"name":"PopupLoginOptions","url":"interfaces/popuploginoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":52,"kind":1024,"name":"display","url":"interfaces/popuploginoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":53,"kind":1024,"name":"prompt","url":"interfaces/popuploginoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":54,"kind":1024,"name":"max_age","url":"interfaces/popuploginoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":55,"kind":1024,"name":"ui_locales","url":"interfaces/popuploginoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":56,"kind":1024,"name":"id_token_hint","url":"interfaces/popuploginoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":57,"kind":1024,"name":"login_hint","url":"interfaces/popuploginoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":58,"kind":1024,"name":"acr_values","url":"interfaces/popuploginoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":59,"kind":1024,"name":"scope","url":"interfaces/popuploginoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":60,"kind":1024,"name":"audience","url":"interfaces/popuploginoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":61,"kind":1024,"name":"connection","url":"interfaces/popuploginoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":62,"kind":256,"name":"PopupConfigOptions","url":"interfaces/popupconfigoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":63,"kind":1024,"name":"timeoutInSeconds","url":"interfaces/popupconfigoptions.html#timeoutinseconds","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"PopupConfigOptions"},{"id":64,"kind":256,"name":"GetUserOptions","url":"interfaces/getuseroptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":65,"kind":1024,"name":"scope","url":"interfaces/getuseroptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetUserOptions"},{"id":66,"kind":1024,"name":"audience","url":"interfaces/getuseroptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetUserOptions"},{"id":67,"kind":256,"name":"getIdTokenClaimsOptions","url":"interfaces/getidtokenclaimsoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":68,"kind":1024,"name":"scope","url":"interfaces/getidtokenclaimsoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"getIdTokenClaimsOptions"},{"id":69,"kind":1024,"name":"audience","url":"interfaces/getidtokenclaimsoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"getIdTokenClaimsOptions"},{"id":70,"kind":256,"name":"GetTokenSilentlyOptions","url":"interfaces/gettokensilentlyoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":71,"kind":1024,"name":"ignoreCache","url":"interfaces/gettokensilentlyoptions.html#ignorecache","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":72,"kind":1024,"name":"redirect_uri","url":"interfaces/gettokensilentlyoptions.html#redirect_uri","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":73,"kind":1024,"name":"scope","url":"interfaces/gettokensilentlyoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":74,"kind":1024,"name":"audience","url":"interfaces/gettokensilentlyoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":75,"kind":256,"name":"GetTokenWithPopupOptions","url":"interfaces/gettokenwithpopupoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":76,"kind":1024,"name":"display","url":"interfaces/gettokenwithpopupoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":77,"kind":1024,"name":"prompt","url":"interfaces/gettokenwithpopupoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":78,"kind":1024,"name":"max_age","url":"interfaces/gettokenwithpopupoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":79,"kind":1024,"name":"ui_locales","url":"interfaces/gettokenwithpopupoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":80,"kind":1024,"name":"id_token_hint","url":"interfaces/gettokenwithpopupoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":81,"kind":1024,"name":"login_hint","url":"interfaces/gettokenwithpopupoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":82,"kind":1024,"name":"acr_values","url":"interfaces/gettokenwithpopupoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":83,"kind":1024,"name":"scope","url":"interfaces/gettokenwithpopupoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":84,"kind":1024,"name":"audience","url":"interfaces/gettokenwithpopupoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":85,"kind":1024,"name":"connection","url":"interfaces/gettokenwithpopupoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":86,"kind":256,"name":"LogoutOptions","url":"interfaces/logoutoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":87,"kind":1024,"name":"returnTo","url":"interfaces/logoutoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"LogoutOptions"},{"id":88,"kind":1024,"name":"client_id","url":"interfaces/logoutoptions.html#client_id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"LogoutOptions"},{"id":89,"kind":1024,"name":"federated","url":"interfaces/logoutoptions.html#federated","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"LogoutOptions"},{"id":90,"kind":64,"name":"createAuth0Client","url":"globals.html#createauth0client","classes":"tsd-kind-function"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":128,"name":"FakeLock","url":"classes/fakelock.html","classes":"tsd-kind-class"},{"id":1,"kind":1024,"name":"acquireLock","url":"classes/fakelock.html#acquirelock","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FakeLock"},{"id":2,"kind":1024,"name":"releaseLock","url":"classes/fakelock.html#releaselock","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FakeLock"},{"id":3,"kind":32,"name":"acquireLockMock","url":"globals.html#acquirelockmock","classes":"tsd-kind-variable"},{"id":4,"kind":32,"name":"releaseLockMock","url":"globals.html#releaselockmock","classes":"tsd-kind-variable"},{"id":5,"kind":128,"name":"AuthenticationError","url":"classes/authenticationerror.html","classes":"tsd-kind-class"},{"id":6,"kind":512,"name":"constructor","url":"classes/authenticationerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"AuthenticationError"},{"id":7,"kind":1024,"name":"error","url":"classes/authenticationerror.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"AuthenticationError"},{"id":8,"kind":1024,"name":"error_description","url":"classes/authenticationerror.html#error_description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"AuthenticationError"},{"id":9,"kind":1024,"name":"state","url":"classes/authenticationerror.html#state","classes":"tsd-kind-property tsd-parent-kind-class","parent":"AuthenticationError"},{"id":10,"kind":1024,"name":"name","url":"classes/authenticationerror.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"AuthenticationError"},{"id":11,"kind":1024,"name":"message","url":"classes/authenticationerror.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"AuthenticationError"},{"id":12,"kind":1024,"name":"stack","url":"classes/authenticationerror.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"AuthenticationError"},{"id":13,"kind":1024,"name":"Error","url":"classes/authenticationerror.html#error-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"AuthenticationError"},{"id":14,"kind":128,"name":"Auth0Client","url":"classes/auth0client.html","classes":"tsd-kind-class"},{"id":15,"kind":512,"name":"constructor","url":"classes/auth0client.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Auth0Client"},{"id":16,"kind":2048,"name":"loginWithPopup","url":"classes/auth0client.html#loginwithpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":17,"kind":2048,"name":"getUser","url":"classes/auth0client.html#getuser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":18,"kind":2048,"name":"getIdTokenClaims","url":"classes/auth0client.html#getidtokenclaims","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":19,"kind":2048,"name":"loginWithRedirect","url":"classes/auth0client.html#loginwithredirect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":20,"kind":2048,"name":"handleRedirectCallback","url":"classes/auth0client.html#handleredirectcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":21,"kind":2048,"name":"getTokenSilently","url":"classes/auth0client.html#gettokensilently","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":22,"kind":2048,"name":"getTokenWithPopup","url":"classes/auth0client.html#gettokenwithpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":23,"kind":2048,"name":"isAuthenticated","url":"classes/auth0client.html#isauthenticated","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":24,"kind":2048,"name":"logout","url":"classes/auth0client.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Auth0Client"},{"id":25,"kind":32,"name":"lock","url":"globals.html#lock","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":26,"kind":32,"name":"GET_TOKEN_SILENTLY_LOCK_KEY","url":"globals.html#get_token_silently_lock_key","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":27,"kind":256,"name":"Auth0ClientOptions","url":"interfaces/auth0clientoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":28,"kind":1024,"name":"domain","url":"interfaces/auth0clientoptions.html#domain","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":29,"kind":1024,"name":"issuer","url":"interfaces/auth0clientoptions.html#issuer","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":30,"kind":1024,"name":"client_id","url":"interfaces/auth0clientoptions.html#client_id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":31,"kind":1024,"name":"redirect_uri","url":"interfaces/auth0clientoptions.html#redirect_uri","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":32,"kind":1024,"name":"leeway","url":"interfaces/auth0clientoptions.html#leeway","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":33,"kind":1024,"name":"display","url":"interfaces/auth0clientoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":34,"kind":1024,"name":"prompt","url":"interfaces/auth0clientoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":35,"kind":1024,"name":"max_age","url":"interfaces/auth0clientoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":36,"kind":1024,"name":"ui_locales","url":"interfaces/auth0clientoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":37,"kind":1024,"name":"id_token_hint","url":"interfaces/auth0clientoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":38,"kind":1024,"name":"login_hint","url":"interfaces/auth0clientoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":39,"kind":1024,"name":"acr_values","url":"interfaces/auth0clientoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":40,"kind":1024,"name":"scope","url":"interfaces/auth0clientoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":41,"kind":1024,"name":"audience","url":"interfaces/auth0clientoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":42,"kind":1024,"name":"connection","url":"interfaces/auth0clientoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"Auth0ClientOptions"},{"id":43,"kind":256,"name":"RedirectLoginOptions","url":"interfaces/redirectloginoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":44,"kind":1024,"name":"redirect_uri","url":"interfaces/redirectloginoptions.html#redirect_uri","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":45,"kind":1024,"name":"appState","url":"interfaces/redirectloginoptions.html#appstate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":46,"kind":1024,"name":"display","url":"interfaces/redirectloginoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":47,"kind":1024,"name":"prompt","url":"interfaces/redirectloginoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":48,"kind":1024,"name":"max_age","url":"interfaces/redirectloginoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":49,"kind":1024,"name":"ui_locales","url":"interfaces/redirectloginoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":50,"kind":1024,"name":"id_token_hint","url":"interfaces/redirectloginoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":51,"kind":1024,"name":"login_hint","url":"interfaces/redirectloginoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":52,"kind":1024,"name":"acr_values","url":"interfaces/redirectloginoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":53,"kind":1024,"name":"scope","url":"interfaces/redirectloginoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":54,"kind":1024,"name":"audience","url":"interfaces/redirectloginoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":55,"kind":1024,"name":"connection","url":"interfaces/redirectloginoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"RedirectLoginOptions"},{"id":56,"kind":256,"name":"RedirectLoginResult","url":"interfaces/redirectloginresult.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":57,"kind":1024,"name":"appState","url":"interfaces/redirectloginresult.html#appstate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"RedirectLoginResult"},{"id":58,"kind":256,"name":"PopupLoginOptions","url":"interfaces/popuploginoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":59,"kind":1024,"name":"display","url":"interfaces/popuploginoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":60,"kind":1024,"name":"prompt","url":"interfaces/popuploginoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":61,"kind":1024,"name":"max_age","url":"interfaces/popuploginoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":62,"kind":1024,"name":"ui_locales","url":"interfaces/popuploginoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":63,"kind":1024,"name":"id_token_hint","url":"interfaces/popuploginoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":64,"kind":1024,"name":"login_hint","url":"interfaces/popuploginoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":65,"kind":1024,"name":"acr_values","url":"interfaces/popuploginoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":66,"kind":1024,"name":"scope","url":"interfaces/popuploginoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":67,"kind":1024,"name":"audience","url":"interfaces/popuploginoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":68,"kind":1024,"name":"connection","url":"interfaces/popuploginoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"PopupLoginOptions"},{"id":69,"kind":256,"name":"PopupConfigOptions","url":"interfaces/popupconfigoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":70,"kind":1024,"name":"timeoutInSeconds","url":"interfaces/popupconfigoptions.html#timeoutinseconds","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"PopupConfigOptions"},{"id":71,"kind":256,"name":"GetUserOptions","url":"interfaces/getuseroptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":72,"kind":1024,"name":"scope","url":"interfaces/getuseroptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetUserOptions"},{"id":73,"kind":1024,"name":"audience","url":"interfaces/getuseroptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetUserOptions"},{"id":74,"kind":256,"name":"getIdTokenClaimsOptions","url":"interfaces/getidtokenclaimsoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":75,"kind":1024,"name":"scope","url":"interfaces/getidtokenclaimsoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"getIdTokenClaimsOptions"},{"id":76,"kind":1024,"name":"audience","url":"interfaces/getidtokenclaimsoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"getIdTokenClaimsOptions"},{"id":77,"kind":256,"name":"GetTokenSilentlyOptions","url":"interfaces/gettokensilentlyoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":78,"kind":1024,"name":"ignoreCache","url":"interfaces/gettokensilentlyoptions.html#ignorecache","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":79,"kind":1024,"name":"redirect_uri","url":"interfaces/gettokensilentlyoptions.html#redirect_uri","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":80,"kind":1024,"name":"scope","url":"interfaces/gettokensilentlyoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":81,"kind":1024,"name":"audience","url":"interfaces/gettokensilentlyoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenSilentlyOptions"},{"id":82,"kind":256,"name":"GetTokenWithPopupOptions","url":"interfaces/gettokenwithpopupoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":83,"kind":1024,"name":"display","url":"interfaces/gettokenwithpopupoptions.html#display","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":84,"kind":1024,"name":"prompt","url":"interfaces/gettokenwithpopupoptions.html#prompt","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":85,"kind":1024,"name":"max_age","url":"interfaces/gettokenwithpopupoptions.html#max_age","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":86,"kind":1024,"name":"ui_locales","url":"interfaces/gettokenwithpopupoptions.html#ui_locales","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":87,"kind":1024,"name":"id_token_hint","url":"interfaces/gettokenwithpopupoptions.html#id_token_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":88,"kind":1024,"name":"login_hint","url":"interfaces/gettokenwithpopupoptions.html#login_hint","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":89,"kind":1024,"name":"acr_values","url":"interfaces/gettokenwithpopupoptions.html#acr_values","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":90,"kind":1024,"name":"scope","url":"interfaces/gettokenwithpopupoptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":91,"kind":1024,"name":"audience","url":"interfaces/gettokenwithpopupoptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":92,"kind":1024,"name":"connection","url":"interfaces/gettokenwithpopupoptions.html#connection","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-not-exported","parent":"GetTokenWithPopupOptions"},{"id":93,"kind":256,"name":"LogoutOptions","url":"interfaces/logoutoptions.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":94,"kind":1024,"name":"returnTo","url":"interfaces/logoutoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"LogoutOptions"},{"id":95,"kind":1024,"name":"client_id","url":"interfaces/logoutoptions.html#client_id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"LogoutOptions"},{"id":96,"kind":1024,"name":"federated","url":"interfaces/logoutoptions.html#federated","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"LogoutOptions"},{"id":97,"kind":64,"name":"createAuth0Client","url":"globals.html#createauth0client","classes":"tsd-kind-function"}]}; \ No newline at end of file diff --git a/docs/classes/auth0client.html b/docs/classes/auth0client.html index 7bbf33161..9e32cb4ef 100644 --- a/docs/classes/auth0client.html +++ b/docs/classes/auth0client.html @@ -2413,6 +2413,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2443,6 +2446,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2504,7 +2519,7 @@

    constructor

  • Parameters

    @@ -2530,7 +2545,7 @@

    getIdTokenClaims

  • @@ -2561,7 +2576,7 @@

    getTokenSilently

  • @@ -2596,7 +2611,7 @@

    getTokenWithPopup

  • @@ -2633,7 +2648,7 @@

    getUser

  • @@ -2665,7 +2680,7 @@

    handleRedirectCallback

  • @@ -2690,7 +2705,7 @@

    isAuthenticated

  • @@ -2714,7 +2729,7 @@

    loginWithPopup

  • @@ -2754,7 +2769,7 @@

    loginWithRedirect

  • @@ -2787,7 +2802,7 @@

    logout

  • diff --git a/docs/classes/authenticationerror.html b/docs/classes/authenticationerror.html index 6d84ddce6..b3c1726a1 100644 --- a/docs/classes/authenticationerror.html +++ b/docs/classes/authenticationerror.html @@ -2407,6 +2407,9 @@
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2437,6 +2440,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2494,7 +2509,7 @@

    constructor

  • Parameters

    @@ -2522,7 +2537,7 @@

    error

    error: string
    @@ -2532,7 +2547,7 @@

    error_description

    error_description: string
    @@ -2543,7 +2558,7 @@

    message

    @@ -2554,7 +2569,7 @@

    name

    @@ -2566,7 +2581,7 @@

    Optional stack

    Inherited from Error.stack

    Overrides Error.stack

    @@ -2576,7 +2591,7 @@

    state

    state: string
    @@ -2586,7 +2601,7 @@

    Static Error

    Error: ErrorConstructor
    diff --git a/docs/classes/fakelock.html b/docs/classes/fakelock.html new file mode 100644 index 000000000..527536589 --- /dev/null +++ b/docs/classes/fakelock.html @@ -0,0 +1,2555 @@ + + + + + + FakeLock | @auth0/auth0-spa-js + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    + +
    +
    +
    +

    Hierarchy

    +
      +
    • + FakeLock +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    acquireLock

    +
    acquireLock: Mock<any, any> = acquireLockMock
    + +
    +
    + +

    releaseLock

    +
    releaseLock: Mock<any, any> = releaseLockMock
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/docs/globals.html b/docs/globals.html index 229ab3762..3923e187d 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2411,6 +2414,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2607,6 +2622,7 @@

    Classes

    @@ -2624,6 +2640,15 @@

    Interfaces

  • getIdTokenClaimsOptions
  • +
    +

    Variables

    + +

    Functions

    +
    +

    Variables

    +
    + +

    Const GET_TOKEN_SILENTLY_LOCK_KEY

    +
    GET_TOKEN_SILENTLY_LOCK_KEY: "auth0.lock.getTokenSilently" = "auth0.lock.getTokenSilently"
    + +
    +
    + +

    Const acquireLockMock

    +
    acquireLockMock: Mock<any, any> = jest.fn()
    + +
    +
    + +

    Const lock

    +
    lock: Lock = new Lock()
    + +
    +
    + +

    Const releaseLockMock

    +
    releaseLockMock: Mock<any, any> = jest.fn()
    + +
    +

    Functions

    @@ -2645,7 +2713,7 @@

    createAuth0Client

  • Parameters

    diff --git a/docs/index.html b/docs/index.html index 730d00920..922776815 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2411,6 +2414,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2608,6 +2623,7 @@

    Classes

    @@ -2625,6 +2641,15 @@

    Interfaces

  • getIdTokenClaimsOptions
  • +
    +

    Variables

    + +

    Functions

      @@ -2634,6 +2659,49 @@

      Functions

    +
    +

    Variables

    +
    + +

    Const GET_TOKEN_SILENTLY_LOCK_KEY

    +
    GET_TOKEN_SILENTLY_LOCK_KEY: "auth0.lock.getTokenSilently" = "auth0.lock.getTokenSilently"
    + +
    +
    + +

    Const acquireLockMock

    +
    acquireLockMock: Mock<any, any> = jest.fn()
    + +
    +
    + +

    Const lock

    +
    lock: Lock = new Lock()
    + +
    +
    + +

    Const releaseLockMock

    +
    releaseLockMock: Mock<any, any> = jest.fn()
    + +
    +

    Functions

    @@ -2646,7 +2714,7 @@

    createAuth0Client

  • Parameters

    diff --git a/docs/interfaces/auth0clientoptions.html b/docs/interfaces/auth0clientoptions.html index 816d49a8b..654e675b3 100644 --- a/docs/interfaces/auth0clientoptions.html +++ b/docs/interfaces/auth0clientoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2535,7 +2550,7 @@

    Optional audience

    @@ -2550,7 +2565,7 @@

    client_id

    client_id: string
    @@ -2566,7 +2581,7 @@

    Optional connection

    @@ -2584,7 +2599,7 @@

    Optional display

    @@ -2604,7 +2619,7 @@

    domain

    domain: string
    @@ -2622,7 +2637,7 @@

    Optional id_token_hi
    @@ -2637,7 +2652,7 @@

    Optional issuer

    issuer: string
    @@ -2652,13 +2667,14 @@

    Optional leeway

    leeway: number

    The value in seconds used to account for clock skew in JWT expirations. - Typically, this value is no more than a minute or two at maximum.

    + Typically, this value is no more than a minute or two at maximum. + Defaults to 60s.

    @@ -2669,7 +2685,7 @@

    Optional login_hint

    @@ -2687,7 +2703,7 @@

    Optional max_age

    @@ -2705,7 +2721,7 @@

    Optional prompt

    @@ -2725,7 +2741,7 @@

    Optional redirect_uri

    redirect_uri: string
    @@ -2745,7 +2761,7 @@

    Optional scope

    @@ -2762,7 +2778,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/getidtokenclaimsoptions.html b/docs/interfaces/getidtokenclaimsoptions.html index 04ab006b9..b2475326e 100644 --- a/docs/interfaces/getidtokenclaimsoptions.html +++ b/docs/interfaces/getidtokenclaimsoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2419,6 +2422,18 @@ +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2456,7 +2471,7 @@

    audience

    audience: string
    @@ -2471,7 +2486,7 @@

    scope

    scope: string
    diff --git a/docs/interfaces/gettokensilentlyoptions.html b/docs/interfaces/gettokensilentlyoptions.html index bc776a674..d2ce1266b 100644 --- a/docs/interfaces/gettokensilentlyoptions.html +++ b/docs/interfaces/gettokensilentlyoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2425,6 +2428,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2480,7 +2495,7 @@

    audience

    @@ -2495,7 +2510,7 @@

    Optional ignoreCache

    ignoreCache: boolean
    @@ -2511,7 +2526,7 @@

    Optional redirect_uri

    redirect_uri: string
    @@ -2532,7 +2547,7 @@

    scope

    diff --git a/docs/interfaces/gettokenwithpopupoptions.html b/docs/interfaces/gettokenwithpopupoptions.html index 0fcd2b362..5b982518e 100644 --- a/docs/interfaces/gettokenwithpopupoptions.html +++ b/docs/interfaces/gettokenwithpopupoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2443,6 +2446,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2504,7 +2519,7 @@

    Optional acr_values

    @@ -2515,7 +2530,7 @@

    Optional audience

    @@ -2531,7 +2546,7 @@

    Optional connection

    @@ -2549,7 +2564,7 @@

    Optional display

    @@ -2570,7 +2585,7 @@

    Optional id_token_hi
    @@ -2586,7 +2601,7 @@

    Optional login_hint

    @@ -2604,7 +2619,7 @@

    Optional max_age

    @@ -2622,7 +2637,7 @@

    Optional prompt

    @@ -2643,7 +2658,7 @@

    Optional scope

    @@ -2660,7 +2675,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/getuseroptions.html b/docs/interfaces/getuseroptions.html index 9773b7e89..da09bd24e 100644 --- a/docs/interfaces/getuseroptions.html +++ b/docs/interfaces/getuseroptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2419,6 +2422,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2461,7 +2476,7 @@

    audience

    audience: string
    @@ -2476,7 +2491,7 @@

    scope

    scope: string
    diff --git a/docs/interfaces/logoutoptions.html b/docs/interfaces/logoutoptions.html index b2aeba64b..280effba7 100644 --- a/docs/interfaces/logoutoptions.html +++ b/docs/interfaces/logoutoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2422,6 +2425,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2460,7 +2475,7 @@

    Optional client_id

    client_id: string
    @@ -2475,7 +2490,7 @@

    Optional federated

    federated: boolean
    @@ -2493,7 +2508,7 @@

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/popupconfigoptions.html b/docs/interfaces/popupconfigoptions.html index cbb91f52f..21d264401 100644 --- a/docs/interfaces/popupconfigoptions.html +++ b/docs/interfaces/popupconfigoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2416,6 +2419,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2452,7 +2467,7 @@

    Optional timeoutInSeconds
    timeoutInSeconds: number
    diff --git a/docs/interfaces/popuploginoptions.html b/docs/interfaces/popuploginoptions.html index be2c5812a..5957f8457 100644 --- a/docs/interfaces/popuploginoptions.html +++ b/docs/interfaces/popuploginoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2443,6 +2446,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2509,7 +2524,7 @@

    Optional acr_values

    @@ -2520,7 +2535,7 @@

    Optional audience

    @@ -2536,7 +2551,7 @@

    Optional connection

    @@ -2554,7 +2569,7 @@

    Optional display

    @@ -2575,7 +2590,7 @@

    Optional id_token_hi
    @@ -2591,7 +2606,7 @@

    Optional login_hint

    @@ -2609,7 +2624,7 @@

    Optional max_age

    @@ -2627,7 +2642,7 @@

    Optional prompt

    @@ -2648,7 +2663,7 @@

    Optional scope

    @@ -2665,7 +2680,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/redirectloginoptions.html b/docs/interfaces/redirectloginoptions.html index e3e565df8..9c3b673c8 100644 --- a/docs/interfaces/redirectloginoptions.html +++ b/docs/interfaces/redirectloginoptions.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2449,6 +2452,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2512,7 +2527,7 @@

    Optional acr_values

    @@ -2522,7 +2537,7 @@

    Optional appState

    appState: any
    @@ -2538,7 +2553,7 @@

    Optional audience

    @@ -2554,7 +2569,7 @@

    Optional connection

    @@ -2572,7 +2587,7 @@

    Optional display

    @@ -2593,7 +2608,7 @@

    Optional id_token_hi
    @@ -2609,7 +2624,7 @@

    Optional login_hint

    @@ -2627,7 +2642,7 @@

    Optional max_age

    @@ -2645,7 +2660,7 @@

    Optional prompt

    @@ -2665,7 +2680,7 @@

    Optional redirect_uri

    redirect_uri: string
    @@ -2684,7 +2699,7 @@

    Optional scope

    @@ -2701,7 +2716,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/redirectloginresult.html b/docs/interfaces/redirectloginresult.html index a15b09983..93c8a8006 100644 --- a/docs/interfaces/redirectloginresult.html +++ b/docs/interfaces/redirectloginresult.html @@ -2381,6 +2381,9 @@
  • AuthenticationError
  • +
  • + FakeLock +
  • Auth0ClientOptions
  • @@ -2416,6 +2419,18 @@
  • getIdTokenClaimsOptions
  • +
  • + GET_TOKEN_SILENTLY_LOCK_KEY +
  • +
  • + acquireLockMock +
  • +
  • + lock +
  • +
  • + releaseLockMock +
  • createAuth0Client
  • @@ -2452,7 +2467,7 @@

    Optional appState

    appState: any
    diff --git a/package.json b/package.json index a53ca9888..83b9188d9 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "@auth0/auth0-spa-js", "description": "Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE", "license": "MIT", - "version": "1.3.2", + "version": "1.4.0", "main": "dist/lib/auth0-spa-js.cjs.js", "types": "dist/typings/index.d.ts", "browser": "dist/auth0-spa-js.production.js", diff --git a/src/version.ts b/src/version.ts index 918bfe901..37517274b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '1.3.2'; +export default '1.4.0';