From c89fbb7b2ebd6069c83b6ce754a42baf81bfa6c3 Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Wed, 19 Jul 2023 07:54:12 +0200 Subject: [PATCH] Release v2.1.1 (#1118) --- CHANGELOG.md | 6 ++ docs/classes/Auth0Client.html | 26 +++---- docs/classes/AuthenticationError.html | 14 ++-- docs/classes/CacheKey.html | 20 ++--- docs/classes/GenericError.html | 10 +-- docs/classes/InMemoryCache.html | 4 +- docs/classes/LocalStorageCache.html | 10 +-- docs/classes/MfaRequiredError.html | 12 +-- docs/classes/MissingRefreshTokenError.html | 14 ++-- docs/classes/PopupCancelledError.html | 12 +-- docs/classes/PopupTimeoutError.html | 12 +-- docs/classes/TimeoutError.html | 10 +-- docs/classes/User.html | 42 +++++----- docs/functions/createAuth0Client.html | 2 +- docs/index.html | 2 +- docs/interfaces/Auth0ClientOptions.html | 38 ++++----- docs/interfaces/AuthorizationParams.html | 30 +++---- docs/interfaces/DecodedToken.html | 6 +- docs/interfaces/GetTokenSilentlyOptions.html | 10 +-- docs/interfaces/GetTokenWithPopupOptions.html | 6 +- docs/interfaces/ICache.html | 10 +-- docs/interfaces/IdToken.html | 78 +++++++++---------- docs/interfaces/LogoutOptions.html | 10 +-- docs/interfaces/LogoutUrlOptions.html | 6 +- docs/interfaces/PopupConfigOptions.html | 6 +- docs/interfaces/PopupLoginOptions.html | 4 +- docs/interfaces/RedirectLoginOptions.html | 12 +-- docs/interfaces/RedirectLoginResult.html | 4 +- docs/types/CacheEntry.html | 2 +- docs/types/CacheKeyData.html | 2 +- docs/types/CacheLocation.html | 2 +- docs/types/Cacheable.html | 2 +- .../GetTokenSilentlyVerboseResponse.html | 2 +- docs/types/KeyManifestEntry.html | 2 +- docs/types/MaybePromise.html | 2 +- docs/types/TokenEndpointResponse.html | 2 +- docs/types/WrappedCacheEntry.html | 2 +- package-lock.json | 4 +- package.json | 2 +- src/version.ts | 2 +- 40 files changed, 224 insertions(+), 218 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f4ed0c81..5621fd78f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v2.1.1](https://github.com/auth0/auth0-spa-js/tree/v2.1.1) (2023-07-18) +[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v2.1.0...v2.1.1) + +**Changed** +- Do not lowercase org_name claim [\#1117](https://github.com/auth0/auth0-spa-js/pull/1117) ([frederikprijck](https://github.com/frederikprijck)) + ## [v2.1.0](https://github.com/auth0/auth0-spa-js/tree/v2.1.0) (2023-07-13) [Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v2.0.8...v2.1.0) diff --git a/docs/classes/Auth0Client.html b/docs/classes/Auth0Client.html index 540c3d4f6..ed349937a 100644 --- a/docs/classes/Auth0Client.html +++ b/docs/classes/Auth0Client.html @@ -23,7 +23,7 @@

Hierarchy

+
  • Defined in Auth0Client.ts:114
  • @@ -60,7 +60,7 @@

    Parameters

    options: Auth0ClientOptions

    Returns Auth0Client

    +
  • Defined in Auth0Client.ts:141
  • Methods

    @@ -92,7 +92,7 @@

    Parameters

    Optional options: GetTokenSilentlyOptions

    Returns Promise<void>

    +
  • Defined in Auth0Client.ts:565
  • +
  • Defined in Auth0Client.ts:429
  • Returns Promise<GetTokenSilentlyVerboseResponse>

    +
  • Defined in Auth0Client.ts:590
  • Fetches a new access token and returns it.

    @@ -131,7 +131,7 @@

    Parameters

    Optional options: GetTokenSilentlyOptions
  • Returns Promise<string>

    +
  • Defined in Auth0Client.ts:599
  • Returns Promise<undefined | string>

    +
  • Defined in Auth0Client.ts:744
  • Returns Promise<undefined | TUser>

    +
  • Defined in Auth0Client.ts:416
  • Returns Promise<RedirectLoginResult<TAppState>>

    +
  • Defined in Auth0Client.ts:481
  • +
  • Defined in Auth0Client.ts:784
  • Returns Promise<void>

    +
  • Defined in Auth0Client.ts:349
  • Returns Promise<void>

    +
  • Defined in Auth0Client.ts:446
  • Returns Promise<void>

    +
  • Defined in Auth0Client.ts:829
  • Returns string

    +
  • Defined in cache/shared.ts:31
  • Returns CacheKey

    +
  • Defined in cache/shared.ts:53
  • Returns CacheKey

    +
  • Defined in cache/shared.ts:42
  • +
  • Defined in errors.ts:10
  • Returns void

    +
  • Defined in cache/cache-localstorage.ts:22
  • +
  • Defined in cache/cache-localstorage.ts:4
  • +
  • Defined in errors.ts:10
  • +
  • Defined in errors.ts:10
  • +
  • Defined in errors.ts:5
  • error_description: string
    +
  • Defined in errors.ts:5
  • popup: Window
    +
  • Defined in errors.ts:62
  • Methods

    @@ -100,7 +100,7 @@
    error_description: Returns GenericError
    +
  • Defined in errors.ts:10
  • +
  • Defined in errors.ts:5
  • error_description: string
    +
  • Defined in errors.ts:5
  • popup: Window
    +
  • Defined in errors.ts:54
  • Methods

    @@ -100,7 +100,7 @@
    error_description: Returns GenericError
    +
  • Defined in errors.ts:10
  • +
  • Defined in errors.ts:10
  • +
  • Defined in global.ts:189
  • cache?: ICache

    Specify a custom cache implementation to use for token storage and retrieval. This setting takes precedence over cacheLocation if they are both specified.

    +
  • Defined in global.ts:153
  • cacheLocation?: CacheLocation
    @@ -102,14 +102,14 @@
    +
  • Defined in global.ts:148
  • clientId: string

    The Client ID found on your Application settings page

    +
  • Defined in global.ts:134
  • cookieDomain?: string
    @@ -121,7 +121,7 @@
    +
  • Defined in global.ts:246
  • domain: string
    @@ -130,21 +130,21 @@
    +
  • Defined in global.ts:126
  • httpTimeoutInSeconds?: number

    Specify the timeout for HTTP calls using fetch. The default is 10 seconds.

    +
  • Defined in global.ts:194
  • issuer?: string

    The issuer to be used for validation of JWTs, optionally defaults to the domain above

    +
  • Defined in global.ts:130
  • leeway?: number
    @@ -153,7 +153,7 @@
    +
  • Defined in global.ts:140
  • legacySameSiteCookie?: boolean
    @@ -165,7 +165,7 @@
    +
  • Defined in global.ts:214
  • nowProvider?: (() => number | Promise<number>)
    @@ -181,7 +181,7 @@

    Type declaration

    Returns number | Promise<number>

    +
  • Defined in global.ts:261
  • sessionCheckExpiryDays?: number
    @@ -189,7 +189,7 @@
    +
  • Defined in global.ts:233
  • useCookiesForTransactions?: boolean
    @@ -201,7 +201,7 @@

    Notes

    You might want to enable this if you rely on your users being a may end up spanning across multiple tabs (e.g. magic links) or you cannot otherwise rely on session storage being available.

    +
  • Defined in global.ts:227
  • useFormData?: boolean
    @@ -210,7 +210,7 @@
    +
  • Defined in global.ts:254
  • useRefreshTokens?: boolean
    @@ -219,7 +219,7 @@
    +
  • Defined in global.ts:161
  • useRefreshTokensFallback?: boolean
    @@ -234,7 +234,7 @@

    Example

    let
    +
  • Defined in global.ts:183
  • +
  • Defined in global.ts:10
  • id_token_hint?: string

    Previously issued ID Token.

    +
  • Defined in global.ts:36
  • invitation?: string

    The Id of an invitation to accept. This is available from the user invitation URL that is given when participating in a user invitation flow.

    +
  • Defined in global.ts:94
  • login_hint?: string
    @@ -104,7 +104,7 @@
    +
  • Defined in global.ts:54
  • max_age?: string | number
    @@ -113,7 +113,7 @@
    +
  • Defined in global.ts:25
  • organization?: string
    @@ -125,7 +125,7 @@
    +
  • Defined in global.ts:89
  • prompt?: "none" | "login" | "consent" | "select_account"
    @@ -137,7 +137,7 @@
    +
  • Defined in global.ts:18
  • redirect_uri?: string
    @@ -148,7 +148,7 @@
    +
  • Defined in global.ts:103
  • scope?: string
    @@ -158,7 +158,7 @@
    +
  • Defined in global.ts:66
  • screen_hint?: string
    @@ -168,7 +168,7 @@
    +
  • Defined in global.ts:45
  • ui_locales?: string
    @@ -176,7 +176,7 @@
    +
  • Defined in global.ts:31
  • +
  • Defined in global.ts:364
  • cacheMode?: "on" | "off" | "cache-only"
    @@ -73,7 +73,7 @@
    +
  • Defined in global.ts:359
  • detailedResponse?: boolean
    @@ -82,7 +82,7 @@
    +
  • Defined in global.ts:403
  • timeoutInSeconds?: number
    @@ -90,7 +90,7 @@
    +
  • Defined in global.ts:395
  • +
  • Defined in global.ts:412
  • Returns MaybePromise<void>

    +
  • Defined in cache/shared.ts:102
  • Returns MaybePromise<void>

    +
  • Defined in cache/shared.ts:100
  • Returns Promise<void>

    +
  • Defined in global.ts:472
  • openUrl?: false | ((url: string) => void | Promise<void>)
    @@ -118,7 +118,7 @@

    Example

    import<
     
    +
  • Defined in global.ts:495
  • +
  • Defined in global.ts:431
  • +
  • Defined in global.ts:342
  • Returns Promise<void>

    +
  • Defined in global.ts:304
  • openUrl?: ((url: string) => void | Promise<void>)
    @@ -116,7 +116,7 @@

    Parameters

    url: string

    Returns void | Promise<void>

    +
  • Defined in global.ts:325
  • +
  • Defined in global.ts:332
  • +
  • Defined in cache/shared.ts:74
  • +
  • Defined in cache/shared.ts:6
  • +
  • Defined in global.ts:267
  • +
  • Defined in cache/shared.ts:95
  • +
  • Defined in global.ts:638
  • +
  • Defined in cache/shared.ts:91
  • +
  • Defined in global.ts:521
  • +
  • Defined in cache/shared.ts:86