From 82c01283b6cc323aaa6c96c1f932933380d6cc00 Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Wed, 5 May 2021 08:11:48 +0100 Subject: [PATCH] Release v1.5.0 --- CHANGELOG.md | 15 + docs/assets/js/search.js | 2 +- docs/classes/errors.oautherror.html | 3 +- docs/classes/index.user.html | 428 ++++++++++++++++++ docs/index.html | 6 + .../auth0_context.auth0contextinterface.html | 89 +++- .../auth0_context.redirectloginoptions.html | 11 +- .../auth0_provider.auth0provideroptions.html | 35 +- .../index.getidtokenclaimsoptions.html | 1 + .../index.gettokensilentlyoptions.html | 1 + .../index.gettokenwithpopupoptions.html | 3 +- docs/interfaces/index.logoutoptions.html | 1 + docs/interfaces/index.logouturloptions.html | 1 + docs/interfaces/index.popupconfigoptions.html | 1 + docs/interfaces/index.popuploginoptions.html | 3 +- .../interfaces/with_auth0.withauth0props.html | 5 +- ...red.withauthenticationrequiredoptions.html | 15 +- docs/modules.html | 1 + docs/modules/auth0_context.html | 9 +- docs/modules/auth0_provider.html | 5 +- docs/modules/errors.html | 1 + docs/modules/index.html | 7 + docs/modules/use_auth0.html | 22 +- docs/modules/with_auth0.html | 3 +- .../modules/with_authentication_required.html | 3 +- package-lock.json | 40 +- package.json | 4 +- 27 files changed, 632 insertions(+), 83 deletions(-) create mode 100644 docs/classes/index.user.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 93be383a..e55fe228 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## [v1.5.0](https://github.com/auth0/auth0-react/tree/v1.5.0) (2021-05-05) + +**Added** + +- Expose `handleRedirectCallback` [\#233](https://github.com/auth0/auth0-react/pull/233) ([stevehobbsdev](https://github.com/stevehobbsdev)) +- Add TUser type param to useAuth0 hook [\#230](https://github.com/auth0/auth0-react/pull/230) ([Jameskmonger](https://github.com/Jameskmonger)) + +**Changed** + +- Update User type [\#236](https://github.com/auth0/auth0-react/pull/236) ([tkiryu](https://github.com/tkiryu)) + +**Fixed** + +- Check for state along with error param [\#231](https://github.com/auth0/auth0-react/pull/231) ([adamjmcgrath](https://github.com/adamjmcgrath)) + ## [v1.4.0](https://github.com/auth0/auth0-react/tree/v1.4.0) (2021-03-26) **Added** diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index 6a886a3c..26cf73e0 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1 +1 @@ -window.searchData = {"kinds":{"1":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","65536":"Type literal","4194304":"Type alias","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"auth0-context","url":"modules/auth0_context.html","classes":"tsd-kind-module"},{"id":1,"kind":256,"name":"RedirectLoginOptions","url":"interfaces/auth0_context.redirectloginoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"auth0-context"},{"id":2,"kind":1024,"name":"redirectUri","url":"interfaces/auth0_context.redirectloginoptions.html#redirecturi","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.RedirectLoginOptions"},{"id":3,"kind":1024,"name":"appState","url":"interfaces/auth0_context.redirectloginoptions.html#appstate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.RedirectLoginOptions"},{"id":4,"kind":1024,"name":"fragment","url":"interfaces/auth0_context.redirectloginoptions.html#fragment","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.RedirectLoginOptions"},{"id":5,"kind":256,"name":"Auth0ContextInterface","url":"interfaces/auth0_context.auth0contextinterface.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"auth0-context"},{"id":6,"kind":1024,"name":"getAccessTokenSilently","url":"interfaces/auth0_context.auth0contextinterface.html#getaccesstokensilently","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":7,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":8,"kind":1024,"name":"getAccessTokenWithPopup","url":"interfaces/auth0_context.auth0contextinterface.html#getaccesstokenwithpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":9,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":10,"kind":1024,"name":"getIdTokenClaims","url":"interfaces/auth0_context.auth0contextinterface.html#getidtokenclaims","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":11,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":12,"kind":1024,"name":"loginWithRedirect","url":"interfaces/auth0_context.auth0contextinterface.html#loginwithredirect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":13,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-6","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":14,"kind":1024,"name":"loginWithPopup","url":"interfaces/auth0_context.auth0contextinterface.html#loginwithpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":15,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-5","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":16,"kind":1024,"name":"logout","url":"interfaces/auth0_context.auth0contextinterface.html#logout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":17,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-7","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":18,"kind":1024,"name":"buildAuthorizeUrl","url":"interfaces/auth0_context.auth0contextinterface.html#buildauthorizeurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":19,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":20,"kind":1024,"name":"buildLogoutUrl","url":"interfaces/auth0_context.auth0contextinterface.html#buildlogouturl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":21,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":22,"kind":1024,"name":"error","url":"interfaces/auth0_context.auth0contextinterface.html#error","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":23,"kind":1024,"name":"isAuthenticated","url":"interfaces/auth0_context.auth0contextinterface.html#isauthenticated","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":24,"kind":1024,"name":"isLoading","url":"interfaces/auth0_context.auth0contextinterface.html#isloading","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":25,"kind":1024,"name":"user","url":"interfaces/auth0_context.auth0contextinterface.html#user","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":26,"kind":32,"name":"default","url":"modules/auth0_context.html#default","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"auth0-context"},{"id":27,"kind":1,"name":"auth0-provider","url":"modules/auth0_provider.html","classes":"tsd-kind-module"},{"id":28,"kind":4194304,"name":"AppState","url":"modules/auth0_provider.html#appstate","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"auth0-provider"},{"id":29,"kind":65536,"name":"__type","url":"modules/auth0_provider.html#appstate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"auth0-provider.AppState"},{"id":30,"kind":1024,"name":"returnTo","url":"modules/auth0_provider.html#appstate.__type.returnto","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"auth0-provider.AppState.__type"},{"id":31,"kind":256,"name":"Auth0ProviderOptions","url":"interfaces/auth0_provider.auth0provideroptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"auth0-provider"},{"id":32,"kind":1024,"name":"children","url":"interfaces/auth0_provider.auth0provideroptions.html#children","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":33,"kind":1024,"name":"onRedirectCallback","url":"interfaces/auth0_provider.auth0provideroptions.html#onredirectcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":34,"kind":65536,"name":"__type","url":"interfaces/auth0_provider.auth0provideroptions.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":35,"kind":1024,"name":"skipRedirectCallback","url":"interfaces/auth0_provider.auth0provideroptions.html#skipredirectcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":36,"kind":1024,"name":"domain","url":"interfaces/auth0_provider.auth0provideroptions.html#domain","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":37,"kind":1024,"name":"issuer","url":"interfaces/auth0_provider.auth0provideroptions.html#issuer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":38,"kind":1024,"name":"clientId","url":"interfaces/auth0_provider.auth0provideroptions.html#clientid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":39,"kind":1024,"name":"redirectUri","url":"interfaces/auth0_provider.auth0provideroptions.html#redirecturi","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":40,"kind":1024,"name":"leeway","url":"interfaces/auth0_provider.auth0provideroptions.html#leeway","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":41,"kind":1024,"name":"cacheLocation","url":"interfaces/auth0_provider.auth0provideroptions.html#cachelocation","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":42,"kind":1024,"name":"useRefreshTokens","url":"interfaces/auth0_provider.auth0provideroptions.html#userefreshtokens","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":43,"kind":1024,"name":"authorizeTimeoutInSeconds","url":"interfaces/auth0_provider.auth0provideroptions.html#authorizetimeoutinseconds","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":44,"kind":1024,"name":"advancedOptions","url":"interfaces/auth0_provider.auth0provideroptions.html#advancedoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":45,"kind":65536,"name":"__type","url":"interfaces/auth0_provider.auth0provideroptions.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":46,"kind":1024,"name":"defaultScope","url":"interfaces/auth0_provider.auth0provideroptions.html#__type.defaultscope","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"auth0-provider.Auth0ProviderOptions.__type"},{"id":47,"kind":1024,"name":"maxAge","url":"interfaces/auth0_provider.auth0provideroptions.html#maxage","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":48,"kind":1024,"name":"scope","url":"interfaces/auth0_provider.auth0provideroptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":49,"kind":1024,"name":"audience","url":"interfaces/auth0_provider.auth0provideroptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":50,"kind":1024,"name":"organization","url":"interfaces/auth0_provider.auth0provideroptions.html#organization","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":51,"kind":1024,"name":"invitation","url":"interfaces/auth0_provider.auth0provideroptions.html#invitation","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":52,"kind":64,"name":"default","url":"modules/auth0_provider.html#default","classes":"tsd-kind-function tsd-parent-kind-module","parent":"auth0-provider"},{"id":53,"kind":1,"name":"errors","url":"modules/errors.html","classes":"tsd-kind-module"},{"id":54,"kind":128,"name":"OAuthError","url":"classes/errors.oautherror.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"errors"},{"id":55,"kind":65536,"name":"__type","url":"classes/errors.oautherror.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"errors.OAuthError"},{"id":56,"kind":512,"name":"constructor","url":"classes/errors.oautherror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"errors.OAuthError"},{"id":57,"kind":1024,"name":"error","url":"classes/errors.oautherror.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"errors.OAuthError"},{"id":58,"kind":1024,"name":"error_description","url":"classes/errors.oautherror.html#error_description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"errors.OAuthError"},{"id":59,"kind":1,"name":"index","url":"modules/index.html","classes":"tsd-kind-module"},{"id":60,"kind":1,"name":"use-auth0","url":"modules/use_auth0.html","classes":"tsd-kind-module"},{"id":61,"kind":64,"name":"default","url":"modules/use_auth0.html#default","classes":"tsd-kind-function tsd-parent-kind-module","parent":"use-auth0"},{"id":62,"kind":1,"name":"with-auth0","url":"modules/with_auth0.html","classes":"tsd-kind-module"},{"id":63,"kind":256,"name":"WithAuth0Props","url":"interfaces/with_auth0.withauth0props.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"with-auth0"},{"id":64,"kind":1024,"name":"auth0","url":"interfaces/with_auth0.withauth0props.html#auth0","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-auth0.WithAuth0Props"},{"id":65,"kind":64,"name":"default","url":"modules/with_auth0.html#default","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"with-auth0"},{"id":66,"kind":1,"name":"with-authentication-required","url":"modules/with_authentication_required.html","classes":"tsd-kind-module"},{"id":67,"kind":256,"name":"WithAuthenticationRequiredOptions","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"with-authentication-required"},{"id":68,"kind":1024,"name":"returnTo","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":69,"kind":1024,"name":"onRedirecting","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#onredirecting","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":70,"kind":65536,"name":"__type","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":71,"kind":1024,"name":"loginOptions","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#loginoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":72,"kind":1024,"name":"claimCheck","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#claimcheck","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":73,"kind":65536,"name":"__type","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":74,"kind":64,"name":"default","url":"modules/with_authentication_required.html#default","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"with-authentication-required"},{"id":75,"kind":16777216,"name":"Auth0Provider","url":"modules/index.html#auth0provider","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":76,"kind":16777216,"name":"Auth0ProviderOptions","url":"modules/index.html#auth0provideroptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":77,"kind":16777216,"name":"AppState","url":"modules/index.html#appstate","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":78,"kind":16777216,"name":"useAuth0","url":"modules/index.html#useauth0","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":79,"kind":16777216,"name":"withAuth0","url":"modules/index.html#withauth0","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":80,"kind":16777216,"name":"WithAuth0Props","url":"modules/index.html#withauth0props","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":81,"kind":16777216,"name":"withAuthenticationRequired","url":"modules/index.html#withauthenticationrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":82,"kind":16777216,"name":"WithAuthenticationRequiredOptions","url":"modules/index.html#withauthenticationrequiredoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":83,"kind":16777216,"name":"Auth0Context","url":"modules/index.html#auth0context","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":84,"kind":16777216,"name":"Auth0ContextInterface","url":"modules/index.html#auth0contextinterface","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":85,"kind":16777216,"name":"RedirectLoginOptions","url":"modules/index.html#redirectloginoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":86,"kind":16777216,"name":"OAuthError","url":"modules/index.html#oautherror","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,2.885,1,21.922]],["parent/0",[]],["name/1",[2,36.576]],["parent/1",[0,0.368,1,2.799]],["name/2",[3,36.576]],["parent/2",[0,0.368,4,3.035]],["name/3",[5,33.12]],["parent/3",[0,0.368,4,3.035]],["name/4",[6,41.823]],["parent/4",[0,0.368,4,3.035]],["name/5",[7,36.576]],["parent/5",[0,0.368,1,2.799]],["name/6",[8,41.823]],["parent/6",[0,0.368,9,1.371]],["name/7",[10,18.521]],["parent/7",[0,0.368,9,1.371]],["name/8",[11,41.823]],["parent/8",[0,0.368,9,1.371]],["name/9",[10,18.521]],["parent/9",[0,0.368,9,1.371]],["name/10",[12,41.823]],["parent/10",[0,0.368,9,1.371]],["name/11",[10,18.521]],["parent/11",[0,0.368,9,1.371]],["name/12",[13,41.823]],["parent/12",[0,0.368,9,1.371]],["name/13",[10,18.521]],["parent/13",[0,0.368,9,1.371]],["name/14",[14,41.823]],["parent/14",[0,0.368,9,1.371]],["name/15",[10,18.521]],["parent/15",[0,0.368,9,1.371]],["name/16",[15,41.823]],["parent/16",[0,0.368,9,1.371]],["name/17",[10,18.521]],["parent/17",[0,0.368,9,1.371]],["name/18",[16,41.823]],["parent/18",[0,0.368,9,1.371]],["name/19",[10,18.521]],["parent/19",[0,0.368,9,1.371]],["name/20",[17,41.823]],["parent/20",[0,0.368,9,1.371]],["name/21",[10,18.521]],["parent/21",[0,0.368,9,1.371]],["name/22",[18,36.576]],["parent/22",[0,0.368,9,1.371]],["name/23",[19,41.823]],["parent/23",[0,0.368,9,1.371]],["name/24",[20,41.823]],["parent/24",[0,0.368,9,1.371]],["name/25",[21,41.823]],["parent/25",[0,0.368,9,1.371]],["name/26",[22,28.477]],["parent/26",[0,0.368,1,2.799]],["name/27",[0,2.885,23,21.922]],["parent/27",[]],["name/28",[5,33.12]],["parent/28",[0,0.368,23,2.799]],["name/29",[10,18.521]],["parent/29",[0,0.368,24,3.833]],["name/30",[25,36.576]],["parent/30",[0,0.368,26,3.833]],["name/31",[27,36.576]],["parent/31",[0,0.368,23,2.799]],["name/32",[28,41.823]],["parent/32",[0,0.368,29,1.419]],["name/33",[30,41.823]],["parent/33",[0,0.368,29,1.419]],["name/34",[10,18.521]],["parent/34",[0,0.368,29,1.419]],["name/35",[31,41.823]],["parent/35",[0,0.368,29,1.419]],["name/36",[32,41.823]],["parent/36",[0,0.368,29,1.419]],["name/37",[33,41.823]],["parent/37",[0,0.368,29,1.419]],["name/38",[34,41.823]],["parent/38",[0,0.368,29,1.419]],["name/39",[3,36.576]],["parent/39",[0,0.368,29,1.419]],["name/40",[35,41.823]],["parent/40",[0,0.368,29,1.419]],["name/41",[36,41.823]],["parent/41",[0,0.368,29,1.419]],["name/42",[37,41.823]],["parent/42",[0,0.368,29,1.419]],["name/43",[38,41.823]],["parent/43",[0,0.368,29,1.419]],["name/44",[39,41.823]],["parent/44",[0,0.368,29,1.419]],["name/45",[10,18.521]],["parent/45",[0,0.368,29,1.419]],["name/46",[40,41.823]],["parent/46",[0,0.368,41,3.833]],["name/47",[42,41.823]],["parent/47",[0,0.368,29,1.419]],["name/48",[43,41.823]],["parent/48",[0,0.368,29,1.419]],["name/49",[44,41.823]],["parent/49",[0,0.368,29,1.419]],["name/50",[45,41.823]],["parent/50",[0,0.368,29,1.419]],["name/51",[46,41.823]],["parent/51",[0,0.368,29,1.419]],["name/52",[22,28.477]],["parent/52",[0,0.368,23,2.799]],["name/53",[47,36.576]],["parent/53",[]],["name/54",[48,36.576]],["parent/54",[47,4.308]],["name/55",[10,18.521]],["parent/55",[49,3.597]],["name/56",[50,41.823]],["parent/56",[49,3.597]],["name/57",[18,36.576]],["parent/57",[49,3.597]],["name/58",[51,41.823]],["parent/58",[49,3.597]],["name/59",[52,19.255]],["parent/59",[]],["name/60",[0,2.885,53,26.255]],["parent/60",[]],["name/61",[22,28.477]],["parent/61",[0,0.368,53,3.352]],["name/62",[0,2.885,54,13.822]],["parent/62",[]],["name/63",[55,36.576]],["parent/63",[0,0.368,54,1.765]],["name/64",[0,4.02]],["parent/64",[54,1.765,56,3.833]],["name/65",[22,28.477]],["parent/65",[0,0.368,54,1.765]],["name/66",[54,10.78,57,12.801,58,18.543]],["parent/66",[]],["name/67",[59,36.576]],["parent/67",[54,1.444,57,1.715,58,2.484]],["name/68",[25,36.576]],["parent/68",[54,1.444,57,1.715,60,2.007]],["name/69",[61,41.823]],["parent/69",[54,1.444,57,1.715,60,2.007]],["name/70",[10,18.521]],["parent/70",[54,1.444,57,1.715,60,2.007]],["name/71",[62,41.823]],["parent/71",[54,1.444,57,1.715,60,2.007]],["name/72",[63,41.823]],["parent/72",[54,1.444,57,1.715,60,2.007]],["name/73",[10,18.521]],["parent/73",[54,1.444,57,1.715,60,2.007]],["name/74",[22,28.477]],["parent/74",[54,1.444,57,1.715,58,2.484]],["name/75",[64,41.823]],["parent/75",[52,2.268]],["name/76",[27,36.576]],["parent/76",[52,2.268]],["name/77",[5,33.12]],["parent/77",[52,2.268]],["name/78",[65,41.823]],["parent/78",[52,2.268]],["name/79",[66,41.823]],["parent/79",[52,2.268]],["name/80",[55,36.576]],["parent/80",[52,2.268]],["name/81",[67,41.823]],["parent/81",[52,2.268]],["name/82",[59,36.576]],["parent/82",[52,2.268]],["name/83",[68,41.823]],["parent/83",[52,2.268]],["name/84",[7,36.576]],["parent/84",[52,2.268]],["name/85",[2,36.576]],["parent/85",[52,2.268]],["name/86",[48,36.576]],["parent/86",[52,2.268]]],"invertedIndex":[["__type",{"_index":10,"name":{"7":{},"9":{},"11":{},"13":{},"15":{},"17":{},"19":{},"21":{},"29":{},"34":{},"45":{},"55":{},"70":{},"73":{}},"parent":{}}],["advancedoptions",{"_index":39,"name":{"44":{}},"parent":{}}],["appstate",{"_index":5,"name":{"3":{},"28":{},"77":{}},"parent":{}}],["audience",{"_index":44,"name":{"49":{}},"parent":{}}],["auth0",{"_index":0,"name":{"0":{},"27":{},"60":{},"62":{},"64":{}},"parent":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"28":{},"29":{},"30":{},"31":{},"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"61":{},"63":{},"65":{}}}],["auth0.withauth0props",{"_index":56,"name":{},"parent":{"64":{}}}],["auth0context",{"_index":68,"name":{"83":{}},"parent":{}}],["auth0contextinterface",{"_index":7,"name":{"5":{},"84":{}},"parent":{}}],["auth0provider",{"_index":64,"name":{"75":{}},"parent":{}}],["auth0provideroptions",{"_index":27,"name":{"31":{},"76":{}},"parent":{}}],["authentication",{"_index":57,"name":{"66":{}},"parent":{"67":{},"68":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{}}}],["authorizetimeoutinseconds",{"_index":38,"name":{"43":{}},"parent":{}}],["buildauthorizeurl",{"_index":16,"name":{"18":{}},"parent":{}}],["buildlogouturl",{"_index":17,"name":{"20":{}},"parent":{}}],["cachelocation",{"_index":36,"name":{"41":{}},"parent":{}}],["children",{"_index":28,"name":{"32":{}},"parent":{}}],["claimcheck",{"_index":63,"name":{"72":{}},"parent":{}}],["clientid",{"_index":34,"name":{"38":{}},"parent":{}}],["constructor",{"_index":50,"name":{"56":{}},"parent":{}}],["context",{"_index":1,"name":{"0":{}},"parent":{"1":{},"5":{},"26":{}}}],["context.auth0contextinterface",{"_index":9,"name":{},"parent":{"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{}}}],["context.redirectloginoptions",{"_index":4,"name":{},"parent":{"2":{},"3":{},"4":{}}}],["default",{"_index":22,"name":{"26":{},"52":{},"61":{},"65":{},"74":{}},"parent":{}}],["defaultscope",{"_index":40,"name":{"46":{}},"parent":{}}],["domain",{"_index":32,"name":{"36":{}},"parent":{}}],["error",{"_index":18,"name":{"22":{},"57":{}},"parent":{}}],["error_description",{"_index":51,"name":{"58":{}},"parent":{}}],["errors",{"_index":47,"name":{"53":{}},"parent":{"54":{}}}],["errors.oautherror",{"_index":49,"name":{},"parent":{"55":{},"56":{},"57":{},"58":{}}}],["fragment",{"_index":6,"name":{"4":{}},"parent":{}}],["getaccesstokensilently",{"_index":8,"name":{"6":{}},"parent":{}}],["getaccesstokenwithpopup",{"_index":11,"name":{"8":{}},"parent":{}}],["getidtokenclaims",{"_index":12,"name":{"10":{}},"parent":{}}],["index",{"_index":52,"name":{"59":{}},"parent":{"75":{},"76":{},"77":{},"78":{},"79":{},"80":{},"81":{},"82":{},"83":{},"84":{},"85":{},"86":{}}}],["invitation",{"_index":46,"name":{"51":{}},"parent":{}}],["isauthenticated",{"_index":19,"name":{"23":{}},"parent":{}}],["isloading",{"_index":20,"name":{"24":{}},"parent":{}}],["issuer",{"_index":33,"name":{"37":{}},"parent":{}}],["leeway",{"_index":35,"name":{"40":{}},"parent":{}}],["loginoptions",{"_index":62,"name":{"71":{}},"parent":{}}],["loginwithpopup",{"_index":14,"name":{"14":{}},"parent":{}}],["loginwithredirect",{"_index":13,"name":{"12":{}},"parent":{}}],["logout",{"_index":15,"name":{"16":{}},"parent":{}}],["maxage",{"_index":42,"name":{"47":{}},"parent":{}}],["oautherror",{"_index":48,"name":{"54":{},"86":{}},"parent":{}}],["onredirectcallback",{"_index":30,"name":{"33":{}},"parent":{}}],["onredirecting",{"_index":61,"name":{"69":{}},"parent":{}}],["organization",{"_index":45,"name":{"50":{}},"parent":{}}],["provider",{"_index":23,"name":{"27":{}},"parent":{"28":{},"31":{},"52":{}}}],["provider.appstate",{"_index":24,"name":{},"parent":{"29":{}}}],["provider.appstate.__type",{"_index":26,"name":{},"parent":{"30":{}}}],["provider.auth0provideroptions",{"_index":29,"name":{},"parent":{"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"47":{},"48":{},"49":{},"50":{},"51":{}}}],["provider.auth0provideroptions.__type",{"_index":41,"name":{},"parent":{"46":{}}}],["redirectloginoptions",{"_index":2,"name":{"1":{},"85":{}},"parent":{}}],["redirecturi",{"_index":3,"name":{"2":{},"39":{}},"parent":{}}],["required",{"_index":58,"name":{"66":{}},"parent":{"67":{},"74":{}}}],["required.withauthenticationrequiredoptions",{"_index":60,"name":{},"parent":{"68":{},"69":{},"70":{},"71":{},"72":{},"73":{}}}],["returnto",{"_index":25,"name":{"30":{},"68":{}},"parent":{}}],["scope",{"_index":43,"name":{"48":{}},"parent":{}}],["skipredirectcallback",{"_index":31,"name":{"35":{}},"parent":{}}],["use",{"_index":53,"name":{"60":{}},"parent":{"61":{}}}],["useauth0",{"_index":65,"name":{"78":{}},"parent":{}}],["user",{"_index":21,"name":{"25":{}},"parent":{}}],["userefreshtokens",{"_index":37,"name":{"42":{}},"parent":{}}],["with",{"_index":54,"name":{"62":{},"66":{}},"parent":{"63":{},"64":{},"65":{},"67":{},"68":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{}}}],["withauth0",{"_index":66,"name":{"79":{}},"parent":{}}],["withauth0props",{"_index":55,"name":{"63":{},"80":{}},"parent":{}}],["withauthenticationrequired",{"_index":67,"name":{"81":{}},"parent":{}}],["withauthenticationrequiredoptions",{"_index":59,"name":{"67":{},"82":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file +window.searchData = {"kinds":{"1":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","65536":"Type literal","4194304":"Type alias","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"auth0-context","url":"modules/auth0_context.html","classes":"tsd-kind-module"},{"id":1,"kind":256,"name":"RedirectLoginOptions","url":"interfaces/auth0_context.redirectloginoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"auth0-context"},{"id":2,"kind":1024,"name":"redirectUri","url":"interfaces/auth0_context.redirectloginoptions.html#redirecturi","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.RedirectLoginOptions"},{"id":3,"kind":1024,"name":"appState","url":"interfaces/auth0_context.redirectloginoptions.html#appstate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.RedirectLoginOptions"},{"id":4,"kind":1024,"name":"fragment","url":"interfaces/auth0_context.redirectloginoptions.html#fragment","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.RedirectLoginOptions"},{"id":5,"kind":256,"name":"Auth0ContextInterface","url":"interfaces/auth0_context.auth0contextinterface.html","classes":"tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter","parent":"auth0-context"},{"id":6,"kind":1024,"name":"getAccessTokenSilently","url":"interfaces/auth0_context.auth0contextinterface.html#getaccesstokensilently","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":7,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":8,"kind":1024,"name":"getAccessTokenWithPopup","url":"interfaces/auth0_context.auth0contextinterface.html#getaccesstokenwithpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":9,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":10,"kind":1024,"name":"getIdTokenClaims","url":"interfaces/auth0_context.auth0contextinterface.html#getidtokenclaims","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":11,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":12,"kind":1024,"name":"loginWithRedirect","url":"interfaces/auth0_context.auth0contextinterface.html#loginwithredirect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":13,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-7","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":14,"kind":1024,"name":"loginWithPopup","url":"interfaces/auth0_context.auth0contextinterface.html#loginwithpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":15,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-6","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":16,"kind":1024,"name":"logout","url":"interfaces/auth0_context.auth0contextinterface.html#logout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":17,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-8","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":18,"kind":1024,"name":"buildAuthorizeUrl","url":"interfaces/auth0_context.auth0contextinterface.html#buildauthorizeurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":19,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":20,"kind":1024,"name":"buildLogoutUrl","url":"interfaces/auth0_context.auth0contextinterface.html#buildlogouturl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":21,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":22,"kind":1024,"name":"handleRedirectCallback","url":"interfaces/auth0_context.auth0contextinterface.html#handleredirectcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":23,"kind":65536,"name":"__type","url":"interfaces/auth0_context.auth0contextinterface.html#__type-5","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-context.Auth0ContextInterface"},{"id":24,"kind":1024,"name":"error","url":"interfaces/auth0_context.auth0contextinterface.html#error","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":25,"kind":1024,"name":"isAuthenticated","url":"interfaces/auth0_context.auth0contextinterface.html#isauthenticated","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":26,"kind":1024,"name":"isLoading","url":"interfaces/auth0_context.auth0contextinterface.html#isloading","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":27,"kind":1024,"name":"user","url":"interfaces/auth0_context.auth0contextinterface.html#user","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"auth0-context.Auth0ContextInterface"},{"id":28,"kind":32,"name":"default","url":"modules/auth0_context.html#default","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"auth0-context"},{"id":29,"kind":1,"name":"auth0-provider","url":"modules/auth0_provider.html","classes":"tsd-kind-module"},{"id":30,"kind":4194304,"name":"AppState","url":"modules/auth0_provider.html#appstate","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"auth0-provider"},{"id":31,"kind":65536,"name":"__type","url":"modules/auth0_provider.html#appstate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"auth0-provider.AppState"},{"id":32,"kind":1024,"name":"returnTo","url":"modules/auth0_provider.html#appstate.__type.returnto","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"auth0-provider.AppState.__type"},{"id":33,"kind":256,"name":"Auth0ProviderOptions","url":"interfaces/auth0_provider.auth0provideroptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"auth0-provider"},{"id":34,"kind":1024,"name":"children","url":"interfaces/auth0_provider.auth0provideroptions.html#children","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":35,"kind":1024,"name":"onRedirectCallback","url":"interfaces/auth0_provider.auth0provideroptions.html#onredirectcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":36,"kind":65536,"name":"__type","url":"interfaces/auth0_provider.auth0provideroptions.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":37,"kind":1024,"name":"skipRedirectCallback","url":"interfaces/auth0_provider.auth0provideroptions.html#skipredirectcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":38,"kind":1024,"name":"domain","url":"interfaces/auth0_provider.auth0provideroptions.html#domain","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":39,"kind":1024,"name":"issuer","url":"interfaces/auth0_provider.auth0provideroptions.html#issuer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":40,"kind":1024,"name":"clientId","url":"interfaces/auth0_provider.auth0provideroptions.html#clientid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":41,"kind":1024,"name":"redirectUri","url":"interfaces/auth0_provider.auth0provideroptions.html#redirecturi","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":42,"kind":1024,"name":"leeway","url":"interfaces/auth0_provider.auth0provideroptions.html#leeway","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":43,"kind":1024,"name":"cacheLocation","url":"interfaces/auth0_provider.auth0provideroptions.html#cachelocation","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":44,"kind":1024,"name":"useRefreshTokens","url":"interfaces/auth0_provider.auth0provideroptions.html#userefreshtokens","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":45,"kind":1024,"name":"authorizeTimeoutInSeconds","url":"interfaces/auth0_provider.auth0provideroptions.html#authorizetimeoutinseconds","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":46,"kind":1024,"name":"advancedOptions","url":"interfaces/auth0_provider.auth0provideroptions.html#advancedoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":47,"kind":65536,"name":"__type","url":"interfaces/auth0_provider.auth0provideroptions.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":48,"kind":1024,"name":"defaultScope","url":"interfaces/auth0_provider.auth0provideroptions.html#__type.defaultscope","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"auth0-provider.Auth0ProviderOptions.__type"},{"id":49,"kind":1024,"name":"maxAge","url":"interfaces/auth0_provider.auth0provideroptions.html#maxage","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":50,"kind":1024,"name":"scope","url":"interfaces/auth0_provider.auth0provideroptions.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":51,"kind":1024,"name":"audience","url":"interfaces/auth0_provider.auth0provideroptions.html#audience","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":52,"kind":1024,"name":"organization","url":"interfaces/auth0_provider.auth0provideroptions.html#organization","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":53,"kind":1024,"name":"invitation","url":"interfaces/auth0_provider.auth0provideroptions.html#invitation","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"auth0-provider.Auth0ProviderOptions"},{"id":54,"kind":64,"name":"default","url":"modules/auth0_provider.html#default","classes":"tsd-kind-function tsd-parent-kind-module","parent":"auth0-provider"},{"id":55,"kind":1,"name":"errors","url":"modules/errors.html","classes":"tsd-kind-module"},{"id":56,"kind":128,"name":"OAuthError","url":"classes/errors.oautherror.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"errors"},{"id":57,"kind":65536,"name":"__type","url":"classes/errors.oautherror.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"errors.OAuthError"},{"id":58,"kind":512,"name":"constructor","url":"classes/errors.oautherror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"errors.OAuthError"},{"id":59,"kind":1024,"name":"error","url":"classes/errors.oautherror.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"errors.OAuthError"},{"id":60,"kind":1024,"name":"error_description","url":"classes/errors.oautherror.html#error_description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"errors.OAuthError"},{"id":61,"kind":1,"name":"index","url":"modules/index.html","classes":"tsd-kind-module"},{"id":62,"kind":1,"name":"use-auth0","url":"modules/use_auth0.html","classes":"tsd-kind-module"},{"id":63,"kind":64,"name":"default","url":"modules/use_auth0.html#default","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"use-auth0"},{"id":64,"kind":1,"name":"with-auth0","url":"modules/with_auth0.html","classes":"tsd-kind-module"},{"id":65,"kind":256,"name":"WithAuth0Props","url":"interfaces/with_auth0.withauth0props.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"with-auth0"},{"id":66,"kind":1024,"name":"auth0","url":"interfaces/with_auth0.withauth0props.html#auth0","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-auth0.WithAuth0Props"},{"id":67,"kind":64,"name":"default","url":"modules/with_auth0.html#default","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"with-auth0"},{"id":68,"kind":1,"name":"with-authentication-required","url":"modules/with_authentication_required.html","classes":"tsd-kind-module"},{"id":69,"kind":256,"name":"WithAuthenticationRequiredOptions","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"with-authentication-required"},{"id":70,"kind":1024,"name":"returnTo","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":71,"kind":1024,"name":"onRedirecting","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#onredirecting","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":72,"kind":65536,"name":"__type","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":73,"kind":1024,"name":"loginOptions","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#loginoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":74,"kind":1024,"name":"claimCheck","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#claimcheck","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":75,"kind":65536,"name":"__type","url":"interfaces/with_authentication_required.withauthenticationrequiredoptions.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"with-authentication-required.WithAuthenticationRequiredOptions"},{"id":76,"kind":64,"name":"default","url":"modules/with_authentication_required.html#default","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"with-authentication-required"},{"id":77,"kind":16777216,"name":"Auth0Provider","url":"modules/index.html#auth0provider","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":78,"kind":16777216,"name":"Auth0ProviderOptions","url":"modules/index.html#auth0provideroptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":79,"kind":16777216,"name":"AppState","url":"modules/index.html#appstate","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":80,"kind":16777216,"name":"useAuth0","url":"modules/index.html#useauth0","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":81,"kind":16777216,"name":"withAuth0","url":"modules/index.html#withauth0","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":82,"kind":16777216,"name":"WithAuth0Props","url":"modules/index.html#withauth0props","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":83,"kind":16777216,"name":"withAuthenticationRequired","url":"modules/index.html#withauthenticationrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":84,"kind":16777216,"name":"WithAuthenticationRequiredOptions","url":"modules/index.html#withauthenticationrequiredoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":85,"kind":16777216,"name":"Auth0Context","url":"modules/index.html#auth0context","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":86,"kind":16777216,"name":"Auth0ContextInterface","url":"modules/index.html#auth0contextinterface","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":87,"kind":16777216,"name":"RedirectLoginOptions","url":"modules/index.html#redirectloginoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":88,"kind":16777216,"name":"OAuthError","url":"modules/index.html#oautherror","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,2.805,1,22.069]],["parent/0",[]],["name/1",[2,36.786]],["parent/1",[0,0.359,1,2.824]],["name/2",[3,36.786]],["parent/2",[0,0.359,4,3.061]],["name/3",[5,33.332]],["parent/3",[0,0.359,4,3.061]],["name/4",[6,42.029]],["parent/4",[0,0.359,4,3.061]],["name/5",[7,36.786]],["parent/5",[0,0.359,1,2.824]],["name/6",[8,42.029]],["parent/6",[0,0.359,9,1.307]],["name/7",[10,18.056]],["parent/7",[0,0.359,9,1.307]],["name/8",[11,42.029]],["parent/8",[0,0.359,9,1.307]],["name/9",[10,18.056]],["parent/9",[0,0.359,9,1.307]],["name/10",[12,42.029]],["parent/10",[0,0.359,9,1.307]],["name/11",[10,18.056]],["parent/11",[0,0.359,9,1.307]],["name/12",[13,42.029]],["parent/12",[0,0.359,9,1.307]],["name/13",[10,18.056]],["parent/13",[0,0.359,9,1.307]],["name/14",[14,42.029]],["parent/14",[0,0.359,9,1.307]],["name/15",[10,18.056]],["parent/15",[0,0.359,9,1.307]],["name/16",[15,42.029]],["parent/16",[0,0.359,9,1.307]],["name/17",[10,18.056]],["parent/17",[0,0.359,9,1.307]],["name/18",[16,42.029]],["parent/18",[0,0.359,9,1.307]],["name/19",[10,18.056]],["parent/19",[0,0.359,9,1.307]],["name/20",[17,42.029]],["parent/20",[0,0.359,9,1.307]],["name/21",[10,18.056]],["parent/21",[0,0.359,9,1.307]],["name/22",[18,42.029]],["parent/22",[0,0.359,9,1.307]],["name/23",[10,18.056]],["parent/23",[0,0.359,9,1.307]],["name/24",[19,36.786]],["parent/24",[0,0.359,9,1.307]],["name/25",[20,42.029]],["parent/25",[0,0.359,9,1.307]],["name/26",[21,42.029]],["parent/26",[0,0.359,9,1.307]],["name/27",[22,42.029]],["parent/27",[0,0.359,9,1.307]],["name/28",[23,28.692]],["parent/28",[0,0.359,1,2.824]],["name/29",[0,2.805,24,22.069]],["parent/29",[]],["name/30",[5,33.332]],["parent/30",[0,0.359,24,2.824]],["name/31",[10,18.056]],["parent/31",[0,0.359,25,3.86]],["name/32",[26,36.786]],["parent/32",[0,0.359,27,3.86]],["name/33",[28,36.786]],["parent/33",[0,0.359,24,2.824]],["name/34",[29,42.029]],["parent/34",[0,0.359,30,1.442]],["name/35",[31,42.029]],["parent/35",[0,0.359,30,1.442]],["name/36",[10,18.056]],["parent/36",[0,0.359,30,1.442]],["name/37",[32,42.029]],["parent/37",[0,0.359,30,1.442]],["name/38",[33,42.029]],["parent/38",[0,0.359,30,1.442]],["name/39",[34,42.029]],["parent/39",[0,0.359,30,1.442]],["name/40",[35,42.029]],["parent/40",[0,0.359,30,1.442]],["name/41",[3,36.786]],["parent/41",[0,0.359,30,1.442]],["name/42",[36,42.029]],["parent/42",[0,0.359,30,1.442]],["name/43",[37,42.029]],["parent/43",[0,0.359,30,1.442]],["name/44",[38,42.029]],["parent/44",[0,0.359,30,1.442]],["name/45",[39,42.029]],["parent/45",[0,0.359,30,1.442]],["name/46",[40,42.029]],["parent/46",[0,0.359,30,1.442]],["name/47",[10,18.056]],["parent/47",[0,0.359,30,1.442]],["name/48",[41,42.029]],["parent/48",[0,0.359,42,3.86]],["name/49",[43,42.029]],["parent/49",[0,0.359,30,1.442]],["name/50",[44,42.029]],["parent/50",[0,0.359,30,1.442]],["name/51",[45,42.029]],["parent/51",[0,0.359,30,1.442]],["name/52",[46,42.029]],["parent/52",[0,0.359,30,1.442]],["name/53",[47,42.029]],["parent/53",[0,0.359,30,1.442]],["name/54",[23,28.692]],["parent/54",[0,0.359,24,2.824]],["name/55",[48,36.786]],["parent/55",[]],["name/56",[49,36.786]],["parent/56",[48,4.339]],["name/57",[10,18.056]],["parent/57",[50,3.628]],["name/58",[51,42.029]],["parent/58",[50,3.628]],["name/59",[19,36.786]],["parent/59",[50,3.628]],["name/60",[52,42.029]],["parent/60",[50,3.628]],["name/61",[53,19.474]],["parent/61",[]],["name/62",[0,2.805,54,26.4]],["parent/62",[]],["name/63",[23,28.692]],["parent/63",[0,0.359,54,3.378]],["name/64",[0,2.805,55,13.976]],["parent/64",[]],["name/65",[56,36.786]],["parent/65",[0,0.359,55,1.789]],["name/66",[0,3.909]],["parent/66",[55,1.789,57,3.86]],["name/67",[23,28.692]],["parent/67",[0,0.359,55,1.789]],["name/68",[55,10.899,58,12.918,59,18.654]],["parent/68",[]],["name/69",[60,36.786]],["parent/69",[55,1.464,58,1.736,59,2.506]],["name/70",[26,36.786]],["parent/70",[55,1.464,58,1.736,61,2.028]],["name/71",[62,42.029]],["parent/71",[55,1.464,58,1.736,61,2.028]],["name/72",[10,18.056]],["parent/72",[55,1.464,58,1.736,61,2.028]],["name/73",[63,42.029]],["parent/73",[55,1.464,58,1.736,61,2.028]],["name/74",[64,42.029]],["parent/74",[55,1.464,58,1.736,61,2.028]],["name/75",[10,18.056]],["parent/75",[55,1.464,58,1.736,61,2.028]],["name/76",[23,28.692]],["parent/76",[55,1.464,58,1.736,59,2.506]],["name/77",[65,42.029]],["parent/77",[53,2.297]],["name/78",[28,36.786]],["parent/78",[53,2.297]],["name/79",[5,33.332]],["parent/79",[53,2.297]],["name/80",[66,42.029]],["parent/80",[53,2.297]],["name/81",[67,42.029]],["parent/81",[53,2.297]],["name/82",[56,36.786]],["parent/82",[53,2.297]],["name/83",[68,42.029]],["parent/83",[53,2.297]],["name/84",[60,36.786]],["parent/84",[53,2.297]],["name/85",[69,42.029]],["parent/85",[53,2.297]],["name/86",[7,36.786]],["parent/86",[53,2.297]],["name/87",[2,36.786]],["parent/87",[53,2.297]],["name/88",[49,36.786]],["parent/88",[53,2.297]]],"invertedIndex":[["__type",{"_index":10,"name":{"7":{},"9":{},"11":{},"13":{},"15":{},"17":{},"19":{},"21":{},"23":{},"31":{},"36":{},"47":{},"57":{},"72":{},"75":{}},"parent":{}}],["advancedoptions",{"_index":40,"name":{"46":{}},"parent":{}}],["appstate",{"_index":5,"name":{"3":{},"30":{},"79":{}},"parent":{}}],["audience",{"_index":45,"name":{"51":{}},"parent":{}}],["auth0",{"_index":0,"name":{"0":{},"29":{},"62":{},"64":{},"66":{}},"parent":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{},"28":{},"30":{},"31":{},"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{},"63":{},"65":{},"67":{}}}],["auth0.withauth0props",{"_index":57,"name":{},"parent":{"66":{}}}],["auth0context",{"_index":69,"name":{"85":{}},"parent":{}}],["auth0contextinterface",{"_index":7,"name":{"5":{},"86":{}},"parent":{}}],["auth0provider",{"_index":65,"name":{"77":{}},"parent":{}}],["auth0provideroptions",{"_index":28,"name":{"33":{},"78":{}},"parent":{}}],["authentication",{"_index":58,"name":{"68":{}},"parent":{"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"76":{}}}],["authorizetimeoutinseconds",{"_index":39,"name":{"45":{}},"parent":{}}],["buildauthorizeurl",{"_index":16,"name":{"18":{}},"parent":{}}],["buildlogouturl",{"_index":17,"name":{"20":{}},"parent":{}}],["cachelocation",{"_index":37,"name":{"43":{}},"parent":{}}],["children",{"_index":29,"name":{"34":{}},"parent":{}}],["claimcheck",{"_index":64,"name":{"74":{}},"parent":{}}],["clientid",{"_index":35,"name":{"40":{}},"parent":{}}],["constructor",{"_index":51,"name":{"58":{}},"parent":{}}],["context",{"_index":1,"name":{"0":{}},"parent":{"1":{},"5":{},"28":{}}}],["context.auth0contextinterface",{"_index":9,"name":{},"parent":{"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}}}],["context.redirectloginoptions",{"_index":4,"name":{},"parent":{"2":{},"3":{},"4":{}}}],["default",{"_index":23,"name":{"28":{},"54":{},"63":{},"67":{},"76":{}},"parent":{}}],["defaultscope",{"_index":41,"name":{"48":{}},"parent":{}}],["domain",{"_index":33,"name":{"38":{}},"parent":{}}],["error",{"_index":19,"name":{"24":{},"59":{}},"parent":{}}],["error_description",{"_index":52,"name":{"60":{}},"parent":{}}],["errors",{"_index":48,"name":{"55":{}},"parent":{"56":{}}}],["errors.oautherror",{"_index":50,"name":{},"parent":{"57":{},"58":{},"59":{},"60":{}}}],["fragment",{"_index":6,"name":{"4":{}},"parent":{}}],["getaccesstokensilently",{"_index":8,"name":{"6":{}},"parent":{}}],["getaccesstokenwithpopup",{"_index":11,"name":{"8":{}},"parent":{}}],["getidtokenclaims",{"_index":12,"name":{"10":{}},"parent":{}}],["handleredirectcallback",{"_index":18,"name":{"22":{}},"parent":{}}],["index",{"_index":53,"name":{"61":{}},"parent":{"77":{},"78":{},"79":{},"80":{},"81":{},"82":{},"83":{},"84":{},"85":{},"86":{},"87":{},"88":{}}}],["invitation",{"_index":47,"name":{"53":{}},"parent":{}}],["isauthenticated",{"_index":20,"name":{"25":{}},"parent":{}}],["isloading",{"_index":21,"name":{"26":{}},"parent":{}}],["issuer",{"_index":34,"name":{"39":{}},"parent":{}}],["leeway",{"_index":36,"name":{"42":{}},"parent":{}}],["loginoptions",{"_index":63,"name":{"73":{}},"parent":{}}],["loginwithpopup",{"_index":14,"name":{"14":{}},"parent":{}}],["loginwithredirect",{"_index":13,"name":{"12":{}},"parent":{}}],["logout",{"_index":15,"name":{"16":{}},"parent":{}}],["maxage",{"_index":43,"name":{"49":{}},"parent":{}}],["oautherror",{"_index":49,"name":{"56":{},"88":{}},"parent":{}}],["onredirectcallback",{"_index":31,"name":{"35":{}},"parent":{}}],["onredirecting",{"_index":62,"name":{"71":{}},"parent":{}}],["organization",{"_index":46,"name":{"52":{}},"parent":{}}],["provider",{"_index":24,"name":{"29":{}},"parent":{"30":{},"33":{},"54":{}}}],["provider.appstate",{"_index":25,"name":{},"parent":{"31":{}}}],["provider.appstate.__type",{"_index":27,"name":{},"parent":{"32":{}}}],["provider.auth0provideroptions",{"_index":30,"name":{},"parent":{"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"49":{},"50":{},"51":{},"52":{},"53":{}}}],["provider.auth0provideroptions.__type",{"_index":42,"name":{},"parent":{"48":{}}}],["redirectloginoptions",{"_index":2,"name":{"1":{},"87":{}},"parent":{}}],["redirecturi",{"_index":3,"name":{"2":{},"41":{}},"parent":{}}],["required",{"_index":59,"name":{"68":{}},"parent":{"69":{},"76":{}}}],["required.withauthenticationrequiredoptions",{"_index":61,"name":{},"parent":{"70":{},"71":{},"72":{},"73":{},"74":{},"75":{}}}],["returnto",{"_index":26,"name":{"32":{},"70":{}},"parent":{}}],["scope",{"_index":44,"name":{"50":{}},"parent":{}}],["skipredirectcallback",{"_index":32,"name":{"37":{}},"parent":{}}],["use",{"_index":54,"name":{"62":{}},"parent":{"63":{}}}],["useauth0",{"_index":66,"name":{"80":{}},"parent":{}}],["user",{"_index":22,"name":{"27":{}},"parent":{}}],["userefreshtokens",{"_index":38,"name":{"44":{}},"parent":{}}],["with",{"_index":55,"name":{"64":{},"68":{}},"parent":{"65":{},"66":{},"67":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"76":{}}}],["withauth0",{"_index":67,"name":{"81":{}},"parent":{}}],["withauth0props",{"_index":56,"name":{"65":{},"82":{}},"parent":{}}],["withauthenticationrequired",{"_index":68,"name":{"83":{}},"parent":{}}],["withauthenticationrequiredoptions",{"_index":60,"name":{"69":{},"84":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/docs/classes/errors.oautherror.html b/docs/classes/errors.oautherror.html index 4d848822..0fecf652 100644 --- a/docs/classes/errors.oautherror.html +++ b/docs/classes/errors.oautherror.html @@ -134,7 +134,7 @@

constructor

Parameters

@@ -343,6 +343,7 @@

Legend

diff --git a/docs/classes/index.user.html b/docs/classes/index.user.html new file mode 100644 index 00000000..d7bb0da3 --- /dev/null +++ b/docs/classes/index.user.html @@ -0,0 +1,428 @@ + + + + + + User | @auth0/auth0-react + + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Class User

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + User +
  • +
+
+
+

Indexable

+
[key: string]: any
+
+
+

Index

+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new User(): User
  • +
+
    +
  • + +

    Returns User

    +
  • +
+
+
+
+

Properties

+
+ +

Optional address

+
address: string
+ +
+
+ +

Optional birthdate

+
birthdate: string
+ +
+
+ +

Optional email

+
email: string
+ +
+
+ +

Optional email_verified

+
email_verified: boolean
+ +
+
+ +

Optional family_name

+
family_name: string
+ +
+
+ +

Optional gender

+
gender: string
+ +
+
+ +

Optional given_name

+
given_name: string
+ +
+
+ +

Optional locale

+
locale: string
+ +
+
+ +

Optional middle_name

+
middle_name: string
+ +
+
+ +

Optional name

+
name: string
+ +
+
+ +

Optional nickname

+
nickname: string
+ +
+
+ +

Optional phone_number

+
phone_number: string
+ +
+
+ +

Optional phone_number_verified

+
phone_number_verified: boolean
+ +
+
+ +

Optional picture

+
picture: string
+ +
+
+ +

Optional preferred_username

+
preferred_username: string
+ +
+
+ +

Optional profile

+
profile: string
+ +
+
+ +

Optional sub

+
sub: string
+ +
+
+ +

Optional updated_at

+
updated_at: string
+ +
+
+ +

Optional website

+
website: string
+ +
+
+ +

Optional zoneinfo

+
zoneinfo: string
+ +
+
+
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 6fa93e26..0c7ce252 100644 --- a/docs/index.html +++ b/docs/index.html @@ -155,6 +155,11 @@

Getting Started

} export default App; + +

If you're using TypeScript, you can pass a type parameter to useAuth0 to specify the type of user:

+
const { user } = useAuth0<{ name: string }>();
+
+user.name; // is a string
 

Use with a Class Component

@@ -326,6 +331,7 @@

Legend

-

Interface Auth0ContextInterface

+

Interface Auth0ContextInterface<TUser>

@@ -75,11 +75,19 @@

Interface Auth0ContextInterface

+
+

Type parameters

+ +

Hierarchy

@@ -213,7 +222,7 @@

getAccessTokenSilently

getAccessTokenSilently: (options?: GetTokenSilentlyOptions) => Promise<string>
@@ -264,7 +273,7 @@

getAccessTokenWithPopup

getAccessTokenWithPopup: (options?: GetTokenWithPopupOptions, config?: PopupConfigOptions) => Promise<string>
@@ -309,7 +318,7 @@

getIdTokenClaims

getIdTokenClaims: (options?: GetIdTokenClaimsOptions) => Promise<IdToken>
@@ -341,6 +350,50 @@

Returns Promise

+
+ +

handleRedirectCallback

+
handleRedirectCallback: (url?: string) => Promise<RedirectLoginResult>
+ +
+
+

After the browser redirects back to the callback page, + call handleRedirectCallback to handle success and error + responses from Auth0. If the response is successful, results + will be valid according to their expiration times.

+
+
+
param
+

The URL to that should be used to retrieve the state and code values. Defaults to window.location.href if not given.

+
+
+
+
+

Type declaration

+
    +
  • +
      +
    • (url?: string): Promise<RedirectLoginResult>
    • +
    +
      +
    • +

      Parameters

      +
        +
      • +
        Optional url: string
        +
      • +
      +

      Returns Promise<RedirectLoginResult>

      +
    • +
    +
  • +
+
+

isAuthenticated

@@ -348,7 +401,7 @@

isAuthenticated

@@ -359,7 +412,7 @@

isLoading

@@ -369,7 +422,7 @@

loginWithPopup

loginWithPopup: (options?: PopupLoginOptions, config?: PopupConfigOptions) => Promise<void>
@@ -416,7 +469,7 @@

loginWithRedirect

loginWithRedirect: (options?: RedirectLoginOptions) => Promise<void>
@@ -456,7 +509,7 @@

logout

logout: (options?: LogoutOptions) => void
@@ -497,11 +550,11 @@

Returns void

Optional user

-
user: any
+
user: TUser
@@ -540,7 +593,7 @@

Optional user

    -
  • +
  • Auth0ContextInterface
    • Interface
    • +
    • Interface with type parameter
    • Property
      diff --git a/docs/interfaces/auth0_context.redirectloginoptions.html b/docs/interfaces/auth0_context.redirectloginoptions.html index 4ce7fd28..36f54f57 100644 --- a/docs/interfaces/auth0_context.redirectloginoptions.html +++ b/docs/interfaces/auth0_context.redirectloginoptions.html @@ -128,7 +128,7 @@

      Optional appState

      appState: any
      @@ -198,7 +198,7 @@

      Optional fragment

      fragment: string
      @@ -288,7 +288,7 @@

      Optional organization

      -

      The Id of an organization to log in to (Organizations is currently a Closed Beta).

      +

      The Id of an organization to log in to.

      This will specify an organization parameter in your user's login request and will add a step to validate the org_id claim in your user's ID Token.

      @@ -321,7 +321,7 @@

      Optional redirectUri

      redirectUri: string
      @@ -420,7 +420,7 @@

      Optional ui_locales

    • Interface
    • +
    • Interface with type parameter
    • Property
    • Interface
    • +
    • Interface with type parameter
    • Property
      diff --git a/docs/interfaces/index.getidtokenclaimsoptions.html b/docs/interfaces/index.getidtokenclaimsoptions.html index 54312f21..3a8190e5 100644 --- a/docs/interfaces/index.getidtokenclaimsoptions.html +++ b/docs/interfaces/index.getidtokenclaimsoptions.html @@ -199,6 +199,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/index.gettokensilentlyoptions.html b/docs/interfaces/index.gettokensilentlyoptions.html index 1cf088a9..f8590827 100644 --- a/docs/interfaces/index.gettokensilentlyoptions.html +++ b/docs/interfaces/index.gettokensilentlyoptions.html @@ -264,6 +264,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/index.gettokenwithpopupoptions.html b/docs/interfaces/index.gettokenwithpopupoptions.html index c0bd50f4..99f7b64e 100644 --- a/docs/interfaces/index.gettokenwithpopupoptions.html +++ b/docs/interfaces/index.gettokenwithpopupoptions.html @@ -255,7 +255,7 @@

      Optional organization

      -

      The Id of an organization to log in to (Organizations is currently a Closed Beta).

      +

      The Id of an organization to log in to.

      This will specify an organization parameter in your user's login request and will add a step to validate the org_id claim in your user's ID Token.

      @@ -413,6 +413,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/index.logoutoptions.html b/docs/interfaces/index.logoutoptions.html index c92b38af..932d5003 100644 --- a/docs/interfaces/index.logoutoptions.html +++ b/docs/interfaces/index.logoutoptions.html @@ -248,6 +248,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/index.logouturloptions.html b/docs/interfaces/index.logouturloptions.html index a88e3157..c4405a19 100644 --- a/docs/interfaces/index.logouturloptions.html +++ b/docs/interfaces/index.logouturloptions.html @@ -228,6 +228,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/index.popupconfigoptions.html b/docs/interfaces/index.popupconfigoptions.html index f393daca..bb8264e0 100644 --- a/docs/interfaces/index.popupconfigoptions.html +++ b/docs/interfaces/index.popupconfigoptions.html @@ -202,6 +202,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/index.popuploginoptions.html b/docs/interfaces/index.popuploginoptions.html index 30c8160f..945e7f1f 100644 --- a/docs/interfaces/index.popuploginoptions.html +++ b/docs/interfaces/index.popuploginoptions.html @@ -260,7 +260,7 @@

      Optional organization

      -

      The Id of an organization to log in to (Organizations is currently a Closed Beta).

      +

      The Id of an organization to log in to.

      This will specify an organization parameter in your user's login request and will add a step to validate the org_id claim in your user's ID Token.

      @@ -418,6 +418,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/interfaces/with_auth0.withauth0props.html b/docs/interfaces/with_auth0.withauth0props.html index 6e5079ff..ed007909 100644 --- a/docs/interfaces/with_auth0.withauth0props.html +++ b/docs/interfaces/with_auth0.withauth0props.html @@ -101,10 +101,10 @@

      Properties

      auth0

      - +
      @@ -170,6 +170,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Property
    • Interface
    • +
    • Interface with type parameter
    • Property
      diff --git a/docs/modules.html b/docs/modules.html index 173402cb..7cf8c0e6 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -125,6 +125,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Interface
    • +
    • Interface with type parameter
    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/modules/errors.html b/docs/modules/errors.html index 6ad464de..2abaae94 100644 --- a/docs/modules/errors.html +++ b/docs/modules/errors.html @@ -127,6 +127,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/modules/index.html b/docs/modules/index.html index 9b74be9b..283e13fd 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -86,6 +86,12 @@

      References

    • withAuthenticationRequired
    +
    +

    Classes

    + +

    Interfaces

      @@ -264,6 +270,7 @@

      Legend

    • Interface
    • +
    • Interface with type parameter
    • Class
    • diff --git a/docs/modules/use_auth0.html b/docs/modules/use_auth0.html index a600edf5..c88fcdc2 100644 --- a/docs/modules/use_auth0.html +++ b/docs/modules/use_auth0.html @@ -72,7 +72,7 @@

      Index

      Functions

@@ -80,17 +80,17 @@

Functions

Functions

-
+

Const default

-
    -
  • default(): Auth0ContextInterface
  • +
    • @@ -108,12 +108,19 @@

      Const default

      loginWithRedirect, loginWithPopup, logout, -} = useAuth0(); +} = useAuth0<TUser>();

      Use the useAuth0 hook in your components to access the auth state and methods.

      +

      TUser is an optional type param to provide a type to the user field.

-

Returns Auth0ContextInterface

+

Type parameters

+ +

Returns Auth0ContextInterface<TUser>

@@ -167,6 +174,7 @@

Legend

  • Interface
  • +
  • Interface with type parameter
  • Class
  • diff --git a/docs/modules/with_auth0.html b/docs/modules/with_auth0.html index 41137f1c..da030501 100644 --- a/docs/modules/with_auth0.html +++ b/docs/modules/with_auth0.html @@ -96,7 +96,7 @@

    Const default

  • @@ -183,6 +183,7 @@

    Legend

  • Interface
  • +
  • Interface with type parameter
  • Class
  • diff --git a/docs/modules/with_authentication_required.html b/docs/modules/with_authentication_required.html index a30c2d95..48e01807 100644 --- a/docs/modules/with_authentication_required.html +++ b/docs/modules/with_authentication_required.html @@ -96,7 +96,7 @@

    Const default

  • @@ -179,6 +179,7 @@

    Legend

  • Interface
  • +
  • Interface with type parameter
  • Class
  • diff --git a/package-lock.json b/package-lock.json index c39bd498..6fdf25c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@auth0/auth0-react", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { "@auth0/auth0-spa-js": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/@auth0/auth0-spa-js/-/auth0-spa-js-1.14.0.tgz", - "integrity": "sha512-mMsqgLZlrDdFiq9/9YX693yUPKLTFKsNDTaVPHpXk/I1aCxfiRp1h0pSSFyoGOXmLy8ZEow6lhAcH9+h7IxgNQ==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/@auth0/auth0-spa-js/-/auth0-spa-js-1.15.0.tgz", + "integrity": "sha512-d/crchAbhncl9irIMuw1zNSZgX+id0U7mzASQr2htMJ73JCYaAvBSdGXL0WcYS4yBm1Xsx1JYm3b5tEZ5p/ncg==", "requires": { - "abortcontroller-polyfill": "^1.5.0", - "browser-tabs-lock": "1.2.9", - "core-js": "^3.8.0", + "abortcontroller-polyfill": "^1.7.1", + "browser-tabs-lock": "^1.2.13", + "core-js": "^3.11.0", "es-cookie": "^1.3.2", "fast-text-encoding": "^1.0.3", "promise-polyfill": "^8.2.0", @@ -2640,9 +2640,19 @@ "dev": true }, "browser-tabs-lock": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/browser-tabs-lock/-/browser-tabs-lock-1.2.9.tgz", - "integrity": "sha512-cczryjv6i6kAfTWKhhNW3LWhFDwzPazEsNG9IG2n6AeYzPVb1tUCY3aqTKeFJL0rKUnfSXto7esjrqY3fz+ugA==" + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/browser-tabs-lock/-/browser-tabs-lock-1.2.14.tgz", + "integrity": "sha512-ssSpCRcvFe4vc098LDnrJOQDfZiG35KhQGB9hthTbwJk5mmUkePwhcMlW61NH3YuIE2Y9uGLqf9yxEBKbaDlaw==", + "requires": { + "lodash": ">=4.17.21" + }, + "dependencies": { + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + } + } }, "bs-logger": { "version": "0.2.6", @@ -3068,9 +3078,9 @@ "dev": true }, "core-js": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.9.1.tgz", - "integrity": "sha512-gSjRvzkxQc1zjM/5paAmL4idJBFzuJoo+jDjF1tStYFMV2ERfD02HhahhCGXUyHxQRG4yFKVSdO6g62eoRMcDg==" + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.11.2.tgz", + "integrity": "sha512-3tfrrO1JpJSYGKnd9LKTBPqgUES/UYiCzMKeqwR1+jF16q4kD1BY2NvqkfuzXwQ6+CIWm55V9cjD7PQd+hijdw==" }, "core-js-pure": { "version": "3.6.5", @@ -9205,7 +9215,7 @@ }, "react": { "version": "16.13.1", - "resolved": false, + "resolved": "", "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", "dev": true, "requires": { @@ -9216,7 +9226,7 @@ }, "react-dom": { "version": "16.13.1", - "resolved": false, + "resolved": "", "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==", "dev": true, "requires": { diff --git a/package.json b/package.json index 325bdf2e..ec051d76 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "author": "Auth0", "name": "@auth0/auth0-react", - "version": "1.4.0", + "version": "1.5.0", "description": "Auth0 SDK for React Single Page Applications (SPA)", "keywords": [ "auth0", @@ -99,6 +99,6 @@ } }, "dependencies": { - "@auth0/auth0-spa-js": "^1.14.0" + "@auth0/auth0-spa-js": "^1.15.0" } }