From e9fc85a51f8e48587eecf162a3117df105cd7cae Mon Sep 17 00:00:00 2001
From: Andrew Ovens
Date: Thu, 16 Mar 2023 12:33:07 -0600
Subject: [PATCH] Update documentation
---
.../classes/client_use_user.RequestError.html | 6 +--
docs/classes/session_session.default.html | 16 ++++----
.../utils_errors.AccessTokenError.html | 12 +++---
docs/classes/utils_errors.AuthError.html | 12 +++---
.../utils_errors.CallbackHandlerError.html | 14 +++----
docs/classes/utils_errors.HandlerError.html | 12 +++---
.../utils_errors.LoginHandlerError.html | 14 +++----
.../utils_errors.LogoutHandlerError.html | 14 +++----
.../utils_errors.ProfileHandlerError.html | 14 +++----
.../utils_errors.AccessTokenErrorCode.html | 14 +++----
docs/functions/client_use_user.default.html | 2 +-
docs/functions/client_use_user.useUser.html | 2 +-
docs/functions/edge.getSession-1.html | 12 ++++--
docs/functions/edge.initAuth0-1.html | 2 +-
.../edge.withMiddlewareAuthRequired-1.html | 2 +-
...helpers_testing.generateSessionCookie.html | 2 +-
docs/functions/index._initAuth.html | 2 +-
docs/functions/index.getAccessToken-1.html | 2 +-
docs/functions/index.getSession-1.html | 10 +++--
docs/functions/index.handleAuth-1.html | 2 +-
docs/functions/index.handleCallback-1.html | 6 +--
docs/functions/index.handleLogin-1.html | 6 +--
docs/functions/index.handleLogout-1.html | 6 +--
docs/functions/index.handleProfile-1.html | 6 +--
docs/functions/index.initAuth0-1.html | 2 +-
docs/functions/index.updateSession-1.html | 2 +-
.../index.withApiAuthRequired-1.html | 2 +-
.../index.withPageAuthRequired-1.html | 2 +-
.../client_use_user.UserProfile.html | 18 ++++-----
...ent_with_page_auth_required.UserProps.html | 4 +-
..._required.WithPageAuthRequiredOptions.html | 8 ++--
.../config.AuthorizationParameters.html | 8 ++--
docs/interfaces/config.BaseConfig.html | 40 +++++++++----------
docs/interfaces/config.CookieConfig.html | 14 +++----
docs/interfaces/config.NextConfig.html | 10 ++---
docs/interfaces/config.SessionConfig.html | 18 ++++-----
.../handlers_callback.CallbackOptions.html | 10 ++---
.../handlers_login.AuthorizationParams.html | 12 +++---
.../handlers_login.LoginOptions.html | 8 ++--
.../handlers_logout.LogoutOptions.html | 6 +--
docs/interfaces/index.Auth0Server.html | 22 +++++-----
...n_get_access_token.AccessTokenRequest.html | 10 ++---
...get_access_token.GetAccessTokenResult.html | 4 +-
docs/interfaces/session_session.Claims.html | 2 +-
docs/modules/client.html | 2 +-
docs/modules/client_use_user.html | 2 +-
.../client_with_page_auth_required.html | 2 +-
docs/modules/config.html | 2 +-
docs/modules/edge.html | 15 ++++---
docs/modules/handlers.html | 2 +-
docs/modules/handlers_auth.html | 2 +-
docs/modules/handlers_callback.html | 2 +-
docs/modules/handlers_login.html | 2 +-
docs/modules/handlers_logout.html | 2 +-
docs/modules/handlers_profile.html | 2 +-
docs/modules/helpers.html | 2 +-
docs/modules/helpers_testing.html | 2 +-
.../helpers_with_api_auth_required.html | 2 +-
...helpers_with_middleware_auth_required.html | 2 +-
.../helpers_with_page_auth_required.html | 2 +-
docs/modules/index.html | 2 +-
docs/modules/session.html | 2 +-
docs/modules/session_get_access_token.html | 2 +-
docs/modules/session_get_session.html | 2 +-
docs/modules/session_session.html | 2 +-
docs/modules/session_update_session.html | 2 +-
docs/modules/utils_errors.html | 2 +-
docs/modules/version.html | 2 +-
docs/types/client_use_user.UserContext.html | 4 +-
docs/types/client_use_user.UserProvider.html | 2 +-
.../client_use_user.UserProviderProps.html | 2 +-
...ge_auth_required.WithPageAuthRequired.html | 2 +-
docs/types/config.ConfigParameters.html | 2 +-
docs/types/edge.Auth0Edge.html | 2 +-
docs/types/edge.GetSession.html | 14 +++++--
docs/types/edge.InitAuth0.html | 2 +-
docs/types/handlers_auth.HandleAuth.html | 2 +-
docs/types/handlers_auth.Handlers.html | 2 +-
docs/types/handlers_auth.OnError.html | 2 +-
.../handlers_callback.AfterCallback.html | 2 +-
.../handlers_callback.CallbackHandler.html | 2 +-
...lers_callback.CallbackOptionsProvider.html | 2 +-
.../handlers_callback.HandleCallback.html | 2 +-
docs/types/handlers_login.GetLoginState.html | 2 +-
docs/types/handlers_login.HandleLogin.html | 2 +-
docs/types/handlers_login.LoginHandler.html | 2 +-
.../handlers_login.LoginOptionsProvider.html | 2 +-
docs/types/handlers_logout.HandleLogout.html | 2 +-
docs/types/handlers_logout.LogoutHandler.html | 2 +-
...handlers_logout.LogoutOptionsProvider.html | 2 +-
docs/types/handlers_profile.AfterRefetch.html | 2 +-
.../types/handlers_profile.HandleProfile.html | 2 +-
.../handlers_profile.ProfileHandler.html | 2 +-
.../handlers_profile.ProfileOptions.html | 2 +-
...ndlers_profile.ProfileOptionsProvider.html | 2 +-
...s_testing.GenerateSessionCookieConfig.html | 2 +-
...api_auth_required.WithApiAuthRequired.html | 2 +-
...h_required.WithMiddlewareAuthRequired.html | 2 +-
...d.GetServerSidePropsResultWithSession.html | 2 +-
...ers_with_page_auth_required.PageRoute.html | 2 +-
...ge_auth_required.WithPageAuthRequired.html | 2 +-
..._required.WithPageAuthRequiredOptions.html | 2 +-
docs/types/index.InitAuth0.html | 2 +-
docs/types/index.SessionStore.html | 2 +-
docs/types/index.SessionStorePayload.html | 2 +-
...session_get_access_token.AfterRefresh.html | 2 +-
...ssion_get_access_token.GetAccessToken.html | 2 +-
.../types/session_get_session.GetSession.html | 12 ++++--
.../session_update_session.UpdateSession.html | 2 +-
docs/variables/version.default.html | 2 +-
src/edge.ts | 14 ++++++-
src/session/get-session.ts | 2 +-
112 files changed, 305 insertions(+), 272 deletions(-)
diff --git a/docs/classes/client_use_user.RequestError.html b/docs/classes/client_use_user.RequestError.html
index 5790c02d5..507ecc7e6 100644
--- a/docs/classes/client_use_user.RequestError.html
+++ b/docs/classes/client_use_user.RequestError.html
@@ -30,7 +30,7 @@ Hierarchy
+Defined in client/use-user.tsx:46
@@ -59,14 +59,14 @@ status: number
+Defined in client/use-user.tsx:49
+Defined in client/use-user.tsx:47
+Defined in session/session.ts:33
Optional
access Token Expires At
access Token Expires At?: number
+Defined in session/session.ts:43
Optional
access Token Scope
access Token Scope?: string
+Defined in session/session.ts:38
Optional
id Token
id Token?: string
+Defined in session/session.ts:28
Optional
refresh Token
refresh Token?: string
@@ -99,14 +99,14 @@
+Defined in session/session.ts:51
+Defined in session/session.ts:23
+Defined in utils/errors.ts:41
Readonly
name
name: string
@@ -98,14 +98,14 @@ Readonly
+Defined in utils/errors.ts:46
Optional
Readonly
status
status?: number
+Defined in utils/errors.ts:62
+Defined in utils/errors.ts:80
+Defined in client/use-user.tsx:190
Returns UserContext
+Defined in client/use-user.tsx:134
Returns Promise < undefined | null | default >
+Defined in edge.ts:22
+Defined in edge.ts:28
+Defined in helpers/with-middleware-auth-required.ts:46
+Defined in helpers/testing.ts:23
+Defined in index.ts:154
+Defined in session/get-access-token.ts:86
+res: ServerResponse < IncomingMessage > | NextApiResponse < any >
+
+Optional
touchSession: boolean
+
Returns Promise < undefined | null | default >
+Defined in session/get-session.ts:12
+Defined in handlers/auth.ts:94
+Defined in handlers/callback.ts:187
+Defined in handlers/login.ts:226
+Defined in handlers/logout.ts:88
+Defined in handlers/profile.ts:91
+Defined in index.ts:131
+Defined in session/update-session.ts:27
+Defined in helpers/with-api-auth-required.ts:23
+Defined in helpers/with-page-auth-required.ts:93
+Defined in client/with-page-auth-required.tsx:52
Optional
on Redirecting
on Redirecting?: ( ( ) => Element )
@@ -76,7 +76,7 @@ Type declaration
Returns Element
+Defined in client/with-page-auth-required.tsx:42
Optional
return To
return To?: string
@@ -85,7 +85,7 @@ Optional
Add a path to return the user to after login.
+Defined in client/with-page-auth-required.tsx:32
+Defined in config.ts:323
+Defined in config.ts:192
Optional
client Assertion Signing Key
client Assertion Signing Key?: string
@@ -105,7 +105,7 @@ Optional
AUTH0_CLIENT_ASSERTION_SIGNING_KEY environment variable.
+Defined in config.ts:183
clientID
clientID: string
@@ -113,7 +113,7 @@
+Defined in config.ts:76
Optional
client Secret
client Secret?: string
@@ -122,14 +122,14 @@ Optional
AUTH0_CLIENT_SECRET environment variable.
+Defined in config.ts:83
clock Tolerance
clock Tolerance: number
+Defined in config.ts:90
enable Telemetry
enable Telemetry: boolean
@@ -138,7 +138,7 @@
+Defined in config.ts:104
get Login State
get Login State: ( ( req: IncomingMessage , options: LoginOptions ) => Record < string , any > )
@@ -164,7 +164,7 @@ req: IncomingMessage
options: LoginOptions
Returns Record < string , any >
+Defined in config.ts:123
http Timeout
http Timeout: number
@@ -173,7 +173,7 @@
+Defined in config.ts:97
id Token Signing Alg
id Token Signing Alg: string
@@ -181,7 +181,7 @@
+Defined in config.ts:142
identity Claim Filter
identity Claim Filter: string []
@@ -190,7 +190,7 @@
+Defined in config.ts:130
idp Logout
idp Logout: boolean
@@ -198,7 +198,7 @@
+Defined in config.ts:136
issuer BaseURL
issuer BaseURL: string
@@ -207,7 +207,7 @@
+Defined in config.ts:149
legacy Same Site Cookie
legacy Same Site Cookie: boolean
@@ -216,7 +216,7 @@ legacy Same Site Cookie <
You can also use the AUTH0_LEGACY_SAME_SITE_COOKIE
environment variable.
+Defined in config.ts:156
routes
routes: { Â Â Â Â callback: string ; Â Â Â Â postLogoutRedirect: string ; }
@@ -239,7 +239,7 @@ post Logout Redirect: AUTH0_POST_LOGOUT_REDIRECT environment variable.
+Defined in config.ts:161
secret
secret: string | string []
@@ -250,14 +250,14 @@
+Defined in config.ts:19
+Defined in config.ts:24
+Defined in config.ts:293
Optional
path
path?: string
@@ -67,7 +67,7 @@ Optional
AUTH0_COOKIE_PATH environment variable.
+Defined in config.ts:279
same Site
same Site: "lax" | "strict" | "none"
@@ -76,7 +76,7 @@
+Defined in config.ts:307
Optional
secure
secure?: boolean
@@ -85,7 +85,7 @@ Optional
AUTH0_COOKIE_SECURE environment variable.
+Defined in config.ts:300
transient
transient: boolean
@@ -94,7 +94,7 @@
+Defined in config.ts:286
+Defined in config.ts:342
+Defined in config.ts:347
+Defined in config.ts:221
name
name: string
@@ -95,7 +95,7 @@
+Defined in config.ts:207
rolling
rolling: boolean
@@ -107,7 +107,7 @@
+Defined in config.ts:231
rolling Duration
rolling Duration: number | false
@@ -118,7 +118,7 @@
+Defined in config.ts:240
Optional
store
@@ -126,7 +126,7 @@ Optional
get, set
and destroy
methods to store the session on the server.
+Defined in config.ts:213
storeIDToken
storeIDToken: boolean
@@ -135,7 +135,7 @@
+Defined in config.ts:256
+Defined in handlers/callback.ts:117
Optional
redirect Uri
redirect Uri?: string
@@ -69,7 +69,7 @@
+Defined in handlers/callback.ts:111
+Defined in handlers/login.ts:87
Optional
invitation
invitation?: string
@@ -74,7 +74,7 @@ Optional
https://example.com/api/invite?invitation=invitation_id&organization=org_id.
+Defined in handlers/login.ts:120
Optional
organization
organization?: string
@@ -82,7 +82,7 @@
+Defined in handlers/login.ts:126
Optional
screen_ hint
screen_ hint?: string
@@ -91,7 +91,7 @@ Optional
This only affects the New Universal Login Experience.
+Defined in handlers/login.ts:134
+Defined in handlers/login.ts:153
+Defined in handlers/logout.ts:19
+Defined in index.ts:116
+Defined in session/get-access-token.ts:30
Optional
scopes
scopes?: string []
+Defined in session/get-access-token.ts:21
+Defined in session/get-access-token.ts:76
+Defined in client/use-user.tsx:1
diff --git a/docs/modules/client_with_page_auth_required.html b/docs/modules/client_with_page_auth_required.html
index 2f598a279..27e45bb6f 100644
--- a/docs/modules/client_with_page_auth_required.html
+++ b/docs/modules/client_with_page_auth_required.html
@@ -16,7 +16,7 @@
client/with-page-auth-required
Module client/with-page-auth-required
+Defined in client/with-page-auth-required.tsx:1
diff --git a/docs/modules/config.html b/docs/modules/config.html
index c1d890593..1abe72df3 100644
--- a/docs/modules/config.html
+++ b/docs/modules/config.html
@@ -16,7 +16,7 @@
config
Module config
+Defined in config.ts:1
diff --git a/docs/modules/edge.html b/docs/modules/edge.html
index 05a289299..65ad61b52 100644
--- a/docs/modules/edge.html
+++ b/docs/modules/edge.html
@@ -16,7 +16,7 @@
edge
Module edge
+Defined in edge.ts:1
@@ -29,19 +29,22 @@ References
-Type Aliases
+Type Aliases - Other
+
Functions - Other
-get Session
-
init Auth0
+
References
diff --git a/docs/modules/handlers.html b/docs/modules/handlers.html
index 57fbe1540..ecd21e46f 100644
--- a/docs/modules/handlers.html
+++ b/docs/modules/handlers.html
@@ -16,7 +16,7 @@
handlers
Module handlers
+Defined in handlers/index.ts:1
diff --git a/docs/modules/handlers_auth.html b/docs/modules/handlers_auth.html
index f2ec0ddba..89da8a21a 100644
--- a/docs/modules/handlers_auth.html
+++ b/docs/modules/handlers_auth.html
@@ -16,7 +16,7 @@
handlers/auth
Module handlers/auth
+Defined in handlers/auth.ts:1
diff --git a/docs/modules/handlers_callback.html b/docs/modules/handlers_callback.html
index 7fa9b9af5..3169b6e0a 100644
--- a/docs/modules/handlers_callback.html
+++ b/docs/modules/handlers_callback.html
@@ -16,7 +16,7 @@
handlers/callback
Module handlers/callback
+Defined in handlers/callback.ts:1
diff --git a/docs/modules/handlers_login.html b/docs/modules/handlers_login.html
index 1dbb74ca7..2769fc437 100644
--- a/docs/modules/handlers_login.html
+++ b/docs/modules/handlers_login.html
@@ -16,7 +16,7 @@
handlers/login
Module handlers/login
+Defined in handlers/login.ts:1
diff --git a/docs/modules/handlers_logout.html b/docs/modules/handlers_logout.html
index 276838c3f..f89685a36 100644
--- a/docs/modules/handlers_logout.html
+++ b/docs/modules/handlers_logout.html
@@ -16,7 +16,7 @@
handlers/logout
Module handlers/logout
+Defined in handlers/logout.ts:1
diff --git a/docs/modules/handlers_profile.html b/docs/modules/handlers_profile.html
index 6c96be0e8..9f59758b6 100644
--- a/docs/modules/handlers_profile.html
+++ b/docs/modules/handlers_profile.html
@@ -16,7 +16,7 @@
handlers/profile
Module handlers/profile
+Defined in handlers/profile.ts:1
diff --git a/docs/modules/helpers.html b/docs/modules/helpers.html
index 26aabc00a..027c6b5e8 100644
--- a/docs/modules/helpers.html
+++ b/docs/modules/helpers.html
@@ -16,7 +16,7 @@
helpers
Module helpers
+Defined in helpers/index.ts:1
diff --git a/docs/modules/helpers_testing.html b/docs/modules/helpers_testing.html
index d88fb3cbe..b0e3435bb 100644
--- a/docs/modules/helpers_testing.html
+++ b/docs/modules/helpers_testing.html
@@ -16,7 +16,7 @@
helpers/testing
Module helpers/testing
+Defined in helpers/testing.ts:1
diff --git a/docs/modules/helpers_with_api_auth_required.html b/docs/modules/helpers_with_api_auth_required.html
index aecfb85a1..12663d2e6 100644
--- a/docs/modules/helpers_with_api_auth_required.html
+++ b/docs/modules/helpers_with_api_auth_required.html
@@ -16,7 +16,7 @@
helpers/with-api-auth-required
Module helpers/with-api-auth-required
+Defined in helpers/with-api-auth-required.ts:1
diff --git a/docs/modules/helpers_with_middleware_auth_required.html b/docs/modules/helpers_with_middleware_auth_required.html
index 3050dccf7..23f5b37a2 100644
--- a/docs/modules/helpers_with_middleware_auth_required.html
+++ b/docs/modules/helpers_with_middleware_auth_required.html
@@ -16,7 +16,7 @@
helpers/with-middleware-auth-required
Module helpers/with-middleware-auth-required
+Defined in helpers/with-middleware-auth-required.ts:1
diff --git a/docs/modules/helpers_with_page_auth_required.html b/docs/modules/helpers_with_page_auth_required.html
index 3566d76d2..6510da6e2 100644
--- a/docs/modules/helpers_with_page_auth_required.html
+++ b/docs/modules/helpers_with_page_auth_required.html
@@ -16,7 +16,7 @@
helpers/with-page-auth-required
Module helpers/with-page-auth-required
+Defined in helpers/with-page-auth-required.ts:1
diff --git a/docs/modules/index.html b/docs/modules/index.html
index 946349b4f..512365d6e 100644
--- a/docs/modules/index.html
+++ b/docs/modules/index.html
@@ -16,7 +16,7 @@
index
Module index
+Defined in index.ts:1
diff --git a/docs/modules/session.html b/docs/modules/session.html
index b059ea18f..1a763cda4 100644
--- a/docs/modules/session.html
+++ b/docs/modules/session.html
@@ -16,7 +16,7 @@
session
Module session
+Defined in session/index.ts:1
diff --git a/docs/modules/session_get_access_token.html b/docs/modules/session_get_access_token.html
index dcb567274..ea0f12e6e 100644
--- a/docs/modules/session_get_access_token.html
+++ b/docs/modules/session_get_access_token.html
@@ -16,7 +16,7 @@
session/get-access-token
Module session/get-access-token
+Defined in session/get-access-token.ts:1
diff --git a/docs/modules/session_get_session.html b/docs/modules/session_get_session.html
index 1d20ede70..c94ad1e38 100644
--- a/docs/modules/session_get_session.html
+++ b/docs/modules/session_get_session.html
@@ -16,7 +16,7 @@
session/get-session
Module session/get-session
+Defined in session/get-session.ts:1
diff --git a/docs/modules/session_session.html b/docs/modules/session_session.html
index a709bc668..2adeaf2d0 100644
--- a/docs/modules/session_session.html
+++ b/docs/modules/session_session.html
@@ -16,7 +16,7 @@
session/session
Module session/session
+Defined in session/session.ts:1
diff --git a/docs/modules/session_update_session.html b/docs/modules/session_update_session.html
index b3cc35c7d..53d7db113 100644
--- a/docs/modules/session_update_session.html
+++ b/docs/modules/session_update_session.html
@@ -16,7 +16,7 @@
session/update-session
Module session/update-session
+Defined in session/update-session.ts:1
diff --git a/docs/modules/utils_errors.html b/docs/modules/utils_errors.html
index c665c4b2d..a3f14ecc1 100644
--- a/docs/modules/utils_errors.html
+++ b/docs/modules/utils_errors.html
@@ -16,7 +16,7 @@
utils/errors
Module utils/errors
+Defined in utils/errors.ts:1
diff --git a/docs/modules/version.html b/docs/modules/version.html
index d83626139..2613a50a2 100644
--- a/docs/modules/version.html
+++ b/docs/modules/version.html
@@ -16,7 +16,7 @@
version
Module version
+Defined in version.ts:1
diff --git a/docs/types/client_use_user.UserContext.html b/docs/types/client_use_user.UserContext.html
index d79217398..3c0816565 100644
--- a/docs/types/client_use_user.UserContext.html
+++ b/docs/types/client_use_user.UserContext.html
@@ -37,8 +37,8 @@
The expiration of the access token.