From 04a43c8c8f6bc0c3232eeec594875224dd1ce94b Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Wed, 13 Jan 2021 11:46:45 +0000 Subject: [PATCH 1/5] Release 1.0.0-beta.0 --- CHANGELOG.md | 17 ++++ README.md | 7 +- docs/assets/js/search.js | 2 +- docs/classes/session.sessioncache.html | 18 ++--- docs/classes/session_session.default.html | 24 +++--- .../utils_errors.accesstokenerror.html | 4 +- .../config.authorizationparameters.html | 6 +- docs/interfaces/config.config-1.html | 80 ++++++++++++------- docs/interfaces/config.cookieconfig.html | 18 ++--- docs/interfaces/config.sessionconfig.html | 12 +-- .../frontend_use_user.usercontext.html | 33 ++++++-- .../frontend_use_user.userprofile.html | 31 +++---- ..._required.withpageauthrequiredoptions.html | 56 +++++++------ docs/interfaces/handlers_auth.handlers.html | 10 +-- .../handlers_login.loginoptions.html | 12 +-- .../handlers_logout.logoutoptions.html | 4 +- docs/interfaces/instance.signinwithauth0.html | 18 ++--- ...n_get_access_token.accesstokenrequest.html | 8 +- ...get_access_token.getaccesstokenresult.html | 4 +- docs/modules/config.html | 2 +- docs/modules/frontend.html | 9 +++ docs/modules/frontend_use_user.html | 69 +++++++++++++--- .../frontend_with_page_auth_required.html | 6 +- docs/modules/handlers_auth.html | 10 +-- docs/modules/handlers_callback.html | 20 ++--- docs/modules/handlers_login.html | 14 ++-- docs/modules/handlers_logout.html | 6 +- docs/modules/handlers_profile.html | 10 +-- .../helpers_with_api_auth_required.html | 10 +-- .../helpers_with_page_auth_required.html | 40 +++++----- docs/modules/instance.html | 4 +- docs/modules/session_get_access_token.html | 6 +- docs/modules/session_get_session.html | 6 +- docs/modules/version.html | 2 +- 34 files changed, 350 insertions(+), 228 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0ff63050..21862f65f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## [1.0.0-beta.0](https://github.com/auth0/nextjs-auth0/tree/v1.0.0-beta.0) (2021-01-14) + +Install using the **beta** tag `npm install @auth0/nextjs-auth0@beta` + +For a full list of breaking changes and migration guide, checkout the [V1_MIGRATION_GUIDE.md](./V1_MIGRATION_GUIDE.md) + +- AggregateError#message from `Issuer.discover` includes stack trace [#236](https://github.com/auth0/nextjs-auth0/pull/236) ([adamjmcgrath](https://github.com/adamjmcgrath)) +- Prevent caching the `/me` request [#233](https://github.com/auth0/nextjs-auth0/pull/233) ([adamjmcgrath](https://github.com/adamjmcgrath)) +- Added error handling to useUser [SDK-2236] [#229](https://github.com/auth0/nextjs-auth0/pull/229) ([Widcket](https://github.com/Widcket)) +- Rename loading to isLoading [#222](https://github.com/auth0/nextjs-auth0/pull/222) ([Widcket](https://github.com/Widcket)) +- Prepare application to be deployable with Vercel [#218](https://github.com/auth0/nextjs-auth0/pull/218) ([frederikprijck](https://github.com/frederikprijck)) +- Added withCSRAuthRequired HOC [SDK-2120] [#209](https://github.com/auth0/nextjs-auth0/pull/209) ([Widcket](https://github.com/Widcket)) +- [SDK-2057] Express mw tests [#191](https://github.com/auth0/nextjs-auth0/pull/191) ([adamjmcgrath](https://github.com/adamjmcgrath)) +- Add withAuth HOC [SDK-2120] [#189](https://github.com/auth0/nextjs-auth0/pull/189) ([Widcket](https://github.com/Widcket)) +- Add frontend hook tests [SDK-2117] [#188](https://github.com/auth0/nextjs-auth0/pull/188) ([Widcket](https://github.com/Widcket)) +- Add frontend hook CH: Added [#187](https://github.com/auth0/nextjs-auth0/pull/187) ([Widcket](https://github.com/Widcket)) + ## [v0.16.0](https://github.com/auth0/nextjs-auth0/tree/v0.16.0) (2020-08-19) - Updating dependencies with security issues diff --git a/README.md b/README.md index 462ef25d1..ffe9599b5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# @auth0/nextjs-auth0 +# @auth0/nextjs-auth0 Beta Auth0 SDK for signing in to your Next.js applications. @@ -15,10 +15,11 @@ Auth0 SDK for signing in to your Next.js applications. - [Auth0 Configuration](#auth0-configuration) - [Basic Setup](#basic-setup) - [Documentation](#documentation) - - [Architecture](./ARCHITECTURE.md) - - [v1 Migration Guide](./V1_MIGRATION_GUIDE.md) + - [QuickStart](https://auth0.com/docs/quickstart/webapp/nextjs) - [API Reference](#api-reference) + - [v1 Migration Guide](./V1_MIGRATION_GUIDE.md) - [Cookies and Security](#cookies-and-security) + - [Architecture](./ARCHITECTURE.md) - [Comparison with auth0-react](#comparison-with-auth0-react) - [Testing](#testing) - [Troubleshooting](#troubleshooting) diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index 010110f0c..ae77e5148 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1 +1 @@ -window.searchData = {"kinds":{"1":"Module","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"config","url":"modules/config.html","classes":"tsd-kind-module"},{"id":1,"kind":256,"name":"Config","url":"interfaces/config.config-1.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":2,"kind":1024,"name":"secret","url":"interfaces/config.config-1.html#secret","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":3,"kind":1024,"name":"session","url":"interfaces/config.config-1.html#session","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":4,"kind":1024,"name":"auth0Logout","url":"interfaces/config.config-1.html#auth0logout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":5,"kind":1024,"name":"authorizationParams","url":"interfaces/config.config-1.html#authorizationparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":6,"kind":1024,"name":"baseURL","url":"interfaces/config.config-1.html#baseurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":7,"kind":1024,"name":"clientID","url":"interfaces/config.config-1.html#clientid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":8,"kind":1024,"name":"clientSecret","url":"interfaces/config.config-1.html#clientsecret","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":9,"kind":1024,"name":"clockTolerance","url":"interfaces/config.config-1.html#clocktolerance","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":10,"kind":1024,"name":"enableTelemetry","url":"interfaces/config.config-1.html#enabletelemetry","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":11,"kind":1024,"name":"getLoginState","url":"interfaces/config.config-1.html#getloginstate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":12,"kind":65536,"name":"__type","url":"interfaces/config.config-1.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"config.Config"},{"id":13,"kind":1024,"name":"identityClaimFilter","url":"interfaces/config.config-1.html#identityclaimfilter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":14,"kind":1024,"name":"idpLogout","url":"interfaces/config.config-1.html#idplogout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":15,"kind":1024,"name":"idTokenSigningAlg","url":"interfaces/config.config-1.html#idtokensigningalg","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":16,"kind":1024,"name":"issuerBaseURL","url":"interfaces/config.config-1.html#issuerbaseurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":17,"kind":1024,"name":"legacySameSiteCookie","url":"interfaces/config.config-1.html#legacysamesitecookie","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":18,"kind":1024,"name":"routes","url":"interfaces/config.config-1.html#routes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":19,"kind":65536,"name":"__type","url":"interfaces/config.config-1.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"config.Config"},{"id":20,"kind":1024,"name":"postLogoutRedirect","url":"interfaces/config.config-1.html#__type-1.postlogoutredirect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.Config.__type"},{"id":21,"kind":1024,"name":"callback","url":"interfaces/config.config-1.html#__type-1.callback","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.Config.__type"},{"id":22,"kind":256,"name":"SessionConfig","url":"interfaces/config.sessionconfig.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":23,"kind":1024,"name":"name","url":"interfaces/config.sessionconfig.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":24,"kind":1024,"name":"rolling","url":"interfaces/config.sessionconfig.html#rolling","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":25,"kind":1024,"name":"rollingDuration","url":"interfaces/config.sessionconfig.html#rollingduration","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":26,"kind":1024,"name":"absoluteDuration","url":"interfaces/config.sessionconfig.html#absoluteduration","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":27,"kind":1024,"name":"cookie","url":"interfaces/config.sessionconfig.html#cookie","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":28,"kind":256,"name":"CookieConfig","url":"interfaces/config.cookieconfig.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":29,"kind":1024,"name":"domain","url":"interfaces/config.cookieconfig.html#domain","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":30,"kind":1024,"name":"path","url":"interfaces/config.cookieconfig.html#path","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":31,"kind":1024,"name":"transient","url":"interfaces/config.cookieconfig.html#transient","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":32,"kind":1024,"name":"httpOnly","url":"interfaces/config.cookieconfig.html#httponly","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":33,"kind":1024,"name":"secure","url":"interfaces/config.cookieconfig.html#secure","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":34,"kind":1024,"name":"sameSite","url":"interfaces/config.cookieconfig.html#samesite","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":35,"kind":256,"name":"AuthorizationParameters","url":"interfaces/config.authorizationparameters.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":36,"kind":1024,"name":"scope","url":"interfaces/config.authorizationparameters.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.AuthorizationParameters"},{"id":37,"kind":1024,"name":"response_mode","url":"interfaces/config.authorizationparameters.html#response_mode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.AuthorizationParameters"},{"id":38,"kind":1024,"name":"response_type","url":"interfaces/config.authorizationparameters.html#response_type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.AuthorizationParameters"},{"id":39,"kind":4194304,"name":"ConfigParameters","url":"modules/config.html#configparameters","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"config"},{"id":40,"kind":1,"name":"frontend","url":"modules/frontend.html","classes":"tsd-kind-module"},{"id":41,"kind":1,"name":"frontend/use-user","url":"modules/frontend_use_user.html","classes":"tsd-kind-module"},{"id":42,"kind":256,"name":"UserProfile","url":"interfaces/frontend_use_user.userprofile.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"frontend/use-user"},{"id":43,"kind":1024,"name":"email","url":"interfaces/frontend_use_user.userprofile.html#email","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":44,"kind":1024,"name":"email_verified","url":"interfaces/frontend_use_user.userprofile.html#email_verified","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":45,"kind":1024,"name":"name","url":"interfaces/frontend_use_user.userprofile.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":46,"kind":1024,"name":"nickname","url":"interfaces/frontend_use_user.userprofile.html#nickname","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":47,"kind":1024,"name":"picture","url":"interfaces/frontend_use_user.userprofile.html#picture","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":48,"kind":1024,"name":"sub","url":"interfaces/frontend_use_user.userprofile.html#sub","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":49,"kind":1024,"name":"updated_at","url":"interfaces/frontend_use_user.userprofile.html#updated_at","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":50,"kind":256,"name":"UserContext","url":"interfaces/frontend_use_user.usercontext.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"frontend/use-user"},{"id":51,"kind":1024,"name":"user","url":"interfaces/frontend_use_user.usercontext.html#user","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserContext"},{"id":52,"kind":1024,"name":"loading","url":"interfaces/frontend_use_user.usercontext.html#loading","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserContext"},{"id":53,"kind":4194304,"name":"UseUser","url":"modules/frontend_use_user.html#useuser","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/use-user"},{"id":54,"kind":65536,"name":"__type","url":"modules/frontend_use_user.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"frontend/use-user"},{"id":55,"kind":4194304,"name":"UserProvider","url":"modules/frontend_use_user.html#userprovider","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/use-user"},{"id":56,"kind":65536,"name":"__type","url":"modules/frontend_use_user.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"frontend/use-user"},{"id":57,"kind":1024,"name":"default","url":"modules/frontend_use_user.html#default","classes":"tsd-kind-property tsd-parent-kind-module","parent":"frontend/use-user"},{"id":58,"kind":65536,"name":"__type","url":"modules/frontend_use_user.html#__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"frontend/use-user"},{"id":59,"kind":1,"name":"frontend/with-page-auth-required","url":"modules/frontend_with_page_auth_required.html","classes":"tsd-kind-module"},{"id":60,"kind":256,"name":"WithPageAuthRequiredOptions","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"frontend/with-page-auth-required"},{"id":61,"kind":1024,"name":"returnTo","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":62,"kind":1024,"name":"loginUrl","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#loginurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":63,"kind":1024,"name":"onRedirecting","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#onredirecting","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":64,"kind":65536,"name":"__type","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":65,"kind":4194304,"name":"WithPageAuthRequired","url":"modules/frontend_with_page_auth_required.html#withpageauthrequired","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/with-page-auth-required"},{"id":66,"kind":65536,"name":"__type","url":"modules/frontend_with_page_auth_required.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module tsd-has-type-parameter","parent":"frontend/with-page-auth-required"},{"id":67,"kind":1,"name":"handlers/auth","url":"modules/handlers_auth.html","classes":"tsd-kind-module"},{"id":68,"kind":256,"name":"Handlers","url":"interfaces/handlers_auth.handlers.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"handlers/auth"},{"id":69,"kind":1024,"name":"login","url":"interfaces/handlers_auth.handlers.html#login","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":70,"kind":1024,"name":"logout","url":"interfaces/handlers_auth.handlers.html#logout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":71,"kind":1024,"name":"callback","url":"interfaces/handlers_auth.handlers.html#callback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":72,"kind":1024,"name":"profile","url":"interfaces/handlers_auth.handlers.html#profile","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":73,"kind":4194304,"name":"HandleAuth","url":"modules/handlers_auth.html#handleauth","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/auth"},{"id":74,"kind":65536,"name":"__type","url":"modules/handlers_auth.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/auth"},{"id":75,"kind":1,"name":"handlers/callback","url":"modules/handlers_callback.html","classes":"tsd-kind-module"},{"id":76,"kind":4194304,"name":"AfterCallback","url":"modules/handlers_callback.html#aftercallback","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/callback"},{"id":77,"kind":65536,"name":"__type","url":"modules/handlers_callback.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/callback"},{"id":78,"kind":4194304,"name":"CallbackOptions","url":"modules/handlers_callback.html#callbackoptions","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/callback"},{"id":79,"kind":65536,"name":"__type","url":"modules/handlers_callback.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/callback"},{"id":80,"kind":1024,"name":"afterCallback","url":"modules/handlers_callback.html#__type-1.aftercallback-1","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"handlers/callback.__type"},{"id":81,"kind":4194304,"name":"HandleCallback","url":"modules/handlers_callback.html#handlecallback","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/callback"},{"id":82,"kind":65536,"name":"__type","url":"modules/handlers_callback.html#__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/callback"},{"id":83,"kind":1,"name":"handlers","url":"modules/handlers.html","classes":"tsd-kind-module"},{"id":84,"kind":1,"name":"handlers/login","url":"modules/handlers_login.html","classes":"tsd-kind-module"},{"id":85,"kind":4194304,"name":"GetLoginState","url":"modules/handlers_login.html#getloginstate","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/login"},{"id":86,"kind":65536,"name":"__type","url":"modules/handlers_login.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/login"},{"id":87,"kind":256,"name":"LoginOptions","url":"interfaces/handlers_login.loginoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"handlers/login"},{"id":88,"kind":1024,"name":"authorizationParams","url":"interfaces/handlers_login.loginoptions.html#authorizationparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/login.LoginOptions"},{"id":89,"kind":1024,"name":"returnTo","url":"interfaces/handlers_login.loginoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/login.LoginOptions"},{"id":90,"kind":1024,"name":"getLoginState","url":"interfaces/handlers_login.loginoptions.html#getloginstate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/login.LoginOptions"},{"id":91,"kind":4194304,"name":"HandleLogin","url":"modules/handlers_login.html#handlelogin","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/login"},{"id":92,"kind":65536,"name":"__type","url":"modules/handlers_login.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/login"},{"id":93,"kind":1,"name":"handlers/logout","url":"modules/handlers_logout.html","classes":"tsd-kind-module"},{"id":94,"kind":256,"name":"LogoutOptions","url":"interfaces/handlers_logout.logoutoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"handlers/logout"},{"id":95,"kind":1024,"name":"returnTo","url":"interfaces/handlers_logout.logoutoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/logout.LogoutOptions"},{"id":96,"kind":4194304,"name":"HandleLogout","url":"modules/handlers_logout.html#handlelogout","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/logout"},{"id":97,"kind":65536,"name":"__type","url":"modules/handlers_logout.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/logout"},{"id":98,"kind":1,"name":"handlers/profile","url":"modules/handlers_profile.html","classes":"tsd-kind-module"},{"id":99,"kind":4194304,"name":"ProfileOptions","url":"modules/handlers_profile.html#profileoptions","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/profile"},{"id":100,"kind":65536,"name":"__type","url":"modules/handlers_profile.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/profile"},{"id":101,"kind":1024,"name":"refetch","url":"modules/handlers_profile.html#__type-1.refetch","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"handlers/profile.__type"},{"id":102,"kind":4194304,"name":"HandleProfile","url":"modules/handlers_profile.html#handleprofile","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/profile"},{"id":103,"kind":65536,"name":"__type","url":"modules/handlers_profile.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"handlers/profile"},{"id":104,"kind":1,"name":"helpers","url":"modules/helpers.html","classes":"tsd-kind-module"},{"id":105,"kind":1,"name":"helpers/with-api-auth-required","url":"modules/helpers_with_api_auth_required.html","classes":"tsd-kind-module"},{"id":106,"kind":4194304,"name":"WithApiAuthRequired","url":"modules/helpers_with_api_auth_required.html#withapiauthrequired","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-api-auth-required"},{"id":107,"kind":65536,"name":"__type","url":"modules/helpers_with_api_auth_required.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"helpers/with-api-auth-required"},{"id":108,"kind":1,"name":"helpers/with-page-auth-required","url":"modules/helpers_with_page_auth_required.html","classes":"tsd-kind-module"},{"id":109,"kind":4194304,"name":"GetServerSidePropsResultWithSession","url":"modules/helpers_with_page_auth_required.html#getserversidepropsresultwithsession","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":110,"kind":4194304,"name":"PageRoute","url":"modules/helpers_with_page_auth_required.html#pageroute","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":111,"kind":65536,"name":"__type","url":"modules/helpers_with_page_auth_required.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":112,"kind":4194304,"name":"WithPageAuthRequiredOptions","url":"modules/helpers_with_page_auth_required.html#withpageauthrequiredoptions","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":113,"kind":65536,"name":"__type","url":"modules/helpers_with_page_auth_required.html#__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":114,"kind":1024,"name":"getServerSideProps","url":"modules/helpers_with_page_auth_required.html#__type-2.getserversideprops","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"helpers/with-page-auth-required.__type"},{"id":115,"kind":1024,"name":"loginUrl","url":"modules/helpers_with_page_auth_required.html#__type-2.loginurl","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"helpers/with-page-auth-required.__type"},{"id":116,"kind":4194304,"name":"WithPageAuthRequired","url":"modules/helpers_with_page_auth_required.html#withpageauthrequired","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":117,"kind":65536,"name":"__type","url":"modules/helpers_with_page_auth_required.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-module tsd-has-type-parameter","parent":"helpers/with-page-auth-required"},{"id":118,"kind":1,"name":"instance","url":"modules/instance.html","classes":"tsd-kind-module"},{"id":119,"kind":256,"name":"SignInWithAuth0","url":"interfaces/instance.signinwithauth0.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"instance"},{"id":120,"kind":1024,"name":"getSession","url":"interfaces/instance.signinwithauth0.html#getsession","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":121,"kind":1024,"name":"getAccessToken","url":"interfaces/instance.signinwithauth0.html#getaccesstoken","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":122,"kind":1024,"name":"handleLogin","url":"interfaces/instance.signinwithauth0.html#handlelogin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":123,"kind":1024,"name":"handleCallback","url":"interfaces/instance.signinwithauth0.html#handlecallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":124,"kind":1024,"name":"handleLogout","url":"interfaces/instance.signinwithauth0.html#handlelogout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":125,"kind":1024,"name":"handleProfile","url":"interfaces/instance.signinwithauth0.html#handleprofile","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":126,"kind":1024,"name":"withApiAuthRequired","url":"interfaces/instance.signinwithauth0.html#withapiauthrequired","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":127,"kind":1024,"name":"withPageAuthRequired","url":"interfaces/instance.signinwithauth0.html#withpageauthrequired","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":128,"kind":1024,"name":"handleAuth","url":"interfaces/instance.signinwithauth0.html#handleauth","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":129,"kind":4194304,"name":"InitAuth0","url":"modules/instance.html#initauth0","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"instance"},{"id":130,"kind":65536,"name":"__type","url":"modules/instance.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"instance"},{"id":131,"kind":1,"name":"session/get-access-token","url":"modules/session_get_access_token.html","classes":"tsd-kind-module"},{"id":132,"kind":256,"name":"AccessTokenRequest","url":"interfaces/session_get_access_token.accesstokenrequest.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"session/get-access-token"},{"id":133,"kind":1024,"name":"scopes","url":"interfaces/session_get_access_token.accesstokenrequest.html#scopes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"session/get-access-token.AccessTokenRequest"},{"id":134,"kind":1024,"name":"refresh","url":"interfaces/session_get_access_token.accesstokenrequest.html#refresh","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"session/get-access-token.AccessTokenRequest"},{"id":135,"kind":256,"name":"GetAccessTokenResult","url":"interfaces/session_get_access_token.getaccesstokenresult.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"session/get-access-token"},{"id":136,"kind":1024,"name":"accessToken","url":"interfaces/session_get_access_token.getaccesstokenresult.html#accesstoken","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"session/get-access-token.GetAccessTokenResult"},{"id":137,"kind":4194304,"name":"GetAccessToken","url":"modules/session_get_access_token.html#getaccesstoken","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"session/get-access-token"},{"id":138,"kind":65536,"name":"__type","url":"modules/session_get_access_token.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"session/get-access-token"},{"id":139,"kind":1,"name":"session/get-session","url":"modules/session_get_session.html","classes":"tsd-kind-module"},{"id":140,"kind":4194304,"name":"GetSession","url":"modules/session_get_session.html#getsession","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"session/get-session"},{"id":141,"kind":65536,"name":"__type","url":"modules/session_get_session.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"session/get-session"},{"id":142,"kind":1,"name":"session","url":"modules/session.html","classes":"tsd-kind-module"},{"id":143,"kind":1,"name":"session/session","url":"modules/session_session.html","classes":"tsd-kind-module"},{"id":144,"kind":256,"name":"Claims","url":"interfaces/session_session.claims.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"session/session"},{"id":145,"kind":128,"name":"default","url":"classes/session_session.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"session/session"},{"id":146,"kind":512,"name":"constructor","url":"classes/session_session.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"session/session.default"},{"id":147,"kind":1024,"name":"user","url":"classes/session_session.default.html#user","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":148,"kind":1024,"name":"idToken","url":"classes/session_session.default.html#idtoken","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":149,"kind":1024,"name":"accessToken","url":"classes/session_session.default.html#accesstoken","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":150,"kind":1024,"name":"accessTokenScope","url":"classes/session_session.default.html#accesstokenscope","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":151,"kind":1024,"name":"accessTokenExpiresAt","url":"classes/session_session.default.html#accesstokenexpiresat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":152,"kind":1024,"name":"refreshToken","url":"classes/session_session.default.html#refreshtoken","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":153,"kind":1,"name":"utils/errors","url":"modules/utils_errors.html","classes":"tsd-kind-module"},{"id":154,"kind":128,"name":"AccessTokenError","url":"classes/utils_errors.accesstokenerror.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"utils/errors"},{"id":155,"kind":512,"name":"constructor","url":"classes/utils_errors.accesstokenerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"utils/errors.AccessTokenError"},{"id":156,"kind":1024,"name":"code","url":"classes/utils_errors.accesstokenerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"utils/errors.AccessTokenError"},{"id":157,"kind":1,"name":"version","url":"modules/version.html","classes":"tsd-kind-module"},{"id":158,"kind":1024,"name":"default","url":"modules/version.html#default","classes":"tsd-kind-property tsd-parent-kind-module","parent":"version"},{"id":159,"kind":16777216,"name":"UserProvider","url":"modules/frontend.html#userprovider","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":160,"kind":16777216,"name":"UserProfile","url":"modules/frontend.html#userprofile","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":161,"kind":16777216,"name":"UserContext","url":"modules/frontend.html#usercontext","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":162,"kind":16777216,"name":"WithPageAuthRequired","url":"modules/frontend.html#withpageauthrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":163,"kind":16777216,"name":"HandleCallback","url":"modules/handlers.html#handlecallback","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":164,"kind":16777216,"name":"CallbackOptions","url":"modules/handlers.html#callbackoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":165,"kind":16777216,"name":"AfterCallback","url":"modules/handlers.html#aftercallback","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":166,"kind":16777216,"name":"HandleLogin","url":"modules/handlers.html#handlelogin","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":167,"kind":16777216,"name":"LoginOptions","url":"modules/handlers.html#loginoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":168,"kind":16777216,"name":"GetLoginState","url":"modules/handlers.html#getloginstate","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":169,"kind":16777216,"name":"HandleLogout","url":"modules/handlers.html#handlelogout","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":170,"kind":16777216,"name":"LogoutOptions","url":"modules/handlers.html#logoutoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":171,"kind":16777216,"name":"HandleProfile","url":"modules/handlers.html#handleprofile","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":172,"kind":16777216,"name":"ProfileOptions","url":"modules/handlers.html#profileoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":173,"kind":16777216,"name":"Handlers","url":"modules/handlers.html#handlers-1","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":174,"kind":16777216,"name":"HandleAuth","url":"modules/handlers.html#handleauth","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":175,"kind":16777216,"name":"WithApiAuthRequired","url":"modules/helpers.html#withapiauthrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":176,"kind":16777216,"name":"GetServerSidePropsResultWithSession","url":"modules/helpers.html#getserversidepropsresultwithsession","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":177,"kind":16777216,"name":"WithPageAuthRequired","url":"modules/helpers.html#withpageauthrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":178,"kind":16777216,"name":"WithPageAuthRequiredOptions","url":"modules/helpers.html#withpageauthrequiredoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":179,"kind":16777216,"name":"PageRoute","url":"modules/helpers.html#pageroute","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":180,"kind":16777216,"name":"Session","url":"modules/session.html#session-1","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":181,"kind":16777216,"name":"Claims","url":"modules/session.html#claims","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":182,"kind":16777216,"name":"GetSession","url":"modules/session.html#getsession","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":183,"kind":16777216,"name":"GetAccessToken","url":"modules/session.html#getaccesstoken","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":184,"kind":16777216,"name":"AccessTokenRequest","url":"modules/session.html#accesstokenrequest","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":185,"kind":16777216,"name":"GetAccessTokenResult","url":"modules/session.html#getaccesstokenresult","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":186,"kind":128,"name":"SessionCache","url":"classes/session.sessioncache.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"session"},{"id":187,"kind":512,"name":"constructor","url":"classes/session.sessioncache.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"session.SessionCache"},{"id":188,"kind":2048,"name":"init","url":"classes/session.sessioncache.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":189,"kind":2048,"name":"create","url":"classes/session.sessioncache.html#create","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":190,"kind":2048,"name":"delete","url":"classes/session.sessioncache.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":191,"kind":2048,"name":"isAuthenticated","url":"classes/session.sessioncache.html#isauthenticated","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":192,"kind":2048,"name":"getIdToken","url":"classes/session.sessioncache.html#getidtoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":193,"kind":2048,"name":"set","url":"classes/session.sessioncache.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":194,"kind":2048,"name":"get","url":"classes/session.sessioncache.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":195,"kind":2048,"name":"fromTokenSet","url":"classes/session.sessioncache.html#fromtokenset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,33.536]],["parent/0",[]],["name/1",[0,33.536]],["parent/1",[0,3.649]],["name/2",[1,50.051]],["parent/2",[2,2.641]],["name/3",[3,27.505]],["parent/3",[2,2.641]],["name/4",[4,50.051]],["parent/4",[2,2.641]],["name/5",[5,44.809]],["parent/5",[2,2.641]],["name/6",[6,50.051]],["parent/6",[2,2.641]],["name/7",[7,50.051]],["parent/7",[2,2.641]],["name/8",[8,50.051]],["parent/8",[2,2.641]],["name/9",[9,50.051]],["parent/9",[2,2.641]],["name/10",[10,50.051]],["parent/10",[2,2.641]],["name/11",[11,38.778]],["parent/11",[2,2.641]],["name/12",[12,21.817]],["parent/12",[2,2.641]],["name/13",[13,50.051]],["parent/13",[2,2.641]],["name/14",[14,50.051]],["parent/14",[2,2.641]],["name/15",[15,50.051]],["parent/15",[2,2.641]],["name/16",[16,50.051]],["parent/16",[2,2.641]],["name/17",[17,50.051]],["parent/17",[2,2.641]],["name/18",[18,50.051]],["parent/18",[2,2.641]],["name/19",[12,21.817]],["parent/19",[2,2.641]],["name/20",[19,50.051]],["parent/20",[20,4.875]],["name/21",[21,44.809]],["parent/21",[20,4.875]],["name/22",[22,50.051]],["parent/22",[0,3.649]],["name/23",[23,44.809]],["parent/23",[24,3.995]],["name/24",[25,50.051]],["parent/24",[24,3.995]],["name/25",[26,50.051]],["parent/25",[24,3.995]],["name/26",[27,50.051]],["parent/26",[24,3.995]],["name/27",[28,50.051]],["parent/27",[24,3.995]],["name/28",[29,50.051]],["parent/28",[0,3.649]],["name/29",[30,50.051]],["parent/29",[31,3.808]],["name/30",[32,50.051]],["parent/30",[31,3.808]],["name/31",[33,50.051]],["parent/31",[31,3.808]],["name/32",[34,50.051]],["parent/32",[31,3.808]],["name/33",[35,50.051]],["parent/33",[31,3.808]],["name/34",[36,50.051]],["parent/34",[31,3.808]],["name/35",[37,50.051]],["parent/35",[0,3.649]],["name/36",[38,50.051]],["parent/36",[39,4.499]],["name/37",[40,50.051]],["parent/37",[39,4.499]],["name/38",[41,50.051]],["parent/38",[39,4.499]],["name/39",[42,50.051]],["parent/39",[0,3.649]],["name/40",[43,36.719]],["parent/40",[]],["name/41",[44,17.416,45,20.916]],["parent/41",[]],["name/42",[46,44.809]],["parent/42",[44,1.97,45,2.366]],["name/43",[47,50.051]],["parent/43",[44,1.97,48,2.722]],["name/44",[49,50.051]],["parent/44",[44,1.97,48,2.722]],["name/45",[23,44.809]],["parent/45",[44,1.97,48,2.722]],["name/46",[50,50.051]],["parent/46",[44,1.97,48,2.722]],["name/47",[51,50.051]],["parent/47",[44,1.97,48,2.722]],["name/48",[52,50.051]],["parent/48",[44,1.97,48,2.722]],["name/49",[53,50.051]],["parent/49",[44,1.97,48,2.722]],["name/50",[54,44.809]],["parent/50",[44,1.97,45,2.366]],["name/51",[45,29.15]],["parent/51",[44,1.97,55,3.637]],["name/52",[56,50.051]],["parent/52",[44,1.97,55,3.637]],["name/53",[57,50.051]],["parent/53",[44,1.97,45,2.366]],["name/54",[12,21.817]],["parent/54",[44,1.97,45,2.366]],["name/55",[58,44.809]],["parent/55",[44,1.97,45,2.366]],["name/56",[12,21.817]],["parent/56",[44,1.97,45,2.366]],["name/57",[59,41.357]],["parent/57",[44,1.97,45,2.366]],["name/58",[12,21.817]],["parent/58",[44,1.97,45,2.366]],["name/59",[60,14.788,61,11.129,62,10.422,63,11.961]],["parent/59",[]],["name/60",[64,41.357]],["parent/60",[60,1.736,61,1.307,62,1.224,63,1.404]],["name/61",[65,41.357]],["parent/61",[60,1.736,61,1.307,62,1.224,66,2.087]],["name/62",[67,44.809]],["parent/62",[60,1.736,61,1.307,62,1.224,66,2.087]],["name/63",[68,50.051]],["parent/63",[60,1.736,61,1.307,62,1.224,66,2.087]],["name/64",[12,21.817]],["parent/64",[60,1.736,61,1.307,62,1.224,66,2.087]],["name/65",[69,36.719]],["parent/65",[60,1.736,61,1.307,62,1.224,63,1.404]],["name/66",[12,21.817]],["parent/66",[60,1.736,61,1.307,62,1.224,63,1.404]],["name/67",[70,38.778]],["parent/67",[]],["name/68",[71,26.087]],["parent/68",[70,4.219]],["name/69",[72,50.051]],["parent/69",[73,4.219]],["name/70",[74,50.051]],["parent/70",[73,4.219]],["name/71",[21,44.809]],["parent/71",[73,4.219]],["name/72",[75,50.051]],["parent/72",[73,4.219]],["name/73",[76,41.357]],["parent/73",[70,4.219]],["name/74",[12,21.817]],["parent/74",[70,4.219]],["name/75",[77,33.536]],["parent/75",[]],["name/76",[78,41.357]],["parent/76",[77,3.649]],["name/77",[12,21.817]],["parent/77",[77,3.649]],["name/78",[79,44.809]],["parent/78",[77,3.649]],["name/79",[12,21.817]],["parent/79",[77,3.649]],["name/80",[78,41.357]],["parent/80",[80,5.445]],["name/81",[81,41.357]],["parent/81",[77,3.649]],["name/82",[12,21.817]],["parent/82",[77,3.649]],["name/83",[71,26.087]],["parent/83",[]],["name/84",[82,35.005]],["parent/84",[]],["name/85",[11,38.778]],["parent/85",[82,3.808]],["name/86",[12,21.817]],["parent/86",[82,3.808]],["name/87",[83,44.809]],["parent/87",[82,3.808]],["name/88",[5,44.809]],["parent/88",[84,4.499]],["name/89",[65,41.357]],["parent/89",[84,4.499]],["name/90",[11,38.778]],["parent/90",[84,4.499]],["name/91",[85,41.357]],["parent/91",[82,3.808]],["name/92",[12,21.817]],["parent/92",[82,3.808]],["name/93",[86,38.778]],["parent/93",[]],["name/94",[87,44.809]],["parent/94",[86,4.219]],["name/95",[65,41.357]],["parent/95",[88,5.445]],["name/96",[89,41.357]],["parent/96",[86,4.219]],["name/97",[12,21.817]],["parent/97",[86,4.219]],["name/98",[90,36.719]],["parent/98",[]],["name/99",[91,44.809]],["parent/99",[90,3.995]],["name/100",[12,21.817]],["parent/100",[90,3.995]],["name/101",[92,50.051]],["parent/101",[93,5.445]],["name/102",[94,41.357]],["parent/102",[90,3.995]],["name/103",[12,21.817]],["parent/103",[90,3.995]],["name/104",[95,35.005]],["parent/104",[]],["name/105",[62,10.422,63,11.961,96,12.611,97,18.962]],["parent/105",[]],["name/106",[98,41.357]],["parent/106",[62,1.224,63,1.404,96,1.481,97,2.226]],["name/107",[12,21.817]],["parent/107",[62,1.224,63,1.404,96,1.481,97,2.226]],["name/108",[61,11.129,62,10.422,63,11.961,96,12.611]],["parent/108",[]],["name/109",[99,44.809]],["parent/109",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/110",[100,44.809]],["parent/110",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/111",[12,21.817]],["parent/111",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/112",[64,41.357]],["parent/112",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/113",[12,21.817]],["parent/113",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/114",[101,50.051]],["parent/114",[61,1.307,62,1.224,96,1.481,102,2.412]],["name/115",[67,44.809]],["parent/115",[61,1.307,62,1.224,96,1.481,102,2.412]],["name/116",[69,36.719]],["parent/116",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/117",[12,21.817]],["parent/117",[61,1.307,62,1.224,63,1.404,96,1.481]],["name/118",[103,38.778]],["parent/118",[]],["name/119",[104,50.051]],["parent/119",[103,4.219]],["name/120",[105,41.357]],["parent/120",[106,3.385]],["name/121",[107,41.357]],["parent/121",[106,3.385]],["name/122",[85,41.357]],["parent/122",[106,3.385]],["name/123",[81,41.357]],["parent/123",[106,3.385]],["name/124",[89,41.357]],["parent/124",[106,3.385]],["name/125",[94,41.357]],["parent/125",[106,3.385]],["name/126",[98,41.357]],["parent/126",[106,3.385]],["name/127",[69,36.719]],["parent/127",[106,3.385]],["name/128",[76,41.357]],["parent/128",[106,3.385]],["name/129",[108,50.051]],["parent/129",[103,4.219]],["name/130",[12,21.817]],["parent/130",[103,4.219]],["name/131",[109,16.309,110,18.045,111,20.544]],["parent/131",[]],["name/132",[112,44.809]],["parent/132",[109,1.887,110,2.088,111,2.377]],["name/133",[113,50.051]],["parent/133",[109,1.887,110,2.088,114,2.901]],["name/134",[115,50.051]],["parent/134",[109,1.887,110,2.088,114,2.901]],["name/135",[116,44.809]],["parent/135",[109,1.887,110,2.088,111,2.377]],["name/136",[117,44.809]],["parent/136",[109,1.887,110,2.088,118,3.24]],["name/137",[107,41.357]],["parent/137",[109,1.887,110,2.088,111,2.377]],["name/138",[12,21.817]],["parent/138",[109,1.887,110,2.088,111,2.377]],["name/139",[3,19.736,109,20.916]],["parent/139",[]],["name/140",[105,41.357]],["parent/140",[3,2.233,109,2.366]],["name/141",[12,21.817]],["parent/141",[3,2.233,109,2.366]],["name/142",[3,27.505]],["parent/142",[]],["name/143",[119,41.357]],["parent/143",[]],["name/144",[120,44.809]],["parent/144",[119,4.499]],["name/145",[59,41.357]],["parent/145",[119,4.499]],["name/146",[121,41.357]],["parent/146",[122,3.649]],["name/147",[45,29.15]],["parent/147",[122,3.649]],["name/148",[123,50.051]],["parent/148",[122,3.649]],["name/149",[117,44.809]],["parent/149",[122,3.649]],["name/150",[124,50.051]],["parent/150",[122,3.649]],["name/151",[125,50.051]],["parent/151",[122,3.649]],["name/152",[126,50.051]],["parent/152",[122,3.649]],["name/153",[127,44.809]],["parent/153",[]],["name/154",[128,50.051]],["parent/154",[127,4.875]],["name/155",[121,41.357]],["parent/155",[129,4.875]],["name/156",[130,50.051]],["parent/156",[129,4.875]],["name/157",[131,44.809]],["parent/157",[]],["name/158",[59,41.357]],["parent/158",[131,4.875]],["name/159",[58,44.809]],["parent/159",[43,3.995]],["name/160",[46,44.809]],["parent/160",[43,3.995]],["name/161",[54,44.809]],["parent/161",[43,3.995]],["name/162",[69,36.719]],["parent/162",[43,3.995]],["name/163",[81,41.357]],["parent/163",[71,2.838]],["name/164",[79,44.809]],["parent/164",[71,2.838]],["name/165",[78,41.357]],["parent/165",[71,2.838]],["name/166",[85,41.357]],["parent/166",[71,2.838]],["name/167",[83,44.809]],["parent/167",[71,2.838]],["name/168",[11,38.778]],["parent/168",[71,2.838]],["name/169",[89,41.357]],["parent/169",[71,2.838]],["name/170",[87,44.809]],["parent/170",[71,2.838]],["name/171",[94,41.357]],["parent/171",[71,2.838]],["name/172",[91,44.809]],["parent/172",[71,2.838]],["name/173",[71,26.087]],["parent/173",[71,2.838]],["name/174",[76,41.357]],["parent/174",[71,2.838]],["name/175",[98,41.357]],["parent/175",[95,3.808]],["name/176",[99,44.809]],["parent/176",[95,3.808]],["name/177",[69,36.719]],["parent/177",[95,3.808]],["name/178",[64,41.357]],["parent/178",[95,3.808]],["name/179",[100,44.809]],["parent/179",[95,3.808]],["name/180",[3,27.505]],["parent/180",[3,2.992]],["name/181",[120,44.809]],["parent/181",[3,2.992]],["name/182",[105,41.357]],["parent/182",[3,2.992]],["name/183",[107,41.357]],["parent/183",[3,2.992]],["name/184",[112,44.809]],["parent/184",[3,2.992]],["name/185",[116,44.809]],["parent/185",[3,2.992]],["name/186",[132,50.051]],["parent/186",[3,2.992]],["name/187",[121,41.357]],["parent/187",[133,3.385]],["name/188",[134,50.051]],["parent/188",[133,3.385]],["name/189",[135,50.051]],["parent/189",[133,3.385]],["name/190",[136,50.051]],["parent/190",[133,3.385]],["name/191",[137,50.051]],["parent/191",[133,3.385]],["name/192",[138,50.051]],["parent/192",[133,3.385]],["name/193",[139,50.051]],["parent/193",[133,3.385]],["name/194",[140,50.051]],["parent/194",[133,3.385]],["name/195",[141,50.051]],["parent/195",[133,3.385]]],"invertedIndex":[["__type",{"_index":12,"name":{"12":{},"19":{},"54":{},"56":{},"58":{},"64":{},"66":{},"74":{},"77":{},"79":{},"82":{},"86":{},"92":{},"97":{},"100":{},"103":{},"107":{},"111":{},"113":{},"117":{},"130":{},"138":{},"141":{}},"parent":{}}],["absoluteduration",{"_index":27,"name":{"26":{}},"parent":{}}],["access",{"_index":110,"name":{"131":{}},"parent":{"132":{},"133":{},"134":{},"135":{},"136":{},"137":{},"138":{}}}],["accesstoken",{"_index":117,"name":{"136":{},"149":{}},"parent":{}}],["accesstokenerror",{"_index":128,"name":{"154":{}},"parent":{}}],["accesstokenexpiresat",{"_index":125,"name":{"151":{}},"parent":{}}],["accesstokenrequest",{"_index":112,"name":{"132":{},"184":{}},"parent":{}}],["accesstokenscope",{"_index":124,"name":{"150":{}},"parent":{}}],["aftercallback",{"_index":78,"name":{"76":{},"80":{},"165":{}},"parent":{}}],["api",{"_index":97,"name":{"105":{}},"parent":{"106":{},"107":{}}}],["auth",{"_index":62,"name":{"59":{},"105":{},"108":{}},"parent":{"60":{},"61":{},"62":{},"63":{},"64":{},"65":{},"66":{},"106":{},"107":{},"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{}}}],["auth0logout",{"_index":4,"name":{"4":{}},"parent":{}}],["authorizationparameters",{"_index":37,"name":{"35":{}},"parent":{}}],["authorizationparams",{"_index":5,"name":{"5":{},"88":{}},"parent":{}}],["baseurl",{"_index":6,"name":{"6":{}},"parent":{}}],["callback",{"_index":21,"name":{"21":{},"71":{}},"parent":{}}],["callbackoptions",{"_index":79,"name":{"78":{},"164":{}},"parent":{}}],["claims",{"_index":120,"name":{"144":{},"181":{}},"parent":{}}],["clientid",{"_index":7,"name":{"7":{}},"parent":{}}],["clientsecret",{"_index":8,"name":{"8":{}},"parent":{}}],["clocktolerance",{"_index":9,"name":{"9":{}},"parent":{}}],["code",{"_index":130,"name":{"156":{}},"parent":{}}],["config",{"_index":0,"name":{"0":{},"1":{}},"parent":{"1":{},"22":{},"28":{},"35":{},"39":{}}}],["config.authorizationparameters",{"_index":39,"name":{},"parent":{"36":{},"37":{},"38":{}}}],["config.config",{"_index":2,"name":{},"parent":{"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{}}}],["config.config.__type",{"_index":20,"name":{},"parent":{"20":{},"21":{}}}],["config.cookieconfig",{"_index":31,"name":{},"parent":{"29":{},"30":{},"31":{},"32":{},"33":{},"34":{}}}],["config.sessionconfig",{"_index":24,"name":{},"parent":{"23":{},"24":{},"25":{},"26":{},"27":{}}}],["configparameters",{"_index":42,"name":{"39":{}},"parent":{}}],["constructor",{"_index":121,"name":{"146":{},"155":{},"187":{}},"parent":{}}],["cookie",{"_index":28,"name":{"27":{}},"parent":{}}],["cookieconfig",{"_index":29,"name":{"28":{}},"parent":{}}],["create",{"_index":135,"name":{"189":{}},"parent":{}}],["default",{"_index":59,"name":{"57":{},"145":{},"158":{}},"parent":{}}],["delete",{"_index":136,"name":{"190":{}},"parent":{}}],["domain",{"_index":30,"name":{"29":{}},"parent":{}}],["email",{"_index":47,"name":{"43":{}},"parent":{}}],["email_verified",{"_index":49,"name":{"44":{}},"parent":{}}],["enabletelemetry",{"_index":10,"name":{"10":{}},"parent":{}}],["fromtokenset",{"_index":141,"name":{"195":{}},"parent":{}}],["frontend",{"_index":43,"name":{"40":{}},"parent":{"159":{},"160":{},"161":{},"162":{}}}],["frontend/use",{"_index":44,"name":{"41":{}},"parent":{"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{},"55":{},"56":{},"57":{},"58":{}}}],["frontend/with",{"_index":60,"name":{"59":{}},"parent":{"60":{},"61":{},"62":{},"63":{},"64":{},"65":{},"66":{}}}],["get",{"_index":140,"name":{"194":{}},"parent":{}}],["getaccesstoken",{"_index":107,"name":{"121":{},"137":{},"183":{}},"parent":{}}],["getaccesstokenresult",{"_index":116,"name":{"135":{},"185":{}},"parent":{}}],["getidtoken",{"_index":138,"name":{"192":{}},"parent":{}}],["getloginstate",{"_index":11,"name":{"11":{},"85":{},"90":{},"168":{}},"parent":{}}],["getserversideprops",{"_index":101,"name":{"114":{}},"parent":{}}],["getserversidepropsresultwithsession",{"_index":99,"name":{"109":{},"176":{}},"parent":{}}],["getsession",{"_index":105,"name":{"120":{},"140":{},"182":{}},"parent":{}}],["handleauth",{"_index":76,"name":{"73":{},"128":{},"174":{}},"parent":{}}],["handlecallback",{"_index":81,"name":{"81":{},"123":{},"163":{}},"parent":{}}],["handlelogin",{"_index":85,"name":{"91":{},"122":{},"166":{}},"parent":{}}],["handlelogout",{"_index":89,"name":{"96":{},"124":{},"169":{}},"parent":{}}],["handleprofile",{"_index":94,"name":{"102":{},"125":{},"171":{}},"parent":{}}],["handlers",{"_index":71,"name":{"68":{},"83":{},"173":{}},"parent":{"163":{},"164":{},"165":{},"166":{},"167":{},"168":{},"169":{},"170":{},"171":{},"172":{},"173":{},"174":{}}}],["handlers/auth",{"_index":70,"name":{"67":{}},"parent":{"68":{},"73":{},"74":{}}}],["handlers/auth.handlers",{"_index":73,"name":{},"parent":{"69":{},"70":{},"71":{},"72":{}}}],["handlers/callback",{"_index":77,"name":{"75":{}},"parent":{"76":{},"77":{},"78":{},"79":{},"81":{},"82":{}}}],["handlers/callback.__type",{"_index":80,"name":{},"parent":{"80":{}}}],["handlers/login",{"_index":82,"name":{"84":{}},"parent":{"85":{},"86":{},"87":{},"91":{},"92":{}}}],["handlers/login.loginoptions",{"_index":84,"name":{},"parent":{"88":{},"89":{},"90":{}}}],["handlers/logout",{"_index":86,"name":{"93":{}},"parent":{"94":{},"96":{},"97":{}}}],["handlers/logout.logoutoptions",{"_index":88,"name":{},"parent":{"95":{}}}],["handlers/profile",{"_index":90,"name":{"98":{}},"parent":{"99":{},"100":{},"102":{},"103":{}}}],["handlers/profile.__type",{"_index":93,"name":{},"parent":{"101":{}}}],["helpers",{"_index":95,"name":{"104":{}},"parent":{"175":{},"176":{},"177":{},"178":{},"179":{}}}],["helpers/with",{"_index":96,"name":{"105":{},"108":{}},"parent":{"106":{},"107":{},"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{}}}],["httponly",{"_index":34,"name":{"32":{}},"parent":{}}],["identityclaimfilter",{"_index":13,"name":{"13":{}},"parent":{}}],["idplogout",{"_index":14,"name":{"14":{}},"parent":{}}],["idtoken",{"_index":123,"name":{"148":{}},"parent":{}}],["idtokensigningalg",{"_index":15,"name":{"15":{}},"parent":{}}],["init",{"_index":134,"name":{"188":{}},"parent":{}}],["initauth0",{"_index":108,"name":{"129":{}},"parent":{}}],["instance",{"_index":103,"name":{"118":{}},"parent":{"119":{},"129":{},"130":{}}}],["instance.signinwithauth0",{"_index":106,"name":{},"parent":{"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{}}}],["isauthenticated",{"_index":137,"name":{"191":{}},"parent":{}}],["issuerbaseurl",{"_index":16,"name":{"16":{}},"parent":{}}],["legacysamesitecookie",{"_index":17,"name":{"17":{}},"parent":{}}],["loading",{"_index":56,"name":{"52":{}},"parent":{}}],["login",{"_index":72,"name":{"69":{}},"parent":{}}],["loginoptions",{"_index":83,"name":{"87":{},"167":{}},"parent":{}}],["loginurl",{"_index":67,"name":{"62":{},"115":{}},"parent":{}}],["logout",{"_index":74,"name":{"70":{}},"parent":{}}],["logoutoptions",{"_index":87,"name":{"94":{},"170":{}},"parent":{}}],["name",{"_index":23,"name":{"23":{},"45":{}},"parent":{}}],["nickname",{"_index":50,"name":{"46":{}},"parent":{}}],["onredirecting",{"_index":68,"name":{"63":{}},"parent":{}}],["page",{"_index":61,"name":{"59":{},"108":{}},"parent":{"60":{},"61":{},"62":{},"63":{},"64":{},"65":{},"66":{},"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{}}}],["pageroute",{"_index":100,"name":{"110":{},"179":{}},"parent":{}}],["path",{"_index":32,"name":{"30":{}},"parent":{}}],["picture",{"_index":51,"name":{"47":{}},"parent":{}}],["postlogoutredirect",{"_index":19,"name":{"20":{}},"parent":{}}],["profile",{"_index":75,"name":{"72":{}},"parent":{}}],["profileoptions",{"_index":91,"name":{"99":{},"172":{}},"parent":{}}],["refetch",{"_index":92,"name":{"101":{}},"parent":{}}],["refresh",{"_index":115,"name":{"134":{}},"parent":{}}],["refreshtoken",{"_index":126,"name":{"152":{}},"parent":{}}],["required",{"_index":63,"name":{"59":{},"105":{},"108":{}},"parent":{"60":{},"65":{},"66":{},"106":{},"107":{},"109":{},"110":{},"111":{},"112":{},"113":{},"116":{},"117":{}}}],["required.__type",{"_index":102,"name":{},"parent":{"114":{},"115":{}}}],["required.withpageauthrequiredoptions",{"_index":66,"name":{},"parent":{"61":{},"62":{},"63":{},"64":{}}}],["response_mode",{"_index":40,"name":{"37":{}},"parent":{}}],["response_type",{"_index":41,"name":{"38":{}},"parent":{}}],["returnto",{"_index":65,"name":{"61":{},"89":{},"95":{}},"parent":{}}],["rolling",{"_index":25,"name":{"24":{}},"parent":{}}],["rollingduration",{"_index":26,"name":{"25":{}},"parent":{}}],["routes",{"_index":18,"name":{"18":{}},"parent":{}}],["samesite",{"_index":36,"name":{"34":{}},"parent":{}}],["scope",{"_index":38,"name":{"36":{}},"parent":{}}],["scopes",{"_index":113,"name":{"133":{}},"parent":{}}],["secret",{"_index":1,"name":{"2":{}},"parent":{}}],["secure",{"_index":35,"name":{"33":{}},"parent":{}}],["session",{"_index":3,"name":{"3":{},"139":{},"142":{},"180":{}},"parent":{"140":{},"141":{},"180":{},"181":{},"182":{},"183":{},"184":{},"185":{},"186":{}}}],["session.sessioncache",{"_index":133,"name":{},"parent":{"187":{},"188":{},"189":{},"190":{},"191":{},"192":{},"193":{},"194":{},"195":{}}}],["session/get",{"_index":109,"name":{"131":{},"139":{}},"parent":{"132":{},"133":{},"134":{},"135":{},"136":{},"137":{},"138":{},"140":{},"141":{}}}],["session/session",{"_index":119,"name":{"143":{}},"parent":{"144":{},"145":{}}}],["session/session.default",{"_index":122,"name":{},"parent":{"146":{},"147":{},"148":{},"149":{},"150":{},"151":{},"152":{}}}],["sessioncache",{"_index":132,"name":{"186":{}},"parent":{}}],["sessionconfig",{"_index":22,"name":{"22":{}},"parent":{}}],["set",{"_index":139,"name":{"193":{}},"parent":{}}],["signinwithauth0",{"_index":104,"name":{"119":{}},"parent":{}}],["sub",{"_index":52,"name":{"48":{}},"parent":{}}],["token",{"_index":111,"name":{"131":{}},"parent":{"132":{},"135":{},"137":{},"138":{}}}],["token.accesstokenrequest",{"_index":114,"name":{},"parent":{"133":{},"134":{}}}],["token.getaccesstokenresult",{"_index":118,"name":{},"parent":{"136":{}}}],["transient",{"_index":33,"name":{"31":{}},"parent":{}}],["updated_at",{"_index":53,"name":{"49":{}},"parent":{}}],["user",{"_index":45,"name":{"41":{},"51":{},"147":{}},"parent":{"42":{},"50":{},"53":{},"54":{},"55":{},"56":{},"57":{},"58":{}}}],["user.usercontext",{"_index":55,"name":{},"parent":{"51":{},"52":{}}}],["user.userprofile",{"_index":48,"name":{},"parent":{"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{}}}],["usercontext",{"_index":54,"name":{"50":{},"161":{}},"parent":{}}],["userprofile",{"_index":46,"name":{"42":{},"160":{}},"parent":{}}],["userprovider",{"_index":58,"name":{"55":{},"159":{}},"parent":{}}],["useuser",{"_index":57,"name":{"53":{}},"parent":{}}],["utils/errors",{"_index":127,"name":{"153":{}},"parent":{"154":{}}}],["utils/errors.accesstokenerror",{"_index":129,"name":{},"parent":{"155":{},"156":{}}}],["version",{"_index":131,"name":{"157":{}},"parent":{"158":{}}}],["withapiauthrequired",{"_index":98,"name":{"106":{},"126":{},"175":{}},"parent":{}}],["withpageauthrequired",{"_index":69,"name":{"65":{},"116":{},"127":{},"162":{},"177":{}},"parent":{}}],["withpageauthrequiredoptions",{"_index":64,"name":{"60":{},"112":{},"178":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file +window.searchData = {"kinds":{"1":"Module","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"config","url":"modules/config.html","classes":"tsd-kind-module"},{"id":1,"kind":256,"name":"Config","url":"interfaces/config.config-1.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":2,"kind":1024,"name":"secret","url":"interfaces/config.config-1.html#secret","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":3,"kind":1024,"name":"session","url":"interfaces/config.config-1.html#session","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":4,"kind":1024,"name":"auth0Logout","url":"interfaces/config.config-1.html#auth0logout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":5,"kind":1024,"name":"authorizationParams","url":"interfaces/config.config-1.html#authorizationparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":6,"kind":1024,"name":"baseURL","url":"interfaces/config.config-1.html#baseurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":7,"kind":1024,"name":"clientID","url":"interfaces/config.config-1.html#clientid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":8,"kind":1024,"name":"clientSecret","url":"interfaces/config.config-1.html#clientsecret","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":9,"kind":1024,"name":"clockTolerance","url":"interfaces/config.config-1.html#clocktolerance","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":10,"kind":1024,"name":"httpTimeout","url":"interfaces/config.config-1.html#httptimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":11,"kind":1024,"name":"enableTelemetry","url":"interfaces/config.config-1.html#enabletelemetry","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":12,"kind":1024,"name":"getLoginState","url":"interfaces/config.config-1.html#getloginstate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":13,"kind":65536,"name":"__type","url":"interfaces/config.config-1.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"config.Config"},{"id":14,"kind":1024,"name":"identityClaimFilter","url":"interfaces/config.config-1.html#identityclaimfilter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":15,"kind":1024,"name":"idpLogout","url":"interfaces/config.config-1.html#idplogout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":16,"kind":1024,"name":"idTokenSigningAlg","url":"interfaces/config.config-1.html#idtokensigningalg","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":17,"kind":1024,"name":"issuerBaseURL","url":"interfaces/config.config-1.html#issuerbaseurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":18,"kind":1024,"name":"legacySameSiteCookie","url":"interfaces/config.config-1.html#legacysamesitecookie","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":19,"kind":1024,"name":"routes","url":"interfaces/config.config-1.html#routes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.Config"},{"id":20,"kind":65536,"name":"__type","url":"interfaces/config.config-1.html#__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-interface","parent":"config.Config"},{"id":21,"kind":1024,"name":"postLogoutRedirect","url":"interfaces/config.config-1.html#__type-1.postlogoutredirect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.Config.__type"},{"id":22,"kind":1024,"name":"callback","url":"interfaces/config.config-1.html#__type-1.callback","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.Config.__type"},{"id":23,"kind":256,"name":"SessionConfig","url":"interfaces/config.sessionconfig.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":24,"kind":1024,"name":"name","url":"interfaces/config.sessionconfig.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":25,"kind":1024,"name":"rolling","url":"interfaces/config.sessionconfig.html#rolling","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":26,"kind":1024,"name":"rollingDuration","url":"interfaces/config.sessionconfig.html#rollingduration","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":27,"kind":1024,"name":"absoluteDuration","url":"interfaces/config.sessionconfig.html#absoluteduration","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":28,"kind":1024,"name":"cookie","url":"interfaces/config.sessionconfig.html#cookie","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.SessionConfig"},{"id":29,"kind":256,"name":"CookieConfig","url":"interfaces/config.cookieconfig.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":30,"kind":1024,"name":"domain","url":"interfaces/config.cookieconfig.html#domain","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":31,"kind":1024,"name":"path","url":"interfaces/config.cookieconfig.html#path","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":32,"kind":1024,"name":"transient","url":"interfaces/config.cookieconfig.html#transient","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":33,"kind":1024,"name":"httpOnly","url":"interfaces/config.cookieconfig.html#httponly","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":34,"kind":1024,"name":"secure","url":"interfaces/config.cookieconfig.html#secure","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":35,"kind":1024,"name":"sameSite","url":"interfaces/config.cookieconfig.html#samesite","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.CookieConfig"},{"id":36,"kind":256,"name":"AuthorizationParameters","url":"interfaces/config.authorizationparameters.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"config"},{"id":37,"kind":1024,"name":"scope","url":"interfaces/config.authorizationparameters.html#scope","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.AuthorizationParameters"},{"id":38,"kind":1024,"name":"response_mode","url":"interfaces/config.authorizationparameters.html#response_mode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.AuthorizationParameters"},{"id":39,"kind":1024,"name":"response_type","url":"interfaces/config.authorizationparameters.html#response_type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"config.AuthorizationParameters"},{"id":40,"kind":4194304,"name":"ConfigParameters","url":"modules/config.html#configparameters","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"config"},{"id":41,"kind":1,"name":"frontend","url":"modules/frontend.html","classes":"tsd-kind-module"},{"id":42,"kind":1,"name":"frontend/use-user","url":"modules/frontend_use_user.html","classes":"tsd-kind-module"},{"id":43,"kind":256,"name":"UserProfile","url":"interfaces/frontend_use_user.userprofile.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"frontend/use-user"},{"id":44,"kind":1024,"name":"email","url":"interfaces/frontend_use_user.userprofile.html#email","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":45,"kind":1024,"name":"email_verified","url":"interfaces/frontend_use_user.userprofile.html#email_verified","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":46,"kind":1024,"name":"name","url":"interfaces/frontend_use_user.userprofile.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":47,"kind":1024,"name":"nickname","url":"interfaces/frontend_use_user.userprofile.html#nickname","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":48,"kind":1024,"name":"picture","url":"interfaces/frontend_use_user.userprofile.html#picture","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":49,"kind":1024,"name":"sub","url":"interfaces/frontend_use_user.userprofile.html#sub","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":50,"kind":1024,"name":"updated_at","url":"interfaces/frontend_use_user.userprofile.html#updated_at","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserProfile"},{"id":51,"kind":256,"name":"UserContext","url":"interfaces/frontend_use_user.usercontext.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"frontend/use-user"},{"id":52,"kind":1024,"name":"user","url":"interfaces/frontend_use_user.usercontext.html#user","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserContext"},{"id":53,"kind":1024,"name":"error","url":"interfaces/frontend_use_user.usercontext.html#error","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserContext"},{"id":54,"kind":1024,"name":"isLoading","url":"interfaces/frontend_use_user.usercontext.html#isloading","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/use-user.UserContext"},{"id":55,"kind":4194304,"name":"UserProviderProps","url":"modules/frontend_use_user.html#userproviderprops","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/use-user"},{"id":56,"kind":4194304,"name":"UseUser","url":"modules/frontend_use_user.html#useuser","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/use-user"},{"id":57,"kind":65536,"name":"__type","url":"modules/frontend_use_user.html#useuser.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"frontend/use-user.UseUser"},{"id":58,"kind":4194304,"name":"UserProvider","url":"modules/frontend_use_user.html#userprovider","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/use-user"},{"id":59,"kind":65536,"name":"__type","url":"modules/frontend_use_user.html#userprovider.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"frontend/use-user.UserProvider"},{"id":60,"kind":1024,"name":"default","url":"modules/frontend_use_user.html#default","classes":"tsd-kind-property tsd-parent-kind-module","parent":"frontend/use-user"},{"id":61,"kind":65536,"name":"__type","url":"modules/frontend_use_user.html#__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-module","parent":"frontend/use-user"},{"id":62,"kind":1,"name":"frontend/with-page-auth-required","url":"modules/frontend_with_page_auth_required.html","classes":"tsd-kind-module"},{"id":63,"kind":256,"name":"WithPageAuthRequiredOptions","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"frontend/with-page-auth-required"},{"id":64,"kind":1024,"name":"returnTo","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":65,"kind":1024,"name":"loginUrl","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#loginurl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":66,"kind":1024,"name":"onRedirecting","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#onredirecting","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":67,"kind":1024,"name":"onError","url":"interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html#onerror","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"frontend/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":68,"kind":4194304,"name":"WithPageAuthRequired","url":"modules/frontend_with_page_auth_required.html#withpageauthrequired","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"frontend/with-page-auth-required"},{"id":69,"kind":65536,"name":"__type","url":"modules/frontend_with_page_auth_required.html#withpageauthrequired.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-has-type-parameter","parent":"frontend/with-page-auth-required.WithPageAuthRequired"},{"id":70,"kind":1,"name":"handlers/auth","url":"modules/handlers_auth.html","classes":"tsd-kind-module"},{"id":71,"kind":256,"name":"Handlers","url":"interfaces/handlers_auth.handlers.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"handlers/auth"},{"id":72,"kind":1024,"name":"login","url":"interfaces/handlers_auth.handlers.html#login","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":73,"kind":1024,"name":"logout","url":"interfaces/handlers_auth.handlers.html#logout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":74,"kind":1024,"name":"callback","url":"interfaces/handlers_auth.handlers.html#callback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":75,"kind":1024,"name":"profile","url":"interfaces/handlers_auth.handlers.html#profile","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/auth.Handlers"},{"id":76,"kind":4194304,"name":"HandleAuth","url":"modules/handlers_auth.html#handleauth","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/auth"},{"id":77,"kind":65536,"name":"__type","url":"modules/handlers_auth.html#handleauth.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/auth.HandleAuth"},{"id":78,"kind":1,"name":"handlers/callback","url":"modules/handlers_callback.html","classes":"tsd-kind-module"},{"id":79,"kind":4194304,"name":"AfterCallback","url":"modules/handlers_callback.html#aftercallback","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/callback"},{"id":80,"kind":65536,"name":"__type","url":"modules/handlers_callback.html#aftercallback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/callback.AfterCallback"},{"id":81,"kind":4194304,"name":"CallbackOptions","url":"modules/handlers_callback.html#callbackoptions","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/callback"},{"id":82,"kind":65536,"name":"__type","url":"modules/handlers_callback.html#callbackoptions.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/callback.CallbackOptions"},{"id":83,"kind":1024,"name":"afterCallback","url":"modules/handlers_callback.html#callbackoptions.__type-1.aftercallback-1","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"handlers/callback.CallbackOptions.__type"},{"id":84,"kind":4194304,"name":"HandleCallback","url":"modules/handlers_callback.html#handlecallback","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/callback"},{"id":85,"kind":65536,"name":"__type","url":"modules/handlers_callback.html#handlecallback.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/callback.HandleCallback"},{"id":86,"kind":1,"name":"handlers","url":"modules/handlers.html","classes":"tsd-kind-module"},{"id":87,"kind":1,"name":"handlers/login","url":"modules/handlers_login.html","classes":"tsd-kind-module"},{"id":88,"kind":4194304,"name":"GetLoginState","url":"modules/handlers_login.html#getloginstate","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/login"},{"id":89,"kind":65536,"name":"__type","url":"modules/handlers_login.html#getloginstate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/login.GetLoginState"},{"id":90,"kind":256,"name":"LoginOptions","url":"interfaces/handlers_login.loginoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"handlers/login"},{"id":91,"kind":1024,"name":"authorizationParams","url":"interfaces/handlers_login.loginoptions.html#authorizationparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/login.LoginOptions"},{"id":92,"kind":1024,"name":"returnTo","url":"interfaces/handlers_login.loginoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/login.LoginOptions"},{"id":93,"kind":1024,"name":"getLoginState","url":"interfaces/handlers_login.loginoptions.html#getloginstate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/login.LoginOptions"},{"id":94,"kind":4194304,"name":"HandleLogin","url":"modules/handlers_login.html#handlelogin","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/login"},{"id":95,"kind":65536,"name":"__type","url":"modules/handlers_login.html#handlelogin.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/login.HandleLogin"},{"id":96,"kind":1,"name":"handlers/logout","url":"modules/handlers_logout.html","classes":"tsd-kind-module"},{"id":97,"kind":256,"name":"LogoutOptions","url":"interfaces/handlers_logout.logoutoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"handlers/logout"},{"id":98,"kind":1024,"name":"returnTo","url":"interfaces/handlers_logout.logoutoptions.html#returnto","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"handlers/logout.LogoutOptions"},{"id":99,"kind":4194304,"name":"HandleLogout","url":"modules/handlers_logout.html#handlelogout","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/logout"},{"id":100,"kind":65536,"name":"__type","url":"modules/handlers_logout.html#handlelogout.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/logout.HandleLogout"},{"id":101,"kind":1,"name":"handlers/profile","url":"modules/handlers_profile.html","classes":"tsd-kind-module"},{"id":102,"kind":4194304,"name":"ProfileOptions","url":"modules/handlers_profile.html#profileoptions","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/profile"},{"id":103,"kind":65536,"name":"__type","url":"modules/handlers_profile.html#profileoptions.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/profile.ProfileOptions"},{"id":104,"kind":1024,"name":"refetch","url":"modules/handlers_profile.html#profileoptions.__type-1.refetch","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"handlers/profile.ProfileOptions.__type"},{"id":105,"kind":4194304,"name":"HandleProfile","url":"modules/handlers_profile.html#handleprofile","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"handlers/profile"},{"id":106,"kind":65536,"name":"__type","url":"modules/handlers_profile.html#handleprofile.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"handlers/profile.HandleProfile"},{"id":107,"kind":1,"name":"helpers","url":"modules/helpers.html","classes":"tsd-kind-module"},{"id":108,"kind":1,"name":"helpers/with-api-auth-required","url":"modules/helpers_with_api_auth_required.html","classes":"tsd-kind-module"},{"id":109,"kind":4194304,"name":"WithApiAuthRequired","url":"modules/helpers_with_api_auth_required.html#withapiauthrequired","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-api-auth-required"},{"id":110,"kind":65536,"name":"__type","url":"modules/helpers_with_api_auth_required.html#withapiauthrequired.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"helpers/with-api-auth-required.WithApiAuthRequired"},{"id":111,"kind":1,"name":"helpers/with-page-auth-required","url":"modules/helpers_with_page_auth_required.html","classes":"tsd-kind-module"},{"id":112,"kind":4194304,"name":"GetServerSidePropsResultWithSession","url":"modules/helpers_with_page_auth_required.html#getserversidepropsresultwithsession","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":113,"kind":4194304,"name":"PageRoute","url":"modules/helpers_with_page_auth_required.html#pageroute","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":114,"kind":65536,"name":"__type","url":"modules/helpers_with_page_auth_required.html#pageroute.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"helpers/with-page-auth-required.PageRoute"},{"id":115,"kind":4194304,"name":"WithPageAuthRequiredOptions","url":"modules/helpers_with_page_auth_required.html#withpageauthrequiredoptions","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":116,"kind":65536,"name":"__type","url":"modules/helpers_with_page_auth_required.html#withpageauthrequiredoptions.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"helpers/with-page-auth-required.WithPageAuthRequiredOptions"},{"id":117,"kind":1024,"name":"getServerSideProps","url":"modules/helpers_with_page_auth_required.html#withpageauthrequiredoptions.__type-2.getserversideprops","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"helpers/with-page-auth-required.WithPageAuthRequiredOptions.__type"},{"id":118,"kind":1024,"name":"loginUrl","url":"modules/helpers_with_page_auth_required.html#withpageauthrequiredoptions.__type-2.loginurl","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"helpers/with-page-auth-required.WithPageAuthRequiredOptions.__type"},{"id":119,"kind":4194304,"name":"WithPageAuthRequired","url":"modules/helpers_with_page_auth_required.html#withpageauthrequired","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"helpers/with-page-auth-required"},{"id":120,"kind":65536,"name":"__type","url":"modules/helpers_with_page_auth_required.html#withpageauthrequired.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-has-type-parameter","parent":"helpers/with-page-auth-required.WithPageAuthRequired"},{"id":121,"kind":1,"name":"instance","url":"modules/instance.html","classes":"tsd-kind-module"},{"id":122,"kind":256,"name":"SignInWithAuth0","url":"interfaces/instance.signinwithauth0.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"instance"},{"id":123,"kind":1024,"name":"getSession","url":"interfaces/instance.signinwithauth0.html#getsession","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":124,"kind":1024,"name":"getAccessToken","url":"interfaces/instance.signinwithauth0.html#getaccesstoken","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":125,"kind":1024,"name":"handleLogin","url":"interfaces/instance.signinwithauth0.html#handlelogin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":126,"kind":1024,"name":"handleCallback","url":"interfaces/instance.signinwithauth0.html#handlecallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":127,"kind":1024,"name":"handleLogout","url":"interfaces/instance.signinwithauth0.html#handlelogout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":128,"kind":1024,"name":"handleProfile","url":"interfaces/instance.signinwithauth0.html#handleprofile","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":129,"kind":1024,"name":"withApiAuthRequired","url":"interfaces/instance.signinwithauth0.html#withapiauthrequired","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":130,"kind":1024,"name":"withPageAuthRequired","url":"interfaces/instance.signinwithauth0.html#withpageauthrequired","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":131,"kind":1024,"name":"handleAuth","url":"interfaces/instance.signinwithauth0.html#handleauth","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"instance.SignInWithAuth0"},{"id":132,"kind":4194304,"name":"InitAuth0","url":"modules/instance.html#initauth0","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"instance"},{"id":133,"kind":65536,"name":"__type","url":"modules/instance.html#initauth0.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"instance.InitAuth0"},{"id":134,"kind":1,"name":"session/get-access-token","url":"modules/session_get_access_token.html","classes":"tsd-kind-module"},{"id":135,"kind":256,"name":"AccessTokenRequest","url":"interfaces/session_get_access_token.accesstokenrequest.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"session/get-access-token"},{"id":136,"kind":1024,"name":"scopes","url":"interfaces/session_get_access_token.accesstokenrequest.html#scopes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"session/get-access-token.AccessTokenRequest"},{"id":137,"kind":1024,"name":"refresh","url":"interfaces/session_get_access_token.accesstokenrequest.html#refresh","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"session/get-access-token.AccessTokenRequest"},{"id":138,"kind":256,"name":"GetAccessTokenResult","url":"interfaces/session_get_access_token.getaccesstokenresult.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"session/get-access-token"},{"id":139,"kind":1024,"name":"accessToken","url":"interfaces/session_get_access_token.getaccesstokenresult.html#accesstoken","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"session/get-access-token.GetAccessTokenResult"},{"id":140,"kind":4194304,"name":"GetAccessToken","url":"modules/session_get_access_token.html#getaccesstoken","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"session/get-access-token"},{"id":141,"kind":65536,"name":"__type","url":"modules/session_get_access_token.html#getaccesstoken.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"session/get-access-token.GetAccessToken"},{"id":142,"kind":1,"name":"session/get-session","url":"modules/session_get_session.html","classes":"tsd-kind-module"},{"id":143,"kind":4194304,"name":"GetSession","url":"modules/session_get_session.html#getsession","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"session/get-session"},{"id":144,"kind":65536,"name":"__type","url":"modules/session_get_session.html#getsession.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"session/get-session.GetSession"},{"id":145,"kind":1,"name":"session","url":"modules/session.html","classes":"tsd-kind-module"},{"id":146,"kind":1,"name":"session/session","url":"modules/session_session.html","classes":"tsd-kind-module"},{"id":147,"kind":256,"name":"Claims","url":"interfaces/session_session.claims.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"session/session"},{"id":148,"kind":128,"name":"default","url":"classes/session_session.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"session/session"},{"id":149,"kind":512,"name":"constructor","url":"classes/session_session.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"session/session.default"},{"id":150,"kind":1024,"name":"user","url":"classes/session_session.default.html#user","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":151,"kind":1024,"name":"idToken","url":"classes/session_session.default.html#idtoken","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":152,"kind":1024,"name":"accessToken","url":"classes/session_session.default.html#accesstoken","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":153,"kind":1024,"name":"accessTokenScope","url":"classes/session_session.default.html#accesstokenscope","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":154,"kind":1024,"name":"accessTokenExpiresAt","url":"classes/session_session.default.html#accesstokenexpiresat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":155,"kind":1024,"name":"refreshToken","url":"classes/session_session.default.html#refreshtoken","classes":"tsd-kind-property tsd-parent-kind-class","parent":"session/session.default"},{"id":156,"kind":1,"name":"utils/errors","url":"modules/utils_errors.html","classes":"tsd-kind-module"},{"id":157,"kind":128,"name":"AccessTokenError","url":"classes/utils_errors.accesstokenerror.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"utils/errors"},{"id":158,"kind":512,"name":"constructor","url":"classes/utils_errors.accesstokenerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"utils/errors.AccessTokenError"},{"id":159,"kind":1024,"name":"code","url":"classes/utils_errors.accesstokenerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"utils/errors.AccessTokenError"},{"id":160,"kind":1,"name":"version","url":"modules/version.html","classes":"tsd-kind-module"},{"id":161,"kind":1024,"name":"default","url":"modules/version.html#default","classes":"tsd-kind-property tsd-parent-kind-module","parent":"version"},{"id":162,"kind":16777216,"name":"UserProvider","url":"modules/frontend.html#userprovider","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":163,"kind":16777216,"name":"UserProviderProps","url":"modules/frontend.html#userproviderprops","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":164,"kind":16777216,"name":"UserProfile","url":"modules/frontend.html#userprofile","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":165,"kind":16777216,"name":"UserContext","url":"modules/frontend.html#usercontext","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":166,"kind":16777216,"name":"WithPageAuthRequired","url":"modules/frontend.html#withpageauthrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"frontend"},{"id":167,"kind":16777216,"name":"HandleCallback","url":"modules/handlers.html#handlecallback","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":168,"kind":16777216,"name":"CallbackOptions","url":"modules/handlers.html#callbackoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":169,"kind":16777216,"name":"AfterCallback","url":"modules/handlers.html#aftercallback","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":170,"kind":16777216,"name":"HandleLogin","url":"modules/handlers.html#handlelogin","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":171,"kind":16777216,"name":"LoginOptions","url":"modules/handlers.html#loginoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":172,"kind":16777216,"name":"GetLoginState","url":"modules/handlers.html#getloginstate","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":173,"kind":16777216,"name":"HandleLogout","url":"modules/handlers.html#handlelogout","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":174,"kind":16777216,"name":"LogoutOptions","url":"modules/handlers.html#logoutoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":175,"kind":16777216,"name":"HandleProfile","url":"modules/handlers.html#handleprofile","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":176,"kind":16777216,"name":"ProfileOptions","url":"modules/handlers.html#profileoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":177,"kind":16777216,"name":"Handlers","url":"modules/handlers.html#handlers-1","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":178,"kind":16777216,"name":"HandleAuth","url":"modules/handlers.html#handleauth","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"handlers"},{"id":179,"kind":16777216,"name":"WithApiAuthRequired","url":"modules/helpers.html#withapiauthrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":180,"kind":16777216,"name":"GetServerSidePropsResultWithSession","url":"modules/helpers.html#getserversidepropsresultwithsession","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":181,"kind":16777216,"name":"WithPageAuthRequired","url":"modules/helpers.html#withpageauthrequired","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":182,"kind":16777216,"name":"WithPageAuthRequiredOptions","url":"modules/helpers.html#withpageauthrequiredoptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":183,"kind":16777216,"name":"PageRoute","url":"modules/helpers.html#pageroute","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"helpers"},{"id":184,"kind":16777216,"name":"Session","url":"modules/session.html#session-1","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":185,"kind":16777216,"name":"Claims","url":"modules/session.html#claims","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":186,"kind":16777216,"name":"GetSession","url":"modules/session.html#getsession","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":187,"kind":16777216,"name":"GetAccessToken","url":"modules/session.html#getaccesstoken","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":188,"kind":16777216,"name":"AccessTokenRequest","url":"modules/session.html#accesstokenrequest","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":189,"kind":16777216,"name":"GetAccessTokenResult","url":"modules/session.html#getaccesstokenresult","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"session"},{"id":190,"kind":128,"name":"SessionCache","url":"classes/session.sessioncache.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"session"},{"id":191,"kind":512,"name":"constructor","url":"classes/session.sessioncache.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"session.SessionCache"},{"id":192,"kind":2048,"name":"init","url":"classes/session.sessioncache.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":193,"kind":2048,"name":"create","url":"classes/session.sessioncache.html#create","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":194,"kind":2048,"name":"delete","url":"classes/session.sessioncache.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":195,"kind":2048,"name":"isAuthenticated","url":"classes/session.sessioncache.html#isauthenticated","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":196,"kind":2048,"name":"getIdToken","url":"classes/session.sessioncache.html#getidtoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":197,"kind":2048,"name":"set","url":"classes/session.sessioncache.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":198,"kind":2048,"name":"get","url":"classes/session.sessioncache.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"},{"id":199,"kind":2048,"name":"fromTokenSet","url":"classes/session.sessioncache.html#fromtokenset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"session.SessionCache"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,33.726]],["parent/0",[]],["name/1",[0,33.726]],["parent/1",[0,3.674]],["name/2",[1,50.233]],["parent/2",[2,2.606]],["name/3",[3,28.487]],["parent/3",[2,2.606]],["name/4",[4,50.233]],["parent/4",[2,2.606]],["name/5",[5,44.994]],["parent/5",[2,2.606]],["name/6",[6,50.233]],["parent/6",[2,2.606]],["name/7",[7,50.233]],["parent/7",[2,2.606]],["name/8",[8,50.233]],["parent/8",[2,2.606]],["name/9",[9,50.233]],["parent/9",[2,2.606]],["name/10",[10,50.233]],["parent/10",[2,2.606]],["name/11",[11,50.233]],["parent/11",[2,2.606]],["name/12",[12,38.965]],["parent/12",[2,2.606]],["name/13",[13,22.459]],["parent/13",[2,2.606]],["name/14",[14,50.233]],["parent/14",[2,2.606]],["name/15",[15,50.233]],["parent/15",[2,2.606]],["name/16",[16,50.233]],["parent/16",[2,2.606]],["name/17",[17,50.233]],["parent/17",[2,2.606]],["name/18",[18,50.233]],["parent/18",[2,2.606]],["name/19",[19,50.233]],["parent/19",[2,2.606]],["name/20",[13,22.459]],["parent/20",[2,2.606]],["name/21",[20,50.233]],["parent/21",[21,4.901]],["name/22",[22,44.994]],["parent/22",[21,4.901]],["name/23",[23,50.233]],["parent/23",[0,3.674]],["name/24",[24,44.994]],["parent/24",[25,4.02]],["name/25",[26,50.233]],["parent/25",[25,4.02]],["name/26",[27,50.233]],["parent/26",[25,4.02]],["name/27",[28,50.233]],["parent/27",[25,4.02]],["name/28",[29,50.233]],["parent/28",[25,4.02]],["name/29",[30,50.233]],["parent/29",[0,3.674]],["name/30",[31,50.233]],["parent/30",[32,3.834]],["name/31",[33,50.233]],["parent/31",[32,3.834]],["name/32",[34,50.233]],["parent/32",[32,3.834]],["name/33",[35,50.233]],["parent/33",[32,3.834]],["name/34",[36,50.233]],["parent/34",[32,3.834]],["name/35",[37,50.233]],["parent/35",[32,3.834]],["name/36",[38,50.233]],["parent/36",[0,3.674]],["name/37",[39,50.233]],["parent/37",[40,4.525]],["name/38",[41,50.233]],["parent/38",[40,4.525]],["name/39",[42,50.233]],["parent/39",[40,4.525]],["name/40",[43,50.233]],["parent/40",[0,3.674]],["name/41",[44,35.194]],["parent/41",[]],["name/42",[45,16.796,46,21.719]],["parent/42",[]],["name/43",[47,44.994]],["parent/43",[45,1.904,46,2.462]],["name/44",[48,50.233]],["parent/44",[45,1.904,49,2.742]],["name/45",[50,50.233]],["parent/45",[45,1.904,49,2.742]],["name/46",[24,44.994]],["parent/46",[45,1.904,49,2.742]],["name/47",[51,50.233]],["parent/47",[45,1.904,49,2.742]],["name/48",[52,50.233]],["parent/48",[45,1.904,49,2.742]],["name/49",[53,50.233]],["parent/49",[45,1.904,49,2.742]],["name/50",[54,50.233]],["parent/50",[45,1.904,49,2.742]],["name/51",[55,44.994]],["parent/51",[45,1.904,46,2.462]],["name/52",[46,30.275]],["parent/52",[45,1.904,56,3.378]],["name/53",[57,50.233]],["parent/53",[45,1.904,56,3.378]],["name/54",[58,50.233]],["parent/54",[45,1.904,56,3.378]],["name/55",[59,44.994]],["parent/55",[45,1.904,46,2.462]],["name/56",[60,50.233]],["parent/56",[45,1.904,46,2.462]],["name/57",[13,22.459]],["parent/57",[45,1.904,61,4.084]],["name/58",[62,44.994]],["parent/58",[45,1.904,46,2.462]],["name/59",[13,22.459]],["parent/59",[45,1.904,63,4.084]],["name/60",[64,41.543]],["parent/60",[45,1.904,46,2.462]],["name/61",[13,22.459]],["parent/61",[45,1.904,46,2.462]],["name/62",[65,14.869,66,11.213,67,10.507,68,13.876]],["parent/62",[]],["name/63",[69,41.543]],["parent/63",[65,1.75,66,1.32,67,1.237,68,1.633]],["name/64",[70,41.543]],["parent/64",[65,1.75,66,1.32,67,1.237,71,1.991]],["name/65",[72,44.994]],["parent/65",[65,1.75,66,1.32,67,1.237,71,1.991]],["name/66",[73,50.233]],["parent/66",[65,1.75,66,1.32,67,1.237,71,1.991]],["name/67",[74,50.233]],["parent/67",[65,1.75,66,1.32,67,1.237,71,1.991]],["name/68",[75,36.907]],["parent/68",[65,1.75,66,1.32,67,1.237,68,1.633]],["name/69",[13,22.459]],["parent/69",[65,1.75,66,1.32,67,1.237,76,2.427]],["name/70",[77,41.543]],["parent/70",[]],["name/71",[78,26.281]],["parent/71",[77,4.525]],["name/72",[79,50.233]],["parent/72",[80,4.245]],["name/73",[81,50.233]],["parent/73",[80,4.245]],["name/74",[22,44.994]],["parent/74",[80,4.245]],["name/75",[82,50.233]],["parent/75",[80,4.245]],["name/76",[83,41.543]],["parent/76",[77,4.525]],["name/77",[13,22.459]],["parent/77",[84,5.472]],["name/78",[85,38.965]],["parent/78",[]],["name/79",[86,41.543]],["parent/79",[85,4.245]],["name/80",[13,22.459]],["parent/80",[87,5.472]],["name/81",[88,44.994]],["parent/81",[85,4.245]],["name/82",[13,22.459]],["parent/82",[89,5.472]],["name/83",[86,41.543]],["parent/83",[90,5.472]],["name/84",[91,41.543]],["parent/84",[85,4.245]],["name/85",[13,22.459]],["parent/85",[92,5.472]],["name/86",[78,26.281]],["parent/86",[]],["name/87",[93,38.965]],["parent/87",[]],["name/88",[12,38.965]],["parent/88",[93,4.245]],["name/89",[13,22.459]],["parent/89",[94,5.472]],["name/90",[95,44.994]],["parent/90",[93,4.245]],["name/91",[5,44.994]],["parent/91",[96,4.525]],["name/92",[70,41.543]],["parent/92",[96,4.525]],["name/93",[12,38.965]],["parent/93",[96,4.525]],["name/94",[97,41.543]],["parent/94",[93,4.245]],["name/95",[13,22.459]],["parent/95",[98,5.472]],["name/96",[99,41.543]],["parent/96",[]],["name/97",[100,44.994]],["parent/97",[99,4.525]],["name/98",[70,41.543]],["parent/98",[101,5.472]],["name/99",[102,41.543]],["parent/99",[99,4.525]],["name/100",[13,22.459]],["parent/100",[103,5.472]],["name/101",[104,41.543]],["parent/101",[]],["name/102",[105,44.994]],["parent/102",[104,4.525]],["name/103",[13,22.459]],["parent/103",[106,5.472]],["name/104",[107,50.233]],["parent/104",[108,5.472]],["name/105",[109,41.543]],["parent/105",[104,4.525]],["name/106",[13,22.459]],["parent/106",[110,5.472]],["name/107",[111,35.194]],["parent/107",[]],["name/108",[67,10.507,68,13.876,112,12.694,113,19.04]],["parent/108",[]],["name/109",[114,41.543]],["parent/109",[67,1.237,68,1.633,112,1.494,113,2.241]],["name/110",[13,22.459]],["parent/110",[67,1.237,112,1.494,113,2.241,115,2.71]],["name/111",[66,11.213,67,10.507,68,13.876,112,12.694]],["parent/111",[]],["name/112",[116,44.994]],["parent/112",[66,1.32,67,1.237,68,1.633,112,1.494]],["name/113",[117,44.994]],["parent/113",[66,1.32,67,1.237,68,1.633,112,1.494]],["name/114",[13,22.459]],["parent/114",[66,1.32,67,1.237,112,1.494,118,2.71]],["name/115",[69,41.543]],["parent/115",[66,1.32,67,1.237,68,1.633,112,1.494]],["name/116",[13,22.459]],["parent/116",[66,1.32,67,1.237,71,1.991,112,1.494]],["name/117",[119,50.233]],["parent/117",[66,1.32,67,1.237,112,1.494,120,2.427]],["name/118",[72,44.994]],["parent/118",[66,1.32,67,1.237,112,1.494,120,2.427]],["name/119",[75,36.907]],["parent/119",[66,1.32,67,1.237,68,1.633,112,1.494]],["name/120",[13,22.459]],["parent/120",[66,1.32,67,1.237,76,2.427,112,1.494]],["name/121",[121,41.543]],["parent/121",[]],["name/122",[122,50.233]],["parent/122",[121,4.525]],["name/123",[123,41.543]],["parent/123",[124,3.41]],["name/124",[125,41.543]],["parent/124",[124,3.41]],["name/125",[97,41.543]],["parent/125",[124,3.41]],["name/126",[91,41.543]],["parent/126",[124,3.41]],["name/127",[102,41.543]],["parent/127",[124,3.41]],["name/128",[109,41.543]],["parent/128",[124,3.41]],["name/129",[114,41.543]],["parent/129",[124,3.41]],["name/130",[75,36.907]],["parent/130",[124,3.41]],["name/131",[83,41.543]],["parent/131",[124,3.41]],["name/132",[126,50.233]],["parent/132",[121,4.525]],["name/133",[13,22.459]],["parent/133",[127,5.472]],["name/134",[128,16.411,129,18.145,130,21.794]],["parent/134",[]],["name/135",[131,44.994]],["parent/135",[128,1.903,129,2.104,130,2.527]],["name/136",[132,50.233]],["parent/136",[128,1.903,129,2.104,133,2.918]],["name/137",[134,50.233]],["parent/137",[128,1.903,129,2.104,133,2.918]],["name/138",[135,44.994]],["parent/138",[128,1.903,129,2.104,130,2.527]],["name/139",[136,44.994]],["parent/139",[128,1.903,129,2.104,137,3.258]],["name/140",[125,41.543]],["parent/140",[128,1.903,129,2.104,130,2.527]],["name/141",[13,22.459]],["parent/141",[128,1.903,129,2.104,138,3.258]],["name/142",[3,20.436,128,21.05]],["parent/142",[]],["name/143",[123,41.543]],["parent/143",[3,2.316,128,2.386]],["name/144",[13,22.459]],["parent/144",[128,2.386,139,4.084]],["name/145",[3,28.487]],["parent/145",[]],["name/146",[140,41.543]],["parent/146",[]],["name/147",[141,44.994]],["parent/147",[140,4.525]],["name/148",[64,41.543]],["parent/148",[140,4.525]],["name/149",[142,41.543]],["parent/149",[143,3.674]],["name/150",[46,30.275]],["parent/150",[143,3.674]],["name/151",[144,50.233]],["parent/151",[143,3.674]],["name/152",[136,44.994]],["parent/152",[143,3.674]],["name/153",[145,50.233]],["parent/153",[143,3.674]],["name/154",[146,50.233]],["parent/154",[143,3.674]],["name/155",[147,50.233]],["parent/155",[143,3.674]],["name/156",[148,44.994]],["parent/156",[]],["name/157",[149,50.233]],["parent/157",[148,4.901]],["name/158",[142,41.543]],["parent/158",[150,4.901]],["name/159",[151,50.233]],["parent/159",[150,4.901]],["name/160",[152,44.994]],["parent/160",[]],["name/161",[64,41.543]],["parent/161",[152,4.901]],["name/162",[62,44.994]],["parent/162",[44,3.834]],["name/163",[59,44.994]],["parent/163",[44,3.834]],["name/164",[47,44.994]],["parent/164",[44,3.834]],["name/165",[55,44.994]],["parent/165",[44,3.834]],["name/166",[75,36.907]],["parent/166",[44,3.834]],["name/167",[91,41.543]],["parent/167",[78,2.863]],["name/168",[88,44.994]],["parent/168",[78,2.863]],["name/169",[86,41.543]],["parent/169",[78,2.863]],["name/170",[97,41.543]],["parent/170",[78,2.863]],["name/171",[95,44.994]],["parent/171",[78,2.863]],["name/172",[12,38.965]],["parent/172",[78,2.863]],["name/173",[102,41.543]],["parent/173",[78,2.863]],["name/174",[100,44.994]],["parent/174",[78,2.863]],["name/175",[109,41.543]],["parent/175",[78,2.863]],["name/176",[105,44.994]],["parent/176",[78,2.863]],["name/177",[78,26.281]],["parent/177",[78,2.863]],["name/178",[83,41.543]],["parent/178",[78,2.863]],["name/179",[114,41.543]],["parent/179",[111,3.834]],["name/180",[116,44.994]],["parent/180",[111,3.834]],["name/181",[75,36.907]],["parent/181",[111,3.834]],["name/182",[69,41.543]],["parent/182",[111,3.834]],["name/183",[117,44.994]],["parent/183",[111,3.834]],["name/184",[3,28.487]],["parent/184",[3,3.103]],["name/185",[141,44.994]],["parent/185",[3,3.103]],["name/186",[123,41.543]],["parent/186",[3,3.103]],["name/187",[125,41.543]],["parent/187",[3,3.103]],["name/188",[131,44.994]],["parent/188",[3,3.103]],["name/189",[135,44.994]],["parent/189",[3,3.103]],["name/190",[153,50.233]],["parent/190",[3,3.103]],["name/191",[142,41.543]],["parent/191",[154,3.41]],["name/192",[155,50.233]],["parent/192",[154,3.41]],["name/193",[156,50.233]],["parent/193",[154,3.41]],["name/194",[157,50.233]],["parent/194",[154,3.41]],["name/195",[158,50.233]],["parent/195",[154,3.41]],["name/196",[159,50.233]],["parent/196",[154,3.41]],["name/197",[160,50.233]],["parent/197",[154,3.41]],["name/198",[161,50.233]],["parent/198",[154,3.41]],["name/199",[162,50.233]],["parent/199",[154,3.41]]],"invertedIndex":[["__type",{"_index":13,"name":{"13":{},"20":{},"57":{},"59":{},"61":{},"69":{},"77":{},"80":{},"82":{},"85":{},"89":{},"95":{},"100":{},"103":{},"106":{},"110":{},"114":{},"116":{},"120":{},"133":{},"141":{},"144":{}},"parent":{}}],["absoluteduration",{"_index":28,"name":{"27":{}},"parent":{}}],["access",{"_index":129,"name":{"134":{}},"parent":{"135":{},"136":{},"137":{},"138":{},"139":{},"140":{},"141":{}}}],["accesstoken",{"_index":136,"name":{"139":{},"152":{}},"parent":{}}],["accesstokenerror",{"_index":149,"name":{"157":{}},"parent":{}}],["accesstokenexpiresat",{"_index":146,"name":{"154":{}},"parent":{}}],["accesstokenrequest",{"_index":131,"name":{"135":{},"188":{}},"parent":{}}],["accesstokenscope",{"_index":145,"name":{"153":{}},"parent":{}}],["aftercallback",{"_index":86,"name":{"79":{},"83":{},"169":{}},"parent":{}}],["api",{"_index":113,"name":{"108":{}},"parent":{"109":{},"110":{}}}],["auth",{"_index":67,"name":{"62":{},"108":{},"111":{}},"parent":{"63":{},"64":{},"65":{},"66":{},"67":{},"68":{},"69":{},"109":{},"110":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{}}}],["auth0logout",{"_index":4,"name":{"4":{}},"parent":{}}],["authorizationparameters",{"_index":38,"name":{"36":{}},"parent":{}}],["authorizationparams",{"_index":5,"name":{"5":{},"91":{}},"parent":{}}],["baseurl",{"_index":6,"name":{"6":{}},"parent":{}}],["callback",{"_index":22,"name":{"22":{},"74":{}},"parent":{}}],["callbackoptions",{"_index":88,"name":{"81":{},"168":{}},"parent":{}}],["claims",{"_index":141,"name":{"147":{},"185":{}},"parent":{}}],["clientid",{"_index":7,"name":{"7":{}},"parent":{}}],["clientsecret",{"_index":8,"name":{"8":{}},"parent":{}}],["clocktolerance",{"_index":9,"name":{"9":{}},"parent":{}}],["code",{"_index":151,"name":{"159":{}},"parent":{}}],["config",{"_index":0,"name":{"0":{},"1":{}},"parent":{"1":{},"23":{},"29":{},"36":{},"40":{}}}],["config.authorizationparameters",{"_index":40,"name":{},"parent":{"37":{},"38":{},"39":{}}}],["config.config",{"_index":2,"name":{},"parent":{"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{}}}],["config.config.__type",{"_index":21,"name":{},"parent":{"21":{},"22":{}}}],["config.cookieconfig",{"_index":32,"name":{},"parent":{"30":{},"31":{},"32":{},"33":{},"34":{},"35":{}}}],["config.sessionconfig",{"_index":25,"name":{},"parent":{"24":{},"25":{},"26":{},"27":{},"28":{}}}],["configparameters",{"_index":43,"name":{"40":{}},"parent":{}}],["constructor",{"_index":142,"name":{"149":{},"158":{},"191":{}},"parent":{}}],["cookie",{"_index":29,"name":{"28":{}},"parent":{}}],["cookieconfig",{"_index":30,"name":{"29":{}},"parent":{}}],["create",{"_index":156,"name":{"193":{}},"parent":{}}],["default",{"_index":64,"name":{"60":{},"148":{},"161":{}},"parent":{}}],["delete",{"_index":157,"name":{"194":{}},"parent":{}}],["domain",{"_index":31,"name":{"30":{}},"parent":{}}],["email",{"_index":48,"name":{"44":{}},"parent":{}}],["email_verified",{"_index":50,"name":{"45":{}},"parent":{}}],["enabletelemetry",{"_index":11,"name":{"11":{}},"parent":{}}],["error",{"_index":57,"name":{"53":{}},"parent":{}}],["fromtokenset",{"_index":162,"name":{"199":{}},"parent":{}}],["frontend",{"_index":44,"name":{"41":{}},"parent":{"162":{},"163":{},"164":{},"165":{},"166":{}}}],["frontend/use",{"_index":45,"name":{"42":{}},"parent":{"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{},"55":{},"56":{},"57":{},"58":{},"59":{},"60":{},"61":{}}}],["frontend/with",{"_index":65,"name":{"62":{}},"parent":{"63":{},"64":{},"65":{},"66":{},"67":{},"68":{},"69":{}}}],["get",{"_index":161,"name":{"198":{}},"parent":{}}],["getaccesstoken",{"_index":125,"name":{"124":{},"140":{},"187":{}},"parent":{}}],["getaccesstokenresult",{"_index":135,"name":{"138":{},"189":{}},"parent":{}}],["getidtoken",{"_index":159,"name":{"196":{}},"parent":{}}],["getloginstate",{"_index":12,"name":{"12":{},"88":{},"93":{},"172":{}},"parent":{}}],["getserversideprops",{"_index":119,"name":{"117":{}},"parent":{}}],["getserversidepropsresultwithsession",{"_index":116,"name":{"112":{},"180":{}},"parent":{}}],["getsession",{"_index":123,"name":{"123":{},"143":{},"186":{}},"parent":{}}],["handleauth",{"_index":83,"name":{"76":{},"131":{},"178":{}},"parent":{}}],["handlecallback",{"_index":91,"name":{"84":{},"126":{},"167":{}},"parent":{}}],["handlelogin",{"_index":97,"name":{"94":{},"125":{},"170":{}},"parent":{}}],["handlelogout",{"_index":102,"name":{"99":{},"127":{},"173":{}},"parent":{}}],["handleprofile",{"_index":109,"name":{"105":{},"128":{},"175":{}},"parent":{}}],["handlers",{"_index":78,"name":{"71":{},"86":{},"177":{}},"parent":{"167":{},"168":{},"169":{},"170":{},"171":{},"172":{},"173":{},"174":{},"175":{},"176":{},"177":{},"178":{}}}],["handlers/auth",{"_index":77,"name":{"70":{}},"parent":{"71":{},"76":{}}}],["handlers/auth.handleauth",{"_index":84,"name":{},"parent":{"77":{}}}],["handlers/auth.handlers",{"_index":80,"name":{},"parent":{"72":{},"73":{},"74":{},"75":{}}}],["handlers/callback",{"_index":85,"name":{"78":{}},"parent":{"79":{},"81":{},"84":{}}}],["handlers/callback.aftercallback",{"_index":87,"name":{},"parent":{"80":{}}}],["handlers/callback.callbackoptions",{"_index":89,"name":{},"parent":{"82":{}}}],["handlers/callback.callbackoptions.__type",{"_index":90,"name":{},"parent":{"83":{}}}],["handlers/callback.handlecallback",{"_index":92,"name":{},"parent":{"85":{}}}],["handlers/login",{"_index":93,"name":{"87":{}},"parent":{"88":{},"90":{},"94":{}}}],["handlers/login.getloginstate",{"_index":94,"name":{},"parent":{"89":{}}}],["handlers/login.handlelogin",{"_index":98,"name":{},"parent":{"95":{}}}],["handlers/login.loginoptions",{"_index":96,"name":{},"parent":{"91":{},"92":{},"93":{}}}],["handlers/logout",{"_index":99,"name":{"96":{}},"parent":{"97":{},"99":{}}}],["handlers/logout.handlelogout",{"_index":103,"name":{},"parent":{"100":{}}}],["handlers/logout.logoutoptions",{"_index":101,"name":{},"parent":{"98":{}}}],["handlers/profile",{"_index":104,"name":{"101":{}},"parent":{"102":{},"105":{}}}],["handlers/profile.handleprofile",{"_index":110,"name":{},"parent":{"106":{}}}],["handlers/profile.profileoptions",{"_index":106,"name":{},"parent":{"103":{}}}],["handlers/profile.profileoptions.__type",{"_index":108,"name":{},"parent":{"104":{}}}],["helpers",{"_index":111,"name":{"107":{}},"parent":{"179":{},"180":{},"181":{},"182":{},"183":{}}}],["helpers/with",{"_index":112,"name":{"108":{},"111":{}},"parent":{"109":{},"110":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{}}}],["httponly",{"_index":35,"name":{"33":{}},"parent":{}}],["httptimeout",{"_index":10,"name":{"10":{}},"parent":{}}],["identityclaimfilter",{"_index":14,"name":{"14":{}},"parent":{}}],["idplogout",{"_index":15,"name":{"15":{}},"parent":{}}],["idtoken",{"_index":144,"name":{"151":{}},"parent":{}}],["idtokensigningalg",{"_index":16,"name":{"16":{}},"parent":{}}],["init",{"_index":155,"name":{"192":{}},"parent":{}}],["initauth0",{"_index":126,"name":{"132":{}},"parent":{}}],["instance",{"_index":121,"name":{"121":{}},"parent":{"122":{},"132":{}}}],["instance.initauth0",{"_index":127,"name":{},"parent":{"133":{}}}],["instance.signinwithauth0",{"_index":124,"name":{},"parent":{"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{}}}],["isauthenticated",{"_index":158,"name":{"195":{}},"parent":{}}],["isloading",{"_index":58,"name":{"54":{}},"parent":{}}],["issuerbaseurl",{"_index":17,"name":{"17":{}},"parent":{}}],["legacysamesitecookie",{"_index":18,"name":{"18":{}},"parent":{}}],["login",{"_index":79,"name":{"72":{}},"parent":{}}],["loginoptions",{"_index":95,"name":{"90":{},"171":{}},"parent":{}}],["loginurl",{"_index":72,"name":{"65":{},"118":{}},"parent":{}}],["logout",{"_index":81,"name":{"73":{}},"parent":{}}],["logoutoptions",{"_index":100,"name":{"97":{},"174":{}},"parent":{}}],["name",{"_index":24,"name":{"24":{},"46":{}},"parent":{}}],["nickname",{"_index":51,"name":{"47":{}},"parent":{}}],["onerror",{"_index":74,"name":{"67":{}},"parent":{}}],["onredirecting",{"_index":73,"name":{"66":{}},"parent":{}}],["page",{"_index":66,"name":{"62":{},"111":{}},"parent":{"63":{},"64":{},"65":{},"66":{},"67":{},"68":{},"69":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{}}}],["pageroute",{"_index":117,"name":{"113":{},"183":{}},"parent":{}}],["path",{"_index":33,"name":{"31":{}},"parent":{}}],["picture",{"_index":52,"name":{"48":{}},"parent":{}}],["postlogoutredirect",{"_index":20,"name":{"21":{}},"parent":{}}],["profile",{"_index":82,"name":{"75":{}},"parent":{}}],["profileoptions",{"_index":105,"name":{"102":{},"176":{}},"parent":{}}],["refetch",{"_index":107,"name":{"104":{}},"parent":{}}],["refresh",{"_index":134,"name":{"137":{}},"parent":{}}],["refreshtoken",{"_index":147,"name":{"155":{}},"parent":{}}],["required",{"_index":68,"name":{"62":{},"108":{},"111":{}},"parent":{"63":{},"68":{},"109":{},"112":{},"113":{},"115":{},"119":{}}}],["required.pageroute",{"_index":118,"name":{},"parent":{"114":{}}}],["required.withapiauthrequired",{"_index":115,"name":{},"parent":{"110":{}}}],["required.withpageauthrequired",{"_index":76,"name":{},"parent":{"69":{},"120":{}}}],["required.withpageauthrequiredoptions",{"_index":71,"name":{},"parent":{"64":{},"65":{},"66":{},"67":{},"116":{}}}],["required.withpageauthrequiredoptions.__type",{"_index":120,"name":{},"parent":{"117":{},"118":{}}}],["response_mode",{"_index":41,"name":{"38":{}},"parent":{}}],["response_type",{"_index":42,"name":{"39":{}},"parent":{}}],["returnto",{"_index":70,"name":{"64":{},"92":{},"98":{}},"parent":{}}],["rolling",{"_index":26,"name":{"25":{}},"parent":{}}],["rollingduration",{"_index":27,"name":{"26":{}},"parent":{}}],["routes",{"_index":19,"name":{"19":{}},"parent":{}}],["samesite",{"_index":37,"name":{"35":{}},"parent":{}}],["scope",{"_index":39,"name":{"37":{}},"parent":{}}],["scopes",{"_index":132,"name":{"136":{}},"parent":{}}],["secret",{"_index":1,"name":{"2":{}},"parent":{}}],["secure",{"_index":36,"name":{"34":{}},"parent":{}}],["session",{"_index":3,"name":{"3":{},"142":{},"145":{},"184":{}},"parent":{"143":{},"184":{},"185":{},"186":{},"187":{},"188":{},"189":{},"190":{}}}],["session.getsession",{"_index":139,"name":{},"parent":{"144":{}}}],["session.sessioncache",{"_index":154,"name":{},"parent":{"191":{},"192":{},"193":{},"194":{},"195":{},"196":{},"197":{},"198":{},"199":{}}}],["session/get",{"_index":128,"name":{"134":{},"142":{}},"parent":{"135":{},"136":{},"137":{},"138":{},"139":{},"140":{},"141":{},"143":{},"144":{}}}],["session/session",{"_index":140,"name":{"146":{}},"parent":{"147":{},"148":{}}}],["session/session.default",{"_index":143,"name":{},"parent":{"149":{},"150":{},"151":{},"152":{},"153":{},"154":{},"155":{}}}],["sessioncache",{"_index":153,"name":{"190":{}},"parent":{}}],["sessionconfig",{"_index":23,"name":{"23":{}},"parent":{}}],["set",{"_index":160,"name":{"197":{}},"parent":{}}],["signinwithauth0",{"_index":122,"name":{"122":{}},"parent":{}}],["sub",{"_index":53,"name":{"49":{}},"parent":{}}],["token",{"_index":130,"name":{"134":{}},"parent":{"135":{},"138":{},"140":{}}}],["token.accesstokenrequest",{"_index":133,"name":{},"parent":{"136":{},"137":{}}}],["token.getaccesstoken",{"_index":138,"name":{},"parent":{"141":{}}}],["token.getaccesstokenresult",{"_index":137,"name":{},"parent":{"139":{}}}],["transient",{"_index":34,"name":{"32":{}},"parent":{}}],["updated_at",{"_index":54,"name":{"50":{}},"parent":{}}],["user",{"_index":46,"name":{"42":{},"52":{},"150":{}},"parent":{"43":{},"51":{},"55":{},"56":{},"58":{},"60":{},"61":{}}}],["user.usercontext",{"_index":56,"name":{},"parent":{"52":{},"53":{},"54":{}}}],["user.userprofile",{"_index":49,"name":{},"parent":{"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{}}}],["user.userprovider",{"_index":63,"name":{},"parent":{"59":{}}}],["user.useuser",{"_index":61,"name":{},"parent":{"57":{}}}],["usercontext",{"_index":55,"name":{"51":{},"165":{}},"parent":{}}],["userprofile",{"_index":47,"name":{"43":{},"164":{}},"parent":{}}],["userprovider",{"_index":62,"name":{"58":{},"162":{}},"parent":{}}],["userproviderprops",{"_index":59,"name":{"55":{},"163":{}},"parent":{}}],["useuser",{"_index":60,"name":{"56":{}},"parent":{}}],["utils/errors",{"_index":148,"name":{"156":{}},"parent":{"157":{}}}],["utils/errors.accesstokenerror",{"_index":150,"name":{},"parent":{"158":{},"159":{}}}],["version",{"_index":152,"name":{"160":{}},"parent":{"161":{}}}],["withapiauthrequired",{"_index":114,"name":{"109":{},"129":{},"179":{}},"parent":{}}],["withpageauthrequired",{"_index":75,"name":{"68":{},"119":{},"130":{},"166":{},"181":{}},"parent":{}}],["withpageauthrequiredoptions",{"_index":69,"name":{"63":{},"115":{},"182":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/docs/classes/session.sessioncache.html b/docs/classes/session.sessioncache.html index 1b7c6faa3..6a37708c5 100644 --- a/docs/classes/session.sessioncache.html +++ b/docs/classes/session.sessioncache.html @@ -118,7 +118,7 @@

constructor

  • Parameters

    @@ -147,7 +147,7 @@

    create

  • Parameters

    @@ -176,7 +176,7 @@

    delete

  • Parameters

    @@ -202,7 +202,7 @@

    fromTokenSet

  • Parameters

    @@ -225,7 +225,7 @@

    get

  • Parameters

    @@ -251,7 +251,7 @@

    getIdToken

  • Parameters

    @@ -277,7 +277,7 @@

    init

  • Parameters

    @@ -303,7 +303,7 @@

    isAuthenticated

  • Parameters

    @@ -329,7 +329,7 @@

    set

  • Parameters

    diff --git a/docs/classes/session_session.default.html b/docs/classes/session_session.default.html index c77d99b31..a0823bc9e 100644 --- a/docs/classes/session_session.default.html +++ b/docs/classes/session_session.default.html @@ -126,7 +126,7 @@

    constructor

  • Parameters

    @@ -145,10 +145,10 @@

    Properties

    Optional accessToken

    -
    accessToken: string | undefined
    +
    accessToken: undefined | string
    @@ -160,10 +160,10 @@

    Optional accessToken

    Optional accessTokenExpiresAt

    -
    accessTokenExpiresAt: number
    +
    accessTokenExpiresAt: undefined | number
    @@ -175,10 +175,10 @@

    Optional accessToken

    Optional accessTokenScope

    -
    accessTokenScope: string | undefined
    +
    accessTokenScope: undefined | string
    @@ -190,10 +190,10 @@

    Optional accessToken

    Optional idToken

    -
    idToken: string | undefined
    +
    idToken: undefined | string
    @@ -205,10 +205,10 @@

    Optional idToken

    Optional refreshToken

    -
    refreshToken: string | undefined
    +
    refreshToken: undefined | string
    @@ -223,7 +223,7 @@

    user

    user: Claims
    diff --git a/docs/classes/utils_errors.accesstokenerror.html b/docs/classes/utils_errors.accesstokenerror.html index 220ce182f..82f9b8778 100644 --- a/docs/classes/utils_errors.accesstokenerror.html +++ b/docs/classes/utils_errors.accesstokenerror.html @@ -117,7 +117,7 @@

    constructor

  • Parameters

    @@ -142,7 +142,7 @@

    code

    code: string
  • diff --git a/docs/interfaces/config.authorizationparameters.html b/docs/interfaces/config.authorizationparameters.html index 557797283..ad57039d4 100644 --- a/docs/interfaces/config.authorizationparameters.html +++ b/docs/interfaces/config.authorizationparameters.html @@ -110,7 +110,7 @@

    response_mode

    response_mode: "query" | "form_post"
    @@ -120,7 +120,7 @@

    response_type

    response_type: "id_token" | "code id_token" | "code"
    @@ -130,7 +130,7 @@

    scope

    scope: string
    diff --git a/docs/interfaces/config.config-1.html b/docs/interfaces/config.config-1.html index b01632edf..a627e7652 100644 --- a/docs/interfaces/config.config-1.html +++ b/docs/interfaces/config.config-1.html @@ -102,11 +102,13 @@

    Optional

    • AUTH0_CLOCK_TOLERANCE: See clockTolerance
    • +
    • AUTH0_HTTP_TIMEOUT: See httpTimeout
    • AUTH0_ENABLE_TELEMETRY: See enableTelemetry
    • AUTH0_IDP_LOGOUT: See idpLogout
    • AUTH0_ID_TOKEN_SIGNING_ALG: See idTokenSigningAlg
    • AUTH0_LEGACY_SAME_SITE_COOKIE: See legacySameSiteCookie
    • AUTH0_POST_LOGOUT_REDIRECT: See Config.routes
    • +
    • AUTH0_CALLBACK: See Config.routes
    • AUTH0_AUDIENCE: See Config.authorizationParams
    • AUTH0_SCOPE: See Config.authorizationParams
    • AUTH0_SESSION_NAME: See SessionConfig.name
    • @@ -124,13 +126,15 @@

      Optional

      2. Create your own instance using InitAuth0

      If you don't want to configure the SDK with environment variables or you want more fine grained control over the - instance, you can create an instance yourself and use the handlers and helpers from that, eg:

      + instance, you can create an instance yourself and use the handlers and helpers from that.

      +

      First, export your configured instance from another module:

      // utils/auth0.js
       import { initAuth0 } from '@auth0/nextjs-auth0';
       
       export default initAuth0({ ...ConfigParameters... });
      -
      -// pages/api/auth/[...auth0].js
      +
      +

      Then import it into your route handler:

      +
      // pages/api/auth/[...auth0].js
       import auth0 from '../../../../utils/auth0';
       
       return auth0.handleAuth();
      @@ -162,6 +166,7 @@ 

      Properties

    • clockTolerance
    • enableTelemetry
    • getLoginState
    • +
    • httpTimeout
    • idTokenSigningAlg
    • identityClaimFilter
    • idpLogout
    • @@ -183,7 +188,7 @@

      auth0Logout

      auth0Logout: boolean
      @@ -198,7 +203,7 @@

      authorizationParams

      authorizationParams: AuthorizationParameters
      @@ -212,15 +217,15 @@

      authorizationParams

      }

      New values can be passed in to change what is returned from the authorization server - depending on your specific scenario.

      -

      Additional custom parameters can be added as well:

      + depending on your specific scenario. Additional custom parameters can be added as well.

      +

      Note: You must provide the required parameters if this object is set.

      {
      -  // Note: you need to provide required parameters if this object is set.
         response_type: 'code',
      -  scope: 'openid profile email'
      - // Additional parameters
      - acr_value: "tenant:test-tenant",
      - custom_param: "custom-value"
      +  scope: 'openid profile email',
      +
      +  // Additional parameters
      +  acr_value: "tenant:test-tenant",
      +  custom_param: "custom-value"
       };
       
    @@ -231,7 +236,7 @@

    baseURL

    baseURL: string
    @@ -249,7 +254,7 @@

    clientID

    clientID: string
    @@ -262,10 +267,10 @@

    clientID

    Optional clientSecret

    -
    clientSecret: string
    +
    clientSecret: undefined | string
    @@ -282,7 +287,7 @@

    clockTolerance

    clockTolerance: number
    @@ -298,7 +303,7 @@

    enableTelemetry

    enableTelemetry: boolean
    @@ -314,7 +319,7 @@

    getLoginState

    getLoginState: (req: IncomingMessage, options: LoginOptions) => Record<string, any>
    @@ -360,13 +365,29 @@

    Returns Record

    +
    + +

    httpTimeout

    +
    httpTimeout: number
    + +
    +
    +

    Integer value for the http timeout in ms for authentication requests. + Default is 5000

    +
    +
    +

    idTokenSigningAlg

    idTokenSigningAlg: string
    @@ -381,7 +402,7 @@

    identityClaimFilter

    identityClaimFilter: string[]
    @@ -397,7 +418,7 @@

    idpLogout

    idpLogout: boolean
    @@ -412,7 +433,7 @@

    issuerBaseURL

    issuerBaseURL: string
    @@ -429,7 +450,7 @@

    legacySameSiteCookie

    legacySameSiteCookie: boolean
    @@ -445,7 +466,7 @@

    routes

    routes: { callback: string; postLogoutRedirect: string }
    @@ -480,10 +501,10 @@
    postLogoutRedirect:

    secret

    -
    secret: string | Array<string>
    +
    secret: string | string[]
    @@ -501,7 +522,7 @@

    session

    session: SessionConfig
    @@ -614,6 +635,9 @@

    session

  • getLoginState
  • +
  • + httpTimeout +
  • idTokenSigningAlg
  • diff --git a/docs/interfaces/config.cookieconfig.html b/docs/interfaces/config.cookieconfig.html index 0292057c7..7b0ecf115 100644 --- a/docs/interfaces/config.cookieconfig.html +++ b/docs/interfaces/config.cookieconfig.html @@ -104,10 +104,10 @@

    Properties

    Optional domain

    -
    domain: string
    +
    domain: undefined | string
    @@ -122,7 +122,7 @@

    httpOnly

    httpOnly: boolean
    @@ -135,10 +135,10 @@

    httpOnly

    Optional path

    -
    path: string
    +
    path: undefined | string
    @@ -154,7 +154,7 @@

    sameSite

    sameSite: boolean | "lax" | "strict" | "none"
    @@ -167,10 +167,10 @@

    sameSite

    Optional secure

    -
    secure: boolean
    +
    secure: undefined | boolean
    @@ -186,7 +186,7 @@

    transient

    transient: boolean
    diff --git a/docs/interfaces/config.sessionconfig.html b/docs/interfaces/config.sessionconfig.html index 1deb3bad8..a1103bdd7 100644 --- a/docs/interfaces/config.sessionconfig.html +++ b/docs/interfaces/config.sessionconfig.html @@ -103,10 +103,10 @@

    Properties

    absoluteDuration

    -
    absoluteDuration: boolean | number
    +
    absoluteDuration: number | boolean
    @@ -124,7 +124,7 @@

    cookie

    cookie: CookieConfig
    @@ -134,7 +134,7 @@

    name

    name: string
    @@ -151,7 +151,7 @@

    rolling

    rolling: boolean
    @@ -170,7 +170,7 @@

    rollingDuration

    rollingDuration: number
    diff --git a/docs/interfaces/frontend_use_user.usercontext.html b/docs/interfaces/frontend_use_user.usercontext.html index 0b729db0e..4ca0b7e6d 100644 --- a/docs/interfaces/frontend_use_user.usercontext.html +++ b/docs/interfaces/frontend_use_user.usercontext.html @@ -88,7 +88,8 @@

    Index

    Properties

    @@ -98,22 +99,32 @@

    Properties

    Properties

    - -

    loading

    -
    loading: boolean
    + +

    Optional error

    +
    error: undefined | Error
    +
    +
    + +

    isLoading

    +
    isLoading: boolean
    +

    Optional user

    - +
    user: undefined | UserProfile
    @@ -195,7 +206,10 @@

    Optional user

    UserContext
    @@ -135,7 +135,7 @@

    login

    @@ -145,7 +145,7 @@

    logout

    logout: HandleLogout
    @@ -155,7 +155,7 @@

    profile

    profile: HandleProfile
    diff --git a/docs/interfaces/handlers_login.loginoptions.html b/docs/interfaces/handlers_login.loginoptions.html index d8c7d318e..aca2af58b 100644 --- a/docs/interfaces/handlers_login.loginoptions.html +++ b/docs/interfaces/handlers_login.loginoptions.html @@ -101,10 +101,10 @@

    Properties

    Optional authorizationParams

    -
    authorizationParams: Partial<AuthorizationParameters>
    +
    authorizationParams: undefined | Partial<AuthorizationParameters>
    @@ -116,10 +116,10 @@

    Optional authorizationPar

    Optional getLoginState

    -
    getLoginState: GetLoginState
    +
    getLoginState: undefined | GetLoginState
    @@ -131,10 +131,10 @@

    Optional getLoginSta

    Optional returnTo

    -
    returnTo: string
    +
    returnTo: undefined | string
    diff --git a/docs/interfaces/handlers_logout.logoutoptions.html b/docs/interfaces/handlers_logout.logoutoptions.html index 459fa6728..11b4d875d 100644 --- a/docs/interfaces/handlers_logout.logoutoptions.html +++ b/docs/interfaces/handlers_logout.logoutoptions.html @@ -99,10 +99,10 @@

    Properties

    Optional returnTo

    -
    returnTo: string
    +
    returnTo: undefined | string
    diff --git a/docs/interfaces/instance.signinwithauth0.html b/docs/interfaces/instance.signinwithauth0.html index 4a6b9cde0..36e77477f 100644 --- a/docs/interfaces/instance.signinwithauth0.html +++ b/docs/interfaces/instance.signinwithauth0.html @@ -112,7 +112,7 @@

    getAccessToken

    getAccessToken: GetAccessToken
    @@ -127,7 +127,7 @@

    getSession

    getSession: GetSession
    @@ -142,7 +142,7 @@

    handleAuth

    handleAuth: HandleAuth
    @@ -157,7 +157,7 @@

    handleCallback

    handleCallback: HandleCallback
    @@ -172,7 +172,7 @@

    handleLogin

    handleLogin: HandleLogin
    @@ -187,7 +187,7 @@

    handleLogout

    handleLogout: HandleLogout
    @@ -202,7 +202,7 @@

    handleProfile

    handleProfile: HandleProfile
    @@ -217,7 +217,7 @@

    withApiAuthRequired

    withApiAuthRequired: WithApiAuthRequired
    @@ -232,7 +232,7 @@

    withPageAuthRequired

    withPageAuthRequired: WithPageAuthRequired
    diff --git a/docs/interfaces/session_get_access_token.accesstokenrequest.html b/docs/interfaces/session_get_access_token.accesstokenrequest.html index a8c597c6a..1ec0dc0ca 100644 --- a/docs/interfaces/session_get_access_token.accesstokenrequest.html +++ b/docs/interfaces/session_get_access_token.accesstokenrequest.html @@ -100,10 +100,10 @@

    Properties

    Optional refresh

    -
    refresh: boolean
    +
    refresh: undefined | boolean
    @@ -116,10 +116,10 @@

    Optional refresh

    Optional scopes

    -
    scopes: string[]
    +
    scopes: undefined | string[]
    diff --git a/docs/interfaces/session_get_access_token.getaccesstokenresult.html b/docs/interfaces/session_get_access_token.getaccesstokenresult.html index 758baf036..377ae2f48 100644 --- a/docs/interfaces/session_get_access_token.getaccesstokenresult.html +++ b/docs/interfaces/session_get_access_token.getaccesstokenresult.html @@ -99,10 +99,10 @@

    Properties

    Optional accessToken

    -
    accessToken: string | undefined
    +
    accessToken: undefined | string
    diff --git a/docs/modules/config.html b/docs/modules/config.html index 4cb0f53c8..9800a33dd 100644 --- a/docs/modules/config.html +++ b/docs/modules/config.html @@ -93,7 +93,7 @@

    ConfigParameters

    ConfigParameters: DeepPartial<Config>
    diff --git a/docs/modules/frontend.html b/docs/modules/frontend.html index d9af162ab..3a475885c 100644 --- a/docs/modules/frontend.html +++ b/docs/modules/frontend.html @@ -73,6 +73,7 @@

    References

  • UserContext
  • UserProfile
  • UserProvider
  • +
  • UserProviderProps
  • WithPageAuthRequired
  • @@ -96,6 +97,11 @@

    UserProfile

    UserProvider

    Renames and exports default
    +
    + +

    UserProviderProps

    + Re-exports UserProviderProps +

    WithPageAuthRequired

    @@ -182,6 +188,9 @@

    WithPageAuthRequired

  • UserProvider
  • +
  • + UserProviderProps +
  • WithPageAuthRequired
  • diff --git a/docs/modules/frontend_use_user.html b/docs/modules/frontend_use_user.html index 39eca7e53..fa3290d83 100644 --- a/docs/modules/frontend_use_user.html +++ b/docs/modules/frontend_use_user.html @@ -79,6 +79,7 @@

    Client Type aliases

    @@ -98,7 +99,7 @@

    UseUser

    UseUser: () => UserContext
    @@ -106,14 +107,15 @@

    UseUser

    The useUser hook, which will get you the UserProfile object from the server side session by requesting it from the HandleProfile API Route handler.

    -
    // pages/profile.js
    +						
    // pages/profile.js
     import Link from 'next/link';
     import { useUser } from '@auth0/nextjs-auth0`;
     
     export default function Profile() {
    -  const { isLoading, user } = useUser();
    +  const { user, error, isLoading } = useUser();
     
       if (isLoading) return <div>Loading...</div>;
    +  if (error) return <div>{error.message}</div>;
       if (!user) return <Link href="/api/auth/login"><a>Login</a></Link>;
       return <div>Hello {user.name}, <Link href="/api/auth/logout"><a>Logout</a></Link></div>;
     }
    @@ -123,7 +125,7 @@ 

    UseUser

    Type declaration

    +
    + +

    UserProviderProps

    +
    UserProviderProps: React.PropsWithChildren<{ profileUrl?: string; user?: UserProfile }>
    + +
    +
    +

    Configure the UserProvider component.

    +
    +

    If you have any server side rendered pages (eg. using getServerSideProps), you should get the user from the server + side session and pass it to the <UserProvider> component via pageProps - this will refill the {@link useUser} + hook with the UserProfile object. eg

    +
    // pages/_app.js
    +import React from 'react';
    +import { UserProvider } from '@auth0/nextjs-auth0';
    +
    +export default function App({ Component, pageProps }) {
    +  // If you've used `withAuth`, pageProps.user can pre-populate the hook
    +  // if you haven't used `withAuth`, pageProps.user is undefined so the hook
    +  // fetches the user from the API route
    +  const { user } = pageProps;
    +
    +  return (
    +    <UserProvider user={user}>
    +      <Component {...pageProps} />
    +    </UserProvider>
    +  );
    +}
    +
    +

    If you have used a custom url for your HandleProfile API Route handler (the default is /api/auth/me) then + you should specify it here in the profileUrl option.

    +
    +

    Properties

    default

    -
    default: (__namedParameters: PropsWithChildren<{ profileUrl?: string; user?: UserProfile }>) => ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, string | (props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null | ((props: any) => Component<any, any, any>)>) | ((props: any) => Component<any, any, any>)>
    +
    default: (__namedParameters: PropsWithChildren<{ profileUrl?: undefined | string; user?: undefined | UserProfile }>) => ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, string | (props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null | ((props: any) => Component<any, any, any>)>) | ((props: any) => Component<any, any, any>)>
    @@ -188,14 +228,14 @@

    Type declaration

      • -
      • (__namedParameters: PropsWithChildren<{ profileUrl?: string; user?: UserProfile }>): ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, string | (props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null | ((props: any) => Component<any, any, any>)>) | ((props: any) => Component<any, any, any>)>
      • +
      • (__namedParameters: PropsWithChildren<{ profileUrl?: undefined | string; user?: undefined | UserProfile }>): ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, string | (props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null | ((props: any) => Component<any, any, any>)>) | ((props: any) => Component<any, any, any>)>
      • Parameters

        • -
          __namedParameters: PropsWithChildren<{ profileUrl?: string; user?: UserProfile }>
          +
          __namedParameters: PropsWithChildren<{ profileUrl?: undefined | string; user?: undefined | UserProfile }>

        Returns ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, string | (props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null | ((props: any) => Component<any, any, any>)>) | ((props: any) => Component<any, any, any>)>

        @@ -289,6 +329,9 @@

        Returns ReactElem
      • UserProvider
      • +
      • + UserProviderProps +
      • default
      • diff --git a/docs/modules/frontend_with_page_auth_required.html b/docs/modules/frontend_with_page_auth_required.html index 48fe5104f..752aca850 100644 --- a/docs/modules/frontend_with_page_auth_required.html +++ b/docs/modules/frontend_with_page_auth_required.html @@ -90,8 +90,8 @@

        WithPageAuthRequired

        WithPageAuthRequired: <P>(Component: ComponentType<P>, options?: WithPageAuthRequiredOptions) => React.FC<P>
        @@ -106,7 +106,7 @@

        WithPageAuthRequired

        Type declaration

        • -
            +
              diff --git a/docs/modules/handlers_auth.html b/docs/modules/handlers_auth.html index 1aecd5c6c..b9c599ca8 100644 --- a/docs/modules/handlers_auth.html +++ b/docs/modules/handlers_auth.html @@ -90,8 +90,8 @@

              HandleAuth

              HandleAuth: (userHandlers?: Partial<Handlers>) => NextApiHandler
              @@ -100,9 +100,9 @@

              HandleAuth

              Simply set the environment variables per Config then create the file pages/api/auth/[...auth0].js, eg

              // pages/api/auth/[...auth0].js
              -import { handleAuth, } from '@auth0/nextjs-auth0';
              +import { handleAuth } from '@auth0/nextjs-auth0';
               
              -export default handleAuth()
              +export default handleAuth();
               

              This will create 4 handlers for the following urls:

                @@ -116,7 +116,7 @@

                HandleAuth

                Type declaration

                • -
                    +
                    • (userHandlers?: Partial<Handlers>): NextApiHandler
                      diff --git a/docs/modules/handlers_callback.html b/docs/modules/handlers_callback.html index a561d9db2..9c10fde22 100644 --- a/docs/modules/handlers_callback.html +++ b/docs/modules/handlers_callback.html @@ -86,8 +86,8 @@

                      AfterCallback

                      AfterCallback: (req: NextApiRequest, res: NextApiResponse, session: default, state: {}) => Promise<default> | default
                      @@ -111,7 +111,7 @@

                      Validate additional claims

                      export handleAuth({ async callback(req, res) { try { - await handleLogin(req, res, { afterCallback }); + await handleCallback(req, res, { afterCallback }); } catch (error) { res.status(error.status || 500).end(error.message); } @@ -133,7 +133,7 @@

                      Modify the session after login

                      export handleAuth({ async callback(req, res) { try { - await handleLogin(req, res, { afterCallback }); + await handleCallback(req, res, { afterCallback }); } catch (error) { res.status(error.status || 500).end(error.message); } @@ -145,7 +145,7 @@

                      Modify the session after login

                      Type declaration

                      • -
                          +
                            @@ -183,8 +183,8 @@

                            CallbackOptions

                            CallbackOptions: { afterCallback?: AfterCallback }
                            @@ -207,8 +207,8 @@

                            HandleCallback

                            HandleCallback: (req: NextApiRequest, res: NextApiResponse, options?: CallbackOptions) => Promise<void>
                            @@ -220,7 +220,7 @@

                            HandleCallback

                            Type declaration

                            • -
                                +
                                • (req: NextApiRequest, res: NextApiResponse, options?: CallbackOptions): Promise<void>
                                  diff --git a/docs/modules/handlers_login.html b/docs/modules/handlers_login.html index acb3fbfde..a5007f461 100644 --- a/docs/modules/handlers_login.html +++ b/docs/modules/handlers_login.html @@ -91,8 +91,8 @@

                                  GetLoginState

                                  GetLoginState: (req: NextApiRequest, options: LoginOptions) => {}
                                  @@ -103,7 +103,7 @@

                                  GetLoginState

                                  import { handleAuth, handleLogin } from '@auth0/nextjs-auth0'; const getLoginState = (req, loginOptions) => { - return { basket_id: getBasketId(req) } + return { basket_id: getBasketId(req) }; }; export handleAuth({ @@ -121,7 +121,7 @@

                                  GetLoginState

                                  Type declaration

                                  • -
                                      +
                                        @@ -153,8 +153,8 @@

                                        HandleLogin

                                        HandleLogin: (req: NextApiRequest, res: NextApiResponse, options?: LoginOptions) => Promise<void>
                                        @@ -166,7 +166,7 @@

                                        HandleLogin

                                        Type declaration

                                        • -
                                            +
                                            • (req: NextApiRequest, res: NextApiResponse, options?: LoginOptions): Promise<void>
                                              diff --git a/docs/modules/handlers_logout.html b/docs/modules/handlers_logout.html index 4af2dfcca..c89eaaae3 100644 --- a/docs/modules/handlers_logout.html +++ b/docs/modules/handlers_logout.html @@ -90,8 +90,8 @@

                                              HandleLogout

                                              HandleLogout: (req: NextApiRequest, res: NextApiResponse, options?: LogoutOptions) => Promise<void>
                                              @@ -103,7 +103,7 @@

                                              HandleLogout

                                              Type declaration

                                              • -
                                                  +
                                                  • (req: NextApiRequest, res: NextApiResponse, options?: LogoutOptions): Promise<void>
                                                    diff --git a/docs/modules/handlers_profile.html b/docs/modules/handlers_profile.html index 858a163a2..81163d40d 100644 --- a/docs/modules/handlers_profile.html +++ b/docs/modules/handlers_profile.html @@ -85,8 +85,8 @@

                                                    HandleProfile

                                                    HandleProfile: (req: NextApiRequest, res: NextApiResponse, options?: ProfileOptions) => Promise<void>
                                                    @@ -98,7 +98,7 @@

                                                    HandleProfile

                                                    Type declaration

                                                    • -
                                                        +
                                                        • (req: NextApiRequest, res: NextApiResponse, options?: ProfileOptions): Promise<void>
                                                          @@ -128,8 +128,8 @@

                                                          ProfileOptions

                                                          ProfileOptions: { refetch?: boolean }
                                                          diff --git a/docs/modules/helpers_with_api_auth_required.html b/docs/modules/helpers_with_api_auth_required.html index 7c8899d41..1a75698f7 100644 --- a/docs/modules/helpers_with_api_auth_required.html +++ b/docs/modules/helpers_with_api_auth_required.html @@ -84,8 +84,8 @@

                                                          WithApiAuthRequired

                                                          WithApiAuthRequired: (apiRoute: NextApiHandler) => NextApiHandler
                                                          @@ -94,20 +94,20 @@

                                                          WithApiAuthRequired

                                                          401 Unauthorized.

                                                          // pages/api/protected-route.js
                                                          -import { withApiAuthRequired, getSession } from '@auth0/nextjs-auth0'
                                                          +import { withApiAuthRequired, getSession } from '@auth0/nextjs-auth0';
                                                           
                                                           export default withApiAuthRequired(function ProtectedRoute(req, res) {
                                                             const session = getSession(req, res);
                                                             ...
                                                           });
                                                           
                                                          -

                                                          If you visit /api/protected-route with out a valid session cookie, you will get a 401 response.

                                                          +

                                                          If you visit /api/protected-route without a valid session cookie, you will get a 401 response.

                                                          Type declaration

                                                          • -
                                                              +
                                                              • (apiRoute: NextApiHandler): NextApiHandler
                                                                diff --git a/docs/modules/helpers_with_page_auth_required.html b/docs/modules/helpers_with_page_auth_required.html index e182a60f7..8381b2a9b 100644 --- a/docs/modules/helpers_with_page_auth_required.html +++ b/docs/modules/helpers_with_page_auth_required.html @@ -87,8 +87,8 @@

                                                                GetServerSidePropsResultWithSession

                                                                GetServerSidePropsResultWithSession: GetServerSidePropsResult<{ user?: Claims | null }>
                                                                @@ -97,11 +97,11 @@

                                                                GetServerSidePropsResultWithSession

                                                                the user property, which will be the user's Claims

                                                                // pages/profile.js
                                                                -import { withPageAuthRequired } from '@auth0/nextjs-auth0'
                                                                +import { withPageAuthRequired } from '@auth0/nextjs-auth0';
                                                                 
                                                                 export default function Profile({ user }) {
                                                                   return <div>Hello {user.name}</div>;
                                                                -});
                                                                +}
                                                                 
                                                                 export const getServerSideProps = withPageAuthRequired();
                                                                 
                                                                @@ -113,8 +113,8 @@

                                                                PageRoute

                                                                PageRoute: (cts: GetServerSidePropsContext) => Promise<GetServerSidePropsResultWithSession>
                                                                @@ -126,7 +126,7 @@

                                                                PageRoute

                                                                Type declaration

                                                                • -
                                                                    +
                                                                      @@ -150,8 +150,8 @@

                                                                      WithPageAuthRequired

                                                                      WithPageAuthRequired: { (opts?: WithPageAuthRequiredOptions): PageRoute; <P>(Component: ComponentType<P>, options?: WithPageAuthRequiredOptions): FC<P> }
                                                                      @@ -159,11 +159,11 @@

                                                                      WithPageAuthRequired

                                                                      Wrap your getServerSideProps with this method to make sure the user is authenticated before visiting the page.

                                                                      // pages/protected-page.js
                                                                      -import { withPageAuthRequired } from '@auth0/nextjs-auth0'
                                                                      +import { withPageAuthRequired } from '@auth0/nextjs-auth0';
                                                                       
                                                                       export default function ProtectedPage() {
                                                                         return <div>Protected content</div>;
                                                                      -});
                                                                      +}
                                                                       
                                                                       export const getServerSideProps = withPageAuthRequired();
                                                                       
                                                                      @@ -174,7 +174,7 @@

                                                                      WithPageAuthRequired

                                                                      Type declaration

                                                                      • -
                                                                          + @@ -217,8 +217,8 @@

                                                                          WithPageAuthRequiredOptions

                                                                          WithPageAuthRequiredOptions: { getServerSideProps?: GetServerSideProps; loginUrl?: string }
                                                                          @@ -228,17 +228,17 @@

                                                                          WithPageAuthRequiredOptions

                                                                          You can pass in your own getServerSideProps method, the props returned from thsi will be merged with the user props, eg:

                                                                          // pages/protected-page.js
                                                                          -import { withPageAuthRequired } from '@auth0/nextjs-auth0'
                                                                          +import { withPageAuthRequired } from '@auth0/nextjs-auth0';
                                                                           
                                                                           export default function ProtectedPage({ user, customProp }) {
                                                                             return <div>Protected content</div>;
                                                                          -});
                                                                          +}
                                                                           
                                                                           export const getServerSideProps = withPageAuthRequired({
                                                                          -   loginUrl: '/api/auth/login',
                                                                          -   getServerSideProps(ctx) {
                                                                          -     return { props: { customProp: 'foo' } }
                                                                          -   }
                                                                          +  loginUrl: '/api/auth/login',
                                                                          +  async getServerSideProps(ctx) {
                                                                          +    return { props: { customProp: 'foo' } };
                                                                          +  }
                                                                           });
                                                                           
                                                                          diff --git a/docs/modules/instance.html b/docs/modules/instance.html index 49698484e..e0f938940 100644 --- a/docs/modules/instance.html +++ b/docs/modules/instance.html @@ -90,7 +90,7 @@

                                                                          InitAuth0

                                                                          InitAuth0: (params?: ConfigParameters) => SignInWithAuth0
                                                                          @@ -103,7 +103,7 @@

                                                                          InitAuth0

                                                                          Type declaration

                                                                          • -
                                                                              +
                                                                                diff --git a/docs/modules/session_get_access_token.html b/docs/modules/session_get_access_token.html index 6758ebc98..82727b6a2 100644 --- a/docs/modules/session_get_access_token.html +++ b/docs/modules/session_get_access_token.html @@ -91,8 +91,8 @@

                                                                                GetAccessToken

                                                                                GetAccessToken: (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse, accessTokenRequest?: AccessTokenRequest) => Promise<GetAccessTokenResult>
                                                                                @@ -104,7 +104,7 @@

                                                                                GetAccessToken

                                                                                Type declaration

                                                                                • -
                                                                                    +
                                                                                      diff --git a/docs/modules/session_get_session.html b/docs/modules/session_get_session.html index ea3633b61..34c012a42 100644 --- a/docs/modules/session_get_session.html +++ b/docs/modules/session_get_session.html @@ -84,8 +84,8 @@

                                                                                      GetSession

                                                                                      GetSession: (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse) => default | null | undefined
                                                                                      @@ -97,7 +97,7 @@

                                                                                      GetSession

                                                                                      Type declaration

                                                                                      • -
                                                                                          +
                                                                                          • (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse): default | null | undefined
                                                                                            diff --git a/docs/modules/version.html b/docs/modules/version.html index ce4dfe46d..1fa562daa 100644 --- a/docs/modules/version.html +++ b/docs/modules/version.html @@ -81,7 +81,7 @@

                                                                                            Properties

                                                                                            default

                                                                                            -
                                                                                            default: "0.16.0"
                                                                                            +
                                                                                            default: "1.0.0-beta.0"
                                                                                            From ade6ad2a8b6310605529bbe652e17a79de1476ef Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Thu, 14 Jan 2021 10:45:50 +0000 Subject: [PATCH 2/5] Improve the CHANGELOG a little --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21862f65f..f0e40083a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ ## [1.0.0-beta.0](https://github.com/auth0/nextjs-auth0/tree/v1.0.0-beta.0) (2021-01-14) -Install using the **beta** tag `npm install @auth0/nextjs-auth0@beta` +**Install** + +```sh +npm install @auth0/nextjs-auth0@beta +``` + +**New features** + +- New suite of frontend tools: + - `useUser` hook and `UserProvider` to simplify checking and managing the user’s logged in state on the client. + - `withPageAuthRequired` higher order component to protect client side routes. +- New `handleAuth` feature to reduce the amount of boilerplate required to set up the server side authentication handlers. +- Simpler server side API where creation of an SDK instance is handled by the SDK. + +**Breaking changes** For a full list of breaking changes and migration guide, checkout the [V1_MIGRATION_GUIDE.md](./V1_MIGRATION_GUIDE.md) From d91c0666c305e8c294ee162d7e7adcea1b5ac5ea Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Thu, 14 Jan 2021 12:53:40 +0000 Subject: [PATCH 3/5] Add snippets to the logout/callback in migration guide --- CHANGELOG.md | 2 ++ V1_MIGRATION_GUIDE.md | 80 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 80 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0e40083a..9dc2e087d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ npm install @auth0/nextjs-auth0@beta For a full list of breaking changes and migration guide, checkout the [V1_MIGRATION_GUIDE.md](./V1_MIGRATION_GUIDE.md) +**Changes** + - AggregateError#message from `Issuer.discover` includes stack trace [#236](https://github.com/auth0/nextjs-auth0/pull/236) ([adamjmcgrath](https://github.com/adamjmcgrath)) - Prevent caching the `/me` request [#233](https://github.com/auth0/nextjs-auth0/pull/233) ([adamjmcgrath](https://github.com/adamjmcgrath)) - Added error handling to useUser [SDK-2236] [#229](https://github.com/auth0/nextjs-auth0/pull/229) ([Widcket](https://github.com/Widcket)) diff --git a/V1_MIGRATION_GUIDE.md b/V1_MIGRATION_GUIDE.md index 8952302c1..c3675371f 100644 --- a/V1_MIGRATION_GUIDE.md +++ b/V1_MIGRATION_GUIDE.md @@ -171,7 +171,7 @@ export default async function login(req, res) { }); } catch (error) { console.error(error); - res.status(error.status || 400).end(error.message); + res.status(error.status || 500).end(error.message); } } ``` @@ -195,7 +195,7 @@ export default async function login(req, res) { }); } catch (error) { console.error(error); - res.status(error.status || 400).end(error.message); + res.status(error.status || 500).end(error.message); } } ``` @@ -208,6 +208,42 @@ The options passed to `handleLogout` have changed. - `redirectTo` is now `returnTo` +#### Before + +```js +// pages/api/logout.js +import auth0 from '../../utils/auth0'; + +export default async function logout(req, res) { + try { + await auth0.handleLogout(req, res, { + redirectTo: '/custom-url' + }); + } catch (error) { + console.error(error); + res.status(error.status || 500).end(error.message); + } +} +``` + +#### After + +```js +// pages/api/logout.js +import auth0 from '../../utils/auth0'; + +export default async function logout(req, res) { + try { + await auth0.handleLogout(req, res, { + returnTo: '/custom-url' + }); + } catch (error) { + console.error(error); + res.status(error.status || 500).end(error.message); + } +} +``` + See the [handleLogout docs](https://auth0.github.io/nextjs-auth0/modules/handlers_logout.html). ### handleCallback @@ -216,4 +252,44 @@ The options passed to `handleCallback` have changed. - `onUserLoaded` is now `afterCallback` +#### Before + +```js +// pages/api/callback.js +import auth0 from '../../utils/auth0'; + +export default async function callback(req, res) { + try { + await auth0.handleCallback(req, res, { + async onUserLoaded(req, res, session, state) { + return session; + } + }); + } catch (error) { + console.error(error); + res.status(error.status || 500).end(error.message); + } +} +``` + +#### After + +```js +// pages/api/callback.js +import auth0 from '../../utils/auth0'; + +export default async function callback(req, res) { + try { + await auth0.handleCallback(req, res, { + async afterCallback(req, res, session, state) { + return session; + } + }); + } catch (error) { + console.error(error); + res.status(error.status || 500).end(error.message); + } +} +``` + See the [handleCallback docs](https://auth0.github.io/nextjs-auth0/modules/handlers_callback.html). From 56dd087a62b58b9d06fa970b57f5abe77b430d29 Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Thu, 14 Jan 2021 15:52:24 +0000 Subject: [PATCH 4/5] Investigating bundle size --- package-lock.json | 118 +++------------------------------------------- package.json | 11 ++--- 2 files changed, 9 insertions(+), 120 deletions(-) diff --git a/package-lock.json b/package-lock.json index c402954d1..f06447205 100644 --- a/package-lock.json +++ b/package-lock.json @@ -785,15 +785,6 @@ } } }, - "@hapi/b64": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@hapi/b64/-/b64-5.0.0.tgz", - "integrity": "sha512-ngu0tSEmrezoiIaNGG6rRvKOUkUuDdf4XTPnONHGYfSGRmDqPZX5oJL6HAdKTo1UQHECbdB4OzhWrfgVppjHUw==", - "dev": true, - "requires": { - "@hapi/hoek": "9.x.x" - } - }, "@hapi/boom": { "version": "9.1.1", "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.1.tgz", @@ -803,21 +794,6 @@ "@hapi/hoek": "9.x.x" } }, - "@hapi/bourne": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-2.0.0.tgz", - "integrity": "sha512-WEezM1FWztfbzqIUbsDzFRVMxSoLy3HugVcux6KDDtTqzPsLE8NDRHfXvev66aH1i2oOKKar3/XDjbvh/OUBdg==", - "dev": true - }, - "@hapi/cryptiles": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/cryptiles/-/cryptiles-5.1.0.tgz", - "integrity": "sha512-fo9+d1Ba5/FIoMySfMqPBR/7Pa29J2RsiPrl7bkwo5W5o+AN1dAYQRi4SPrPwwVxVGKjgLOEWrsvt1BonJSfLA==", - "dev": true, - "requires": { - "@hapi/boom": "9.x.x" - } - }, "@hapi/formula": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@hapi/formula/-/formula-2.0.0.tgz", @@ -829,19 +805,6 @@ "integrity": "sha512-i9YbZPN3QgfighY/1X1Pu118VUz2Fmmhd6b2n0/O8YVgGGfw0FbUYoA97k7FkpGJ+pLCFEDLUmAPPV4D1kpeFw==", "dev": true }, - "@hapi/iron": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@hapi/iron/-/iron-6.0.0.tgz", - "integrity": "sha512-zvGvWDufiTGpTJPG1Y/McN8UqWBu0k/xs/7l++HVU535NLHXsHhy54cfEMdW7EjwKfbBfM9Xy25FmTiobb7Hvw==", - "dev": true, - "requires": { - "@hapi/b64": "5.x.x", - "@hapi/boom": "9.x.x", - "@hapi/bourne": "2.x.x", - "@hapi/cryptiles": "5.x.x", - "@hapi/hoek": "9.x.x" - } - }, "@hapi/joi": { "version": "17.1.1", "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-17.1.1.tgz", @@ -1574,12 +1537,6 @@ "@types/responselike": "*" } }, - "@types/caseless": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.2.tgz", - "integrity": "sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w==", - "dev": true - }, "@types/clone": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@types/clone/-/clone-2.1.0.tgz", @@ -1610,7 +1567,8 @@ "@types/debug": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.5.tgz", - "integrity": "sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ==" + "integrity": "sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ==", + "dev": true }, "@types/graceful-fs": { "version": "4.1.4", @@ -1621,15 +1579,6 @@ "@types/node": "*" } }, - "@types/hapi__iron": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@types/hapi__iron/-/hapi__iron-6.0.1.tgz", - "integrity": "sha512-NTr+1FKl+nvEeSwVpfcks36dCm6+tbcQh3tJYbyQ5XWb5sIbCIptW6p38zmCYE5ppOoU/2PK1Y8taGpl6cOl5w==", - "dev": true, - "requires": { - "@hapi/iron": "*" - } - }, "@types/hapi__joi": { "version": "17.1.6", "resolved": "https://registry.npmjs.org/@types/hapi__joi/-/hapi__joi-17.1.6.tgz", @@ -1644,7 +1593,8 @@ "@types/http-errors": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.0.tgz", - "integrity": "sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==" + "integrity": "sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==", + "dev": true }, "@types/istanbul-lib-coverage": { "version": "2.0.3", @@ -1769,18 +1719,6 @@ "@types/react": "*" } }, - "@types/request": { - "version": "2.48.5", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.5.tgz", - "integrity": "sha512-/LO7xRVnL3DxJ1WkPGDQrp4VTV1reX9RkC85mJ+Qzykj2Bdw+mG15aAfDahc76HtknjzE16SX/Yddn6MxVbmGQ==", - "dev": true, - "requires": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, "@types/responselike": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz", @@ -1828,12 +1766,6 @@ "@types/jest": "*" } }, - "@types/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A==", - "dev": true - }, "@types/uglify-js": { "version": "3.11.1", "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.1.tgz", @@ -1846,7 +1778,8 @@ "@types/url-join": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/url-join/-/url-join-4.0.0.tgz", - "integrity": "sha512-awrJu8yML4E/xTwr2EMatC+HBnHGoDxc2+ImA9QyeUELI1S7dOCIZcyjki1rkwoA8P2D2NVgLAJLjnclkdLtAw==" + "integrity": "sha512-awrJu8yML4E/xTwr2EMatC+HBnHGoDxc2+ImA9QyeUELI1S7dOCIZcyjki1rkwoA8P2D2NVgLAJLjnclkdLtAw==", + "dev": true }, "@types/webpack": { "version": "4.41.26", @@ -3611,12 +3544,6 @@ "typedarray": "^0.0.6" } }, - "confusing-browser-globals": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz", - "integrity": "sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA==", - "dev": true - }, "console-browserify": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", @@ -4888,28 +4815,6 @@ } } }, - "eslint-config-airbnb": { - "version": "18.2.1", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-18.2.1.tgz", - "integrity": "sha512-glZNDEZ36VdlZWoxn/bUR1r/sdFKPd1mHPbqUtkctgNG4yT2DLLtJ3D+yCV+jzZCc2V1nBVkmdknOJBZ5Hc0fg==", - "dev": true, - "requires": { - "eslint-config-airbnb-base": "^14.2.1", - "object.assign": "^4.1.2", - "object.entries": "^1.1.2" - } - }, - "eslint-config-airbnb-base": { - "version": "14.2.1", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz", - "integrity": "sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==", - "dev": true, - "requires": { - "confusing-browser-globals": "^1.0.10", - "object.assign": "^4.1.2", - "object.entries": "^1.1.2" - } - }, "eslint-config-prettier": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz", @@ -5767,17 +5672,6 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true }, - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", diff --git a/package.json b/package.json index ab77f29d9..64613d6d9 100644 --- a/package.json +++ b/package.json @@ -64,23 +64,22 @@ "@types/body-parser": "^1.19.0", "@types/clone": "^2.1.0", "@types/cookie": "^0.4.0", - "@types/hapi__iron": "^6.0.1", + "@types/debug": "^4.1.5", "@types/hapi__joi": "^17.1.6", + "@types/http-errors": "^1.8.0", "@types/jest": "^26.0.20", "@types/jsonwebtoken": "^8.5.0", "@types/node": "^14.14.20", "@types/on-headers": "^1.0.0", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", - "@types/request": "^2.48.5", + "@types/url-join": "^4.0.0", "@types/webpack": "^4.41.26", "@typescript-eslint/eslint-plugin": "^4.13.0", "@typescript-eslint/parser": "^4.13.0", "body-parser": "^1.19.0", "cypress": "^6.2.1", "eslint": "^7.17.0", - "eslint-config-airbnb": "^18.2.1", - "eslint-config-airbnb-base": "^14.2.1", "eslint-config-prettier": "^7.1.0", "eslint-import-resolver-typescript": "^2.3.0", "eslint-plugin-import": "^2.22.1", @@ -95,7 +94,6 @@ "react": "^17.0.1", "react-dom": "^17.0.1", "react-test-renderer": "^17.0.1", - "request": "^2.88.2", "start-server-and-test": "^1.11.7", "timekeeper": "^2.2.0", "tough-cookie": "^4.0.0", @@ -105,9 +103,6 @@ }, "dependencies": { "@hapi/joi": "^17.1.1", - "@types/debug": "^4.1.5", - "@types/http-errors": "^1.8.0", - "@types/url-join": "^4.0.0", "base64url": "^3.0.1", "cookie": "^0.4.1", "debug": "^4.3.1", From f6424af7855be1b80b1a68be7ae1eddea0c3a6b7 Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Thu, 14 Jan 2021 16:05:08 +0000 Subject: [PATCH 5/5] fix test, missing types for tough-cookie --- package-lock.json | 6 ++++++ package.json | 1 + 2 files changed, 7 insertions(+) diff --git a/package-lock.json b/package-lock.json index f06447205..efe5b893b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1766,6 +1766,12 @@ "@types/jest": "*" } }, + "@types/tough-cookie": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A==", + "dev": true + }, "@types/uglify-js": { "version": "3.11.1", "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.1.tgz", diff --git a/package.json b/package.json index 64613d6d9..080f642f8 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "@types/on-headers": "^1.0.0", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", + "@types/tough-cookie": "^4.0.0", "@types/url-join": "^4.0.0", "@types/webpack": "^4.41.26", "@typescript-eslint/eslint-plugin": "^4.13.0",