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
  • Properties

    error: string
    +
  • Defined in src/errors.tsx:8
  • error_description?: string
    +
  • Defined in src/errors.tsx:8
  • message: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:542
  • @@ -70,102 +70,102 @@

    Properties

    address?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:560
  • birthdate?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:555
  • email?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:552
  • email_verified?: boolean
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:553
  • family_name?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:545
  • gender?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:554
  • given_name?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:544
  • locale?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:557
  • middle_name?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:546
  • name?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:543
  • nickname?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:547
  • phone_number?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:558
  • phone_number_verified?: boolean
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:559
  • picture?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:550
  • preferred_username?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:548
  • profile?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:549
  • sub?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:562
  • updated_at?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:561
  • website?: string
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:551
  • 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: ((options?: GetTokenWithPopupOptions, config?: PopupConfigOptions) => Promise<undefined | string>)
    @@ -170,7 +170,7 @@
    Optional options: Optional config: PopupConfigOptions

    Returns Promise<undefined | string>

    +
  • Defined in src/auth0-context.tsx:74
  • getIdTokenClaims: (() => Promise<undefined | IdToken>)
    @@ -187,7 +187,7 @@

    Type declaration

    Returns Promise<undefined | IdToken>

    +
  • Defined in src/auth0-context.tsx:86
  • handleRedirectCallback: ((url?: string) => Promise<RedirectLoginResult<any>>)
    @@ -212,19 +212,19 @@
    Optional url: Returns Promise<RedirectLoginResult<any>>
    +
  • Defined in src/auth0-context.tsx:140
  • isAuthenticated: boolean
    +
  • Defined in src/auth-state.tsx:8
  • isLoading: boolean
    +
  • Defined in src/auth-state.tsx:9
  • loginWithPopup: ((options?: PopupLoginOptions, config?: PopupConfigOptions) => Promise<void>)
    @@ -254,7 +254,7 @@
    Optional options: Optional config: PopupConfigOptions

    Returns Promise<void>

    +
  • Defined in src/auth0-context.tsx:115
  • loginWithRedirect: ((options?: RedirectLoginOptions<AppState>) => Promise<void>)
    @@ -278,7 +278,7 @@

    Parameters

    Optional options: RedirectLoginOptions<AppState>

    Returns Promise<void>

    +
  • Defined in src/auth0-context.tsx:97
  • logout: ((options?: LogoutOptions) => void)
    @@ -303,13 +303,13 @@

    Parameters

    Optional options: LogoutOptions

    Returns void

    +
  • Defined in src/auth0-context.tsx:130
  • user?: TUser
    +
  • Defined in src/auth-state.tsx:10
  • +
  • Defined in src/auth0-provider.tsx:86
  • cookieDomain?: string
    @@ -250,7 +250,7 @@
    Optional appState: Optional user: User

    Returns void

    +
  • Defined in src/auth0-provider.tsx:54
  • sessionCheckExpiryDays?: number
    @@ -270,7 +270,7 @@
    +
  • Defined in src/auth0-provider.tsx:68
  • 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 scope

    The scope that was used in the authentication request

    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:323
  • cacheMode?: "on" | "off" | "cache-only"
    @@ -73,7 +73,7 @@
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:319
  • detailedResponse?: boolean
    @@ -82,7 +82,7 @@
    +
  • Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:357
  • timeoutInSeconds?: number
    @@ -90,7 +90,7 @@
    +
  • 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
  • onBeforeAuthentication?: (() => Promise<void>)
    @@ -74,7 +74,7 @@

    Type declaration

    Returns Promise<void>

    +
  • Defined in src/with-authentication-required.tsx:65
  • onRedirecting?: (() => Element)
    @@ -91,7 +91,7 @@

    Type declaration

    Returns Element

    +
  • Defined in src/with-authentication-required.tsx:55
  • returnTo?: string | (() => string)
    @@ -103,7 +103,7 @@
    +
  • Defined in src/with-authentication-required.tsx:45
  • +
  • Defined in src/auth0-provider.tsx:36
  • +
  • Defined in src/auth0-context.tsx:169