From bcfd2199b616ca50c20c2701acbd6e7e2e06f92b Mon Sep 17 00:00:00 2001
From: Frederik Prijck
Date: Wed, 14 Jun 2023 23:52:59 +0200
Subject: [PATCH] Release v2.1.1 (#544)
---
CHANGELOG.md | 6 ++
docs/classes/OAuthError.html | 8 +-
docs/classes/User.html | 42 +++++-----
docs/functions/Auth0Provider.html | 2 +-
docs/functions/useAuth0.html | 2 +-
docs/functions/withAuth0.html | 2 +-
.../functions/withAuthenticationRequired.html | 2 +-
docs/interfaces/Auth0ContextInterface.html | 24 +++---
docs/interfaces/Auth0ProviderOptions.html | 10 +--
docs/interfaces/GetTokenSilentlyOptions.html | 10 +--
docs/interfaces/GetTokenWithPopupOptions.html | 4 +-
docs/interfaces/IdToken.html | 76 +++++++++----------
docs/interfaces/LogoutOptions.html | 15 ++--
docs/interfaces/LogoutUrlOptions.html | 6 +-
docs/interfaces/PopupConfigOptions.html | 6 +-
docs/interfaces/PopupLoginOptions.html | 2 +-
docs/interfaces/RedirectLoginOptions.html | 15 ++--
docs/interfaces/WithAuth0Props.html | 4 +-
.../WithAuthenticationRequiredOptions.html | 12 +--
docs/types/AppState.html | 2 +-
docs/variables/Auth0Context.html | 2 +-
package-lock.json | 4 +-
package.json | 2 +-
23 files changed, 135 insertions(+), 123 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21d52462..fc87d482 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## [v2.1.1](https://github.com/auth0/auth0-react/tree/v2.1.1) (2023-06-14)
+[Full Changelog](https://github.com/auth0/auth0-react/compare/v2.1.0...v2.1.1)
+
+**Changed**
+- bump SPA-JS to the latest version [\#543](https://github.com/auth0/auth0-react/pull/543) ([frederikprijck](https://github.com/frederikprijck))
+
## [v2.1.0](https://github.com/auth0/auth0-react/tree/v2.1.0) (2023-05-05)
[Full Changelog](https://github.com/auth0/auth0-react/compare/v2.0.2...v2.1.0)
diff --git a/docs/classes/OAuthError.html b/docs/classes/OAuthError.html
index 8ad2496d..e0d4a1a3 100644
--- a/docs/classes/OAuthError.html
+++ b/docs/classes/OAuthError.html
@@ -27,7 +27,7 @@ Hierarchy
+Defined in src/errors.tsx:7
@@ -68,19 +68,19 @@ Optional
error_description: Returns OAuthError
+Defined in src/errors.tsx:8
Optional
error_description
error_description?: string
+Defined in src/errors.tsx:8
message
message: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:542
@@ -70,102 +70,102 @@ Properties
Optional
address
address?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:560
Optional
birthdate
birthdate?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:555
Optional
email
email?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:552
Optional
email_verified
email_verified?: boolean
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:553
Optional
family_name
family_name?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:545
Optional
gender
gender?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:554
Optional
given_name
given_name?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:544
Optional
locale
locale?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:557
Optional
middle_name
middle_name?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:546
Optional
name
name?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:543
Optional
nickname
nickname?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:547
Optional
phone_number
phone_number?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:558
Optional
phone_number_verified
phone_number_verified?: boolean
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:559
Optional
picture
picture?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:550
Optional
preferred_username
preferred_username?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:548
Optional
profile
profile?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:549
Optional
sub
sub?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:562
Optional
updated_at
updated_at?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:561
Optional
website
website?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:551
Optional
zoneinfo
zoneinfo?: string
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:556
+Defined in src/auth0-provider.tsx:135
+Defined in src/use-auth0.tsx:27
+Defined in src/with-auth0.tsx:29
+Defined in src/with-authentication-required.tsx:97
Returns Promise<string | GetTokenSilentlyVerboseResponse>
+Defined in src/auth0-context.tsx:52
getAccessTokenWithPopup
@@ -170,7 +170,7 @@
Returns Promise<undefined | string>
+Defined in src/auth0-context.tsx:74
getIdTokenClaims
get
Id
Token
Claims
: (() => Promise<undefined | IdToken>)
@@ -187,7 +187,7 @@ Type declaration
Returns Promise<undefined | IdToken>
+Defined in src/auth0-context.tsx:86
handleRedirectCallback
handleRedirectCallback: ((url?: string) => Promise<RedirectLoginResult<any>>)
@@ -212,19 +212,19 @@ Optional
url: Returns Promise<RedirectLoginResult<any>>
+Defined in src/auth0-context.tsx:140
isAuthenticated
isAuthenticated: boolean
+Defined in src/auth-state.tsx:8
isLoading
isLoading: boolean
+Defined in src/auth-state.tsx:9
loginWithPopup
@@ -254,7 +254,7 @@
Returns Promise<void>
+Defined in src/auth0-context.tsx:115
loginWithRedirect
@@ -278,7 +278,7 @@ Parameters
Returns Promise<void>
+Defined in src/auth0-context.tsx:97
logout
@@ -303,13 +303,13 @@ Parameters
Returns void
+Defined in src/auth0-context.tsx:130
Optional
user
user?: TUser
+Defined in src/auth-state.tsx:10
+Defined in src/auth0-provider.tsx:86
Optional
cookieDomain
cookieDomain?: string
@@ -250,7 +250,7 @@
Returns void
+Defined in src/auth0-provider.tsx:54
Optional
sessionCheckExpiryDays
sessionCheckExpiryDays?: number
@@ -270,7 +270,7 @@
+Defined in src/auth0-provider.tsx:68
Optional
useCookiesForTransactions
useCookiesForTransactions?: boolean
diff --git a/docs/interfaces/GetTokenSilentlyOptions.html b/docs/interfaces/GetTokenSilentlyOptions.html
index c5d2179c..2311e279 100644
--- a/docs/interfaces/GetTokenSilentlyOptions.html
+++ b/docs/interfaces/GetTokenSilentlyOptions.html
@@ -20,7 +20,7 @@ Hierarchy
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:312
@@ -63,7 +63,7 @@ Optional
scopeThe scope that was used in the authentication request
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:323
Optional
cacheMode
cacheMode?: "on" | "off" | "cache-only"
@@ -73,7 +73,7 @@ Optional
on, where it both reads from the cache and sends a request to Auth0 as needed.
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:319
Optional
detailedResponse
detailedResponse?: boolean
@@ -82,7 +82,7 @@ Optional
The default is false
.
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:357
Optional
timeoutInSeconds
timeoutInSeconds?: number
@@ -90,7 +90,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:350
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:365
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:443
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:382
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:304
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:289
+Defined in src/with-authentication-required.tsx:80
Optional
onBeforeAuthentication
onBeforeAuthentication?: (() => Promise<void>)
@@ -74,7 +74,7 @@ Type declaration
Returns Promise<void>
+Defined in src/with-authentication-required.tsx:65
Optional
onRedirecting
onRedirecting?: (() => Element)
@@ -91,7 +91,7 @@ Type declaration
Returns Element
+Defined in src/with-authentication-required.tsx:55
Optional
returnTo
returnTo?: string | (() => string)
@@ -103,7 +103,7 @@ Optional
Add a path for the onRedirectCallback
handler to return the user to after login.
+Defined in src/with-authentication-required.tsx:45
+Defined in src/auth0-provider.tsx:36
Used to control the redirect and not rely on the SDK to do the actual redirect.
Set to
-false
to disable the redirect, or provide a function to handle the actual redirect yourself.Example