diff --git a/.version b/.version index d1a7a5c1..c444c795 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v2.18.0 \ No newline at end of file +v2.19.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fed1646b..2f181468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v2.19.0](https://github.com/auth0/auth0-react/tree/v2.19.0) (2026-06-18) +[Full Changelog](https://github.com/auth0/auth0-react/compare/v2.18.0...v2.19.0) + +**Added** +- feat: add MyAccount API client support [\#1121](https://github.com/auth0/auth0-react/pull/1121) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + ## [v2.18.0](https://github.com/auth0/auth0-react/tree/v2.18.0) (2026-06-10) [Full Changelog](https://github.com/auth0/auth0-react/compare/v2.17.0...v2.18.0) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index 9b0f20fe..b4e2bca4 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyVlF1v0zAUhv+Lrz1W/BEnuUMdIKTC0BhwMe3Cck8ba64dbPcCTf3vqKnY3KSd3atIyXvynPd8PSPvXAyofeCcYko5JrR+xMjDyoCK2tmA2mdEaL1/WLkB1KLvrt/2C7fW9rY/SDB60naJWsIrjLbeoBZpG8GvpIJwPdG/6+LGIIyUkSGgFsWwvNr/4OolaP+x02bpwaL2gTD2uMOIMJZk8RnivXsC+1vHbiCUJXMurCCnHUaU8iSFL3OpOsgAD6JLLVM+WKY8tbxwSpof0Xm5hmP0e1L/Rw8ECNcT8dkUDi/2NEES2r3egNvGj947/xYo1WUYRxYZawaLTVrSryt5B3+22sMyCx5r8wYZYeM5nkurwJgC3Al5AZE1Y2JpXSfiApqY+LvtwZahXpQFnEYknA/b2IGNWsn9JmVhJ+R5IidVOiU6BG3Xd7DyELphn/PTciamgM3p0d2x4LXK8lLdJWtBBcG04ZgRhplgmDUCc1JhLmpcEYIrMawNF+lJ/hngpnf9N2cVZDObiPMlqEh6GebOWlD5CU51BQzRHB+CkgNwcXnFjGFBGiw4w0I0uJ4Nh1bM2DF8oUNMJtX5UJLOmai8eUHG5q13xmzA5ss8VRfw+MjvvJPGgF3nx2ciLqCNW/sLvF79LUElyjynHnfxtS6fpCpt4umgHH23+wdsmhVr" \ No newline at end of file +window.hierarchyData = "eJyVlMtu2zAQRf+Fa6aRKD4k7Qr3gQJuU6RpuwiyIOSxRYQmVZJeFIH/vbCMprRkl/RKgHRHZ+68XpCzNnjUPjLGcFUJTGjxhJGDtYYuKGs8al8QocXhYeQWUIu+2mE3LO1GmbvhKMHoWZkVagnjGO2cRi1SJoBbyw787Uz/pg9bjTDqtPQetSj41c3hBzevQYePvdIrBwa1j4Typz1GhPIoi48QHuwzmJ8q9CMhL5lLYRk57TGqKhGl8Gkhux4SwKPoWssVGy1XLLa8tJ3U34J1cgOn6JLUf9EjAfztTHwxheOLA03QiPagtmB34b1z1v0PFOsSjBOLlJWjxSYu6ee1vIdfO+VglQRPtWmDlPDpHC+k6UDrDNwZeQaRlVNibl1n4gyamPm7G8DkoV6VGZymiThvd6EHE1QnD5uUhJ2Rp4mM1PGUKO+V2dzD2oHvx31OT8uFmAw2Yyd3x4BTXZIX665Zi0pQXDUCU8IxFRzTpsGM1JjVBeaEYl6Pa8Pq+CR/9/BusMMXazpIZjYTp0vASXwZFtYY6NITHOsyGHV5eghyDsDV5RUFx6IqsWAci7rEdTEeWlHwU/hS+RBNqnU+J50LUWnzopqaN85qvQWTLvNcncFjE7+LXmoNZpMen5k4gzZt7Q9wav07BxUp05x62sV/dfkgu9wmng9K0ff7PxbsFU8=" \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 687521e4..1d7003dc 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJytmdty3CgQht9F187GcQ6b+M41cRJX2eupGTt7sZULgnokygi0gLyepPLuKZ1GIA4aw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C64lCIEsWhxsq8jBsLopEddV4d26FnpQtS8Dd8YKwRZquioPtICcCsBqu8oZnEwIHR6RNYnHRLmHoC3usc6TAvA3dgCp53t6BgHS/NYuj4lbZX4gEDiddEIdoU3JXhW8Fr90QUxLavFE5bcJ4cRR6RIujgg1BXe8VUtpxoI51W5sP/5+Nvfz5xw8fr+a9ylbwZ5KDsGY5eDk0r/JtV9ink3MIlvr1LHfm8bECCcjJmr/jLsJc4/SN+PmidzN/JvFT7Z9MXkPuign0F7VQp0Cid3vNbzY/mv8YTGAY+XbMhDuQDVUWMqBNngHkg6+HeoovvX3rRipe9Rd4L7hErADPW+5Xxq9m6tlOfbCH7le+Kd3u1b14T8MexV/GviWtP+MWN9qQpXLnR64Oc562ryB8BoVLEH3WnSOMYDyju0tDWJHn/srxV8Ryqt8f9jSPLJ67OaC+m3UlaCMYzxgqdHfl15MckmTenhTM0eUaQEMTT+yzFstrTvwfm1OUdsqON7ET6hkJ0p5z5k2tSfneW4pMPoeG4W5TzOrDNPr0g2bUyK6cvnR5jLHA8H/GmtU1/hQ8w8AuSkOOttpC/Pk//DHG5A==" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 2818b70b..f251ad82 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1ml2PmzgUhv+L55ZO448kk9x1Z7tSpWpbtdXuRTSqKDgTNAxmgUxbjea/r2y+jvEJNQm9i4LP6xf7OccY/EwK9b0k290zeUiymGwpuwlIFj5KsiUf3hyrw9uiUAUJyLFIyZZEaViWsnzdX7o+VI8pCdorZEvIS9CqLSnr1CKVlVVxjKpfy13ZbYF0QPKwkFllu+s7pAsmuh6lj/WrttVFvXyNZRkVSV4lKvPrcRAxoXe2XHWd6+uLW5VV8kf1LqtksQ8j2RlI2n/K12jD0bmzbjJSWSaj6k0UqWNW/ZtUh08yTgoZVdM6u2qEwlroe1Idil4IHwT8Hk8ZLWRYyb9kFR1kMdWbid13sXPYOZaV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oWNlxg8aulnLZRNgTxtmXgJ/9RYC5suYdIlFC8C5VrYdAmTLqGAEfgjoo2XMPESChiBci1svISJl1DECLRyCpsvYfLlK2IECrZv89X8pbcSj7KoZPSh3lLsdiTI87J+e/JMvjc7Db5qdzbPhK/J9vnlpd9ZbJ9fwOZCXVN9Ne9hgcYCaFB3je5dZi8leC8llpOlutdVhiaQdFfMu/0sUIJSq+la3XtRIAnGTrDpkvrbp363gYlTIM7PFNcvMDBxBsTdBnbsNFgv7Pe6/hRZ8H4OsLkGbG5qAeEs259K7BXBmLqxjmDOwdhxt4kZnFbrtZa9lFvCoJ/Kez1QENwQb06J9Qrg5lgd41ZYkIOSYMjAiLmpmafEeiVAxMZJCTnc1attAA4LRzn8PBZADBQF6gbZySNUQBWS61Zq7MNPQA5MM3WbEvPoEpACk0vdSol96AjIgTJN3XL91EEhIArKEnVLNOuMD1ADWUvd0gwcygE6IFupW5aZX+hAgsEMc5uE8dM3wCVIOeqWc8OTM0AMZBxzyzjkyAuoViDZmFuytcdWgAjILeaWW7UIMhEMzClzm1N9kgUowArslprgKArQAUgwNyQyjfxwRQBD7DZjp77LAlxBknO3JB98PAVaILe5W253p2bAaAFHzM1R6+dUTjKQOMwtcQZfDsFNgrwRbrPQfxoEMqBy8VXzQOWWNuWJ8s/A8DO34T+W0tqGCCAj3PKmPu4DnICbY25lWZUV2wrQEW7z1unk9SEbYApMHHebuFasT52i+0gFXIJC418qjK0ooChyh6J465E8zmUSp5Jsd7cvL/8Dyv+Iwg=="; \ No newline at end of file diff --git a/docs/classes/AuthenticationError.html b/docs/classes/AuthenticationError.html index 1c604a21..6fd73e24 100644 --- a/docs/classes/AuthenticationError.html +++ b/docs/classes/AuthenticationError.html @@ -1,6 +1,6 @@ AuthenticationError | @auth0/auth0-react
@auth0/auth0-react
    Preparing search index...

    Class AuthenticationError

    Thrown when handling the redirect callback fails, will be one of Auth0's Authentication API's Standard Error Responses: https://auth0.com/docs/api/authentication?javascript#standard-error-responses

    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    appState error error_description diff --git a/docs/classes/ConnectError.html b/docs/classes/ConnectError.html index 50185bb2..2a8760b8 100644 --- a/docs/classes/ConnectError.html +++ b/docs/classes/ConnectError.html @@ -1,6 +1,6 @@ ConnectError | @auth0/auth0-react
    @auth0/auth0-react
      Preparing search index...

      Class ConnectError

      Thrown when handling the redirect callback for the connect flow fails, will be one of Auth0's Authentication API's Standard Error Responses: https://auth0.com/docs/api/authentication?javascript#standard-error-responses

      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      appState connection error diff --git a/docs/classes/GenericError.html b/docs/classes/GenericError.html index d47d063e..a064d756 100644 --- a/docs/classes/GenericError.html +++ b/docs/classes/GenericError.html @@ -1,5 +1,5 @@ GenericError | @auth0/auth0-react
      @auth0/auth0-react
        Preparing search index...

        Class GenericError

        Thrown when network requests to the Auth server fail.

        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaChallengeError.html b/docs/classes/MfaChallengeError.html index 26b4395a..9a19ab2c 100644 --- a/docs/classes/MfaChallengeError.html +++ b/docs/classes/MfaChallengeError.html @@ -2,7 +2,7 @@
        try {
        const challenge = await mfa.challenge({
        mfaToken: mfaToken,
        challengeType: 'otp',
        authenticatorId: 'otp|dev_123'
        });
        } catch (error) {
        if (error instanceof MfaChallengeError) {
        console.log(error.error); // 'too_many_attempts'
        console.log(error.error_description); // 'Rate limit exceeded'
        }
        }
        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaEnrollmentError.html b/docs/classes/MfaEnrollmentError.html index 16f8cbd8..8f00a723 100644 --- a/docs/classes/MfaEnrollmentError.html +++ b/docs/classes/MfaEnrollmentError.html @@ -2,7 +2,7 @@
        try {
        const enrollment = await mfa.enroll({
        authenticator_types: ['otp']
        });
        } catch (error) {
        if (error instanceof MfaEnrollmentError) {
        console.log(error.error); // 'invalid_phone_number'
        console.log(error.error_description); // 'Invalid phone number format'
        }
        }
        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaEnrollmentFactorsError.html b/docs/classes/MfaEnrollmentFactorsError.html index 791b5917..0722007a 100644 --- a/docs/classes/MfaEnrollmentFactorsError.html +++ b/docs/classes/MfaEnrollmentFactorsError.html @@ -2,7 +2,7 @@
        try {
        const factors = await mfa.getEnrollmentFactors(mfaToken);
        } catch (error) {
        if (error instanceof MfaEnrollmentFactorsError) {
        console.log(error.error); // 'mfa_context_not_found'
        console.log(error.error_description); // 'MFA context not found...'
        }
        }
        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaError.html b/docs/classes/MfaError.html index d19c8e05..df33de5c 100644 --- a/docs/classes/MfaError.html +++ b/docs/classes/MfaError.html @@ -1,6 +1,6 @@ MfaError | @auth0/auth0-react
        @auth0/auth0-react
          Preparing search index...

          Class MfaError

          Base class for MFA-related errors in auth0-spa-js. Extends GenericError for unified error hierarchy across the SDK.

          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          error error_description message diff --git a/docs/classes/MfaListAuthenticatorsError.html b/docs/classes/MfaListAuthenticatorsError.html index d7dafd8b..991a8e49 100644 --- a/docs/classes/MfaListAuthenticatorsError.html +++ b/docs/classes/MfaListAuthenticatorsError.html @@ -2,7 +2,7 @@
          try {
          const authenticators = await mfa.getAuthenticators();
          } catch (error) {
          if (error instanceof MfaListAuthenticatorsError) {
          console.log(error.error); // 'access_denied'
          console.log(error.error_description); // 'Unauthorized'
          }
          }
          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          error error_description message diff --git a/docs/classes/MfaRequiredError.html b/docs/classes/MfaRequiredError.html index 5a26aa85..d2b8a596 100644 --- a/docs/classes/MfaRequiredError.html +++ b/docs/classes/MfaRequiredError.html @@ -1,5 +1,5 @@ MfaRequiredError | @auth0/auth0-react
          @auth0/auth0-react
            Preparing search index...

            Class MfaRequiredError

            Error thrown when the token exchange results in a mfa_required error

            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Properties

            error error_description message diff --git a/docs/classes/MfaVerifyError.html b/docs/classes/MfaVerifyError.html index 24bf614d..da76fc50 100644 --- a/docs/classes/MfaVerifyError.html +++ b/docs/classes/MfaVerifyError.html @@ -2,7 +2,7 @@
            try {
            const tokens = await mfa.verify({
            mfaToken: mfaToken,
            grant_type: 'http://auth0.com/oauth/grant-type/mfa-otp',
            otp: '123456'
            });
            } catch (error) {
            if (error instanceof MfaVerifyError) {
            console.log(error.error); // 'invalid_otp' or 'context_not_found'
            console.log(error.error_description); // Error details
            }
            }
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Properties

            error error_description message diff --git a/docs/classes/MissingRefreshTokenError.html b/docs/classes/MissingRefreshTokenError.html index f294d13d..3b059359 100644 --- a/docs/classes/MissingRefreshTokenError.html +++ b/docs/classes/MissingRefreshTokenError.html @@ -1,5 +1,5 @@ MissingRefreshTokenError | @auth0/auth0-react
            @auth0/auth0-react
              Preparing search index...

              Class MissingRefreshTokenError

              Error thrown when there is no refresh token to use

              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              audience error error_description diff --git a/docs/classes/MyAccountApiError.html b/docs/classes/MyAccountApiError.html new file mode 100644 index 00000000..7303c6af --- /dev/null +++ b/docs/classes/MyAccountApiError.html @@ -0,0 +1,46 @@ +MyAccountApiError | @auth0/auth0-react
              @auth0/auth0-react
                Preparing search index...

                Class MyAccountApiError

                Error thrown when the MyAccount API returns a non-2xx response.

                +
                try {
                await myAccount.getAuthenticationMethods();
                } catch (err) {
                if (err instanceof MyAccountApiError) {
                console.error(err.status, err.title, err.detail);
                }
                } +
                + +

                Hierarchy

                • Error
                  • MyAccountApiError
                Index

                Constructors

                • Parameters

                  • __namedParameters: ErrorResponse

                  Returns MyAccountApiError

                Properties

                detail: string

                Human-readable explanation specific to this occurrence

                +
                message: string
                name: string
                stack?: string
                status: number

                HTTP status code

                +
                title: string

                Short human-readable summary of the error

                +
                type: string

                RFC 7807 error type identifier

                +
                validation_errors?: {
                    detail: string;
                    field?: string;
                    pointer?: string;
                    source?: string;
                }[]

                Field-level validation errors, if present

                +
                stackTraceLimit: number

                The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                +

                The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                +

                If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                +

                Methods

                • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                  +
                  const myObject = {};
                  Error.captureStackTrace(myObject);
                  myObject.stack; // Similar to `new Error().stack` +
                  + +

                  The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                  +

                  The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                  +

                  The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                  +
                  function a() {
                  b();
                  }

                  function b() {
                  c();
                  }

                  function c() {
                  // Create an error without stack trace to avoid calculating the stack trace twice.
                  const { stackTraceLimit } = Error;
                  Error.stackTraceLimit = 0;
                  const error = new Error();
                  Error.stackTraceLimit = stackTraceLimit;

                  // Capture the stack trace above function b
                  Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                  throw error;
                  }

                  a(); +
                  + +

                  Parameters

                  • targetObject: object
                  • OptionalconstructorOpt: Function

                  Returns void

                diff --git a/docs/classes/OAuthError.html b/docs/classes/OAuthError.html index 36f2512e..7a5cb0c1 100644 --- a/docs/classes/OAuthError.html +++ b/docs/classes/OAuthError.html @@ -1,7 +1,7 @@ OAuthError | @auth0/auth0-react
                @auth0/auth0-react
                  Preparing search index...

                  Class OAuthError

                  An OAuth2 error will come from the authorization server and will have at least an error property which will be the error code. And possibly an error_description property

                  See: https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.3.1.2.6

                  -

                  Hierarchy

                  • Error
                    • OAuthError
                  Index

                  Constructors

                  Hierarchy

                  • Error
                    • OAuthError
                  Index

                  Constructors

                  • Parameters

                    • error: string
                    • Optionalerror_description: string

                    Returns OAuthError

                  Properties

                  error: string
                  error_description?: string
                  message: string
                  name: string
                  stack?: string
                  stackTraceLimit: number

                  The Error.stackTraceLimit property specifies the number of stack frames +

                  Constructors

                  • Parameters

                    • error: string
                    • Optionalerror_description: string

                    Returns OAuthError

                  Properties

                  error: string
                  error_description?: string
                  message: string
                  name: string
                  stack?: string
                  stackTraceLimit: number

                  The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

                  The default value is 10 but may be set to any valid JavaScript number. Changes diff --git a/docs/classes/PasskeyChallengeError.html b/docs/classes/PasskeyChallengeError.html index 263e743e..8f79901b 100644 --- a/docs/classes/PasskeyChallengeError.html +++ b/docs/classes/PasskeyChallengeError.html @@ -1,5 +1,5 @@ PasskeyChallengeError | @auth0/auth0-react

                  @auth0/auth0-react
                    Preparing search index...

                    Class PasskeyChallengeError

                    Error thrown when requesting a passkey login challenge fails.

                    -

                    Hierarchy

                    • PasskeyError
                      • PasskeyChallengeError
                    Index

                    Constructors

                    Hierarchy

                    • PasskeyError
                      • PasskeyChallengeError
                    Index

                    Constructors

                    Properties

                    Methods

                    Constructors

                    • Parameters

                      • message: string
                      • Optionalcause: PasskeyApiErrorResponse

                      Returns PasskeyChallengeError

                    Properties

                    cause?: PasskeyApiErrorResponse
                    code: string
                    message: string
                    name: string
                    stack?: string
                    stackTraceLimit: number

                    The Error.stackTraceLimit property specifies the number of stack frames +

                    Constructors

                    • Parameters

                      • message: string
                      • Optionalcause: PasskeyApiErrorResponse

                      Returns PasskeyChallengeError

                    Properties

                    cause?: PasskeyApiErrorResponse
                    code: string
                    message: string
                    name: string
                    stack?: string
                    stackTraceLimit: number

                    The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

                    The default value is 10 but may be set to any valid JavaScript number. Changes diff --git a/docs/classes/PasskeyError.html b/docs/classes/PasskeyError.html index ac150c1a..6f4f265f 100644 --- a/docs/classes/PasskeyError.html +++ b/docs/classes/PasskeyError.html @@ -1,4 +1,4 @@ -PasskeyError | @auth0/auth0-react

                    @auth0/auth0-react
                      Preparing search index...

                      Class PasskeyError

                      Hierarchy

                      • Error
                        • PasskeyError
                      Index

                      Constructors

                      constructor +PasskeyError | @auth0/auth0-react
                      @auth0/auth0-react
                        Preparing search index...

                        Class PasskeyError

                        Hierarchy

                        • Error
                          • PasskeyError
                        Index

                        Constructors

                        Properties

                        cause? code message diff --git a/docs/classes/PasskeyGetTokenError.html b/docs/classes/PasskeyGetTokenError.html index b51999eb..91415e12 100644 --- a/docs/classes/PasskeyGetTokenError.html +++ b/docs/classes/PasskeyGetTokenError.html @@ -1,6 +1,8 @@ PasskeyGetTokenError | @auth0/auth0-react
                        @auth0/auth0-react
                          Preparing search index...

                          Class PasskeyGetTokenError

                          Error thrown when exchanging a passkey credential for tokens fails.

                          -

                          Hierarchy

                          • PasskeyError
                            • PasskeyGetTokenError
                          Index

                          Constructors

                          Properties

                          cause? +

                          Unlike the challenge errors, this carries mfa_token / mfa_requirements on +its cause when the server responds with mfa_required.

                          +

                          Hierarchy

                          • PasskeyError
                            • PasskeyGetTokenError
                          Index

                          Constructors

                          Properties

                          Methods

                          Constructors

                          • Parameters

                            • message: string
                            • Optionalcause: PasskeyApiErrorResponse

                            Returns PasskeyGetTokenError

                          Properties

                          cause?: PasskeyApiErrorResponse
                          code: string
                          message: string
                          name: string
                          stack?: string
                          stackTraceLimit: number

                          The Error.stackTraceLimit property specifies the number of stack frames +

                          Constructors

                          • Parameters

                            • message: string
                            • Optionalcause: PasskeyGetTokenApiErrorResponse

                            Returns PasskeyGetTokenError

                          Properties

                          cause?: PasskeyGetTokenApiErrorResponse
                          code: string
                          message: string
                          name: string
                          stack?: string
                          stackTraceLimit: number

                          The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

                          The default value is 10 but may be set to any valid JavaScript number. Changes @@ -32,4 +34,4 @@

                          Parameters

                          • targetObject: object
                          • OptionalconstructorOpt: Function

                          Returns void

                          +
                          diff --git a/docs/classes/PasskeyRegisterError.html b/docs/classes/PasskeyRegisterError.html index 64935749..734aaaae 100644 --- a/docs/classes/PasskeyRegisterError.html +++ b/docs/classes/PasskeyRegisterError.html @@ -1,5 +1,5 @@ PasskeyRegisterError | @auth0/auth0-react
                          @auth0/auth0-react
                            Preparing search index...

                            Class PasskeyRegisterError

                            Error thrown when requesting a passkey register challenge fails.

                            -

                            Hierarchy

                            • PasskeyError
                              • PasskeyRegisterError
                            Index

                            Constructors

                            Hierarchy

                            • PasskeyError
                              • PasskeyRegisterError
                            Index

                            Constructors

                            Properties

                            Methods

                            Constructors

                            • Parameters

                              • message: string
                              • Optionalcause: PasskeyApiErrorResponse

                              Returns PasskeyRegisterError

                            Properties

                            cause?: PasskeyApiErrorResponse
                            code: string
                            message: string
                            name: string
                            stack?: string
                            stackTraceLimit: number

                            The Error.stackTraceLimit property specifies the number of stack frames +

                            Constructors

                            • Parameters

                              • message: string
                              • Optionalcause: PasskeyApiErrorResponse

                              Returns PasskeyRegisterError

                            Properties

                            cause?: PasskeyApiErrorResponse
                            code: string
                            message: string
                            name: string
                            stack?: string
                            stackTraceLimit: number

                            The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

                            The default value is 10 but may be set to any valid JavaScript number. Changes diff --git a/docs/classes/PopupCancelledError.html b/docs/classes/PopupCancelledError.html index 9c6e07c2..115d923f 100644 --- a/docs/classes/PopupCancelledError.html +++ b/docs/classes/PopupCancelledError.html @@ -1,5 +1,5 @@ PopupCancelledError | @auth0/auth0-react

                            @auth0/auth0-react
                              Preparing search index...

                              Class PopupCancelledError

                              Thrown when network requests to the Auth server fail.

                              -

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Properties

                              error error_description message diff --git a/docs/classes/PopupOpenError.html b/docs/classes/PopupOpenError.html index 6fc98b68..a91d0742 100644 --- a/docs/classes/PopupOpenError.html +++ b/docs/classes/PopupOpenError.html @@ -1,5 +1,5 @@ PopupOpenError | @auth0/auth0-react
                              @auth0/auth0-react
                                Preparing search index...

                                Class PopupOpenError

                                Thrown when network requests to the Auth server fail.

                                -

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Properties

                                error error_description message diff --git a/docs/classes/PopupTimeoutError.html b/docs/classes/PopupTimeoutError.html index 2e758159..ef174303 100644 --- a/docs/classes/PopupTimeoutError.html +++ b/docs/classes/PopupTimeoutError.html @@ -1,5 +1,5 @@ PopupTimeoutError | @auth0/auth0-react
                                @auth0/auth0-react
                                  Preparing search index...

                                  Class PopupTimeoutError

                                  Error thrown when the login popup times out (if the user does not complete auth)

                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Properties

                                  error error_description message diff --git a/docs/classes/TimeoutError.html b/docs/classes/TimeoutError.html index 7b66544c..52d08b9f 100644 --- a/docs/classes/TimeoutError.html +++ b/docs/classes/TimeoutError.html @@ -1,6 +1,6 @@ TimeoutError | @auth0/auth0-react
                                  @auth0/auth0-react
                                    Preparing search index...

                                    Class TimeoutError

                                    Thrown when silent auth times out (usually due to a configuration issue) or when network requests to the Auth server timeout.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Properties

                                    error error_description message diff --git a/docs/classes/UseDpopNonceError.html b/docs/classes/UseDpopNonceError.html index d1397d43..352b5457 100644 --- a/docs/classes/UseDpopNonceError.html +++ b/docs/classes/UseDpopNonceError.html @@ -1,5 +1,5 @@ UseDpopNonceError | @auth0/auth0-react
                                    @auth0/auth0-react
                                      Preparing search index...

                                      Class UseDpopNonceError

                                      Error thrown when the wrong DPoP nonce is used and a potential subsequent retry wasn't able to fix it.

                                      -

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Properties

                                      error error_description message diff --git a/docs/functions/Auth0Provider.html b/docs/functions/Auth0Provider.html index 468f35af..f538bbff 100644 --- a/docs/functions/Auth0Provider.html +++ b/docs/functions/Auth0Provider.html @@ -2,4 +2,4 @@

                                      Provides the Auth0Context to its child components.

                                      -

                                      Type Parameters

                                      Parameters

                                      Returns Element

                                      +

                                      Type Parameters

                                      Parameters

                                      Returns Element

                                      diff --git a/docs/functions/useAuth0.html b/docs/functions/useAuth0.html index db73a111..115e2b97 100644 --- a/docs/functions/useAuth0.html +++ b/docs/functions/useAuth0.html @@ -3,4 +3,4 @@

                                      Use the useAuth0 hook in your components to access the auth state and methods.

                                      TUser is an optional type param to provide a type to the user field.

                                      -

                                      Type Parameters

                                      Parameters

                                      Returns Auth0ContextInterface<TUser>

                                      +

                                      Type Parameters

                                      Parameters

                                      Returns Auth0ContextInterface<TUser>

                                      diff --git a/docs/functions/withAuth0.html b/docs/functions/withAuth0.html index 25561dfd..34369baf 100644 --- a/docs/functions/withAuth0.html +++ b/docs/functions/withAuth0.html @@ -4,4 +4,4 @@

                                      Wrap your class components in this Higher Order Component to give them access to the Auth0Context.

                                      Providing a context as the second argument allows you to configure the Auth0Provider the Auth0Context should come from f you have multiple within your application.

                                      -

                                      Type Parameters

                                      Parameters

                                      Returns ComponentType<Omit<P, "auth0">>

                                      +

                                      Type Parameters

                                      Parameters

                                      Returns ComponentType<Omit<P, "auth0">>

                                      diff --git a/docs/functions/withAuthenticationRequired.html b/docs/functions/withAuthenticationRequired.html index 5b01a7d7..472a970b 100644 --- a/docs/functions/withAuthenticationRequired.html +++ b/docs/functions/withAuthenticationRequired.html @@ -3,4 +3,4 @@

                                      When you wrap your components in this Higher Order Component and an anonymous user visits your component they will be redirected to the login page; after login they will be returned to the page they were redirected from.

                                      -

                                      Type Parameters

                                      • P extends object

                                      Parameters

                                      Returns FC<P>

                                      +

                                      Type Parameters

                                      • P extends object

                                      Parameters

                                      Returns FC<P>

                                      diff --git a/docs/hierarchy.html b/docs/hierarchy.html index abd583cc..4f74e34c 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/auth0-react
                                      @auth0/auth0-react
                                        Preparing search index...
                                        +@auth0/auth0-react
                                        @auth0/auth0-react
                                          Preparing search index...
                                          diff --git a/docs/interfaces/Auth0ContextInterface.html b/docs/interfaces/Auth0ContextInterface.html index b1a63f77..04e77789 100644 --- a/docs/interfaces/Auth0ContextInterface.html +++ b/docs/interfaces/Auth0ContextInterface.html @@ -1,5 +1,5 @@ Auth0ContextInterface | @auth0/auth0-react
                                          @auth0/auth0-react
                                            Preparing search index...

                                            Interface Auth0ContextInterface<TUser>

                                            Contains the authenticated state and authentication methods provided by the useAuth0 hook.

                                            -
                                            interface Auth0ContextInterface<TUser extends User = User> {
                                                connectAccountWithRedirect: (
                                                    options: RedirectConnectAccountOptions,
                                                ) => Promise<void>;
                                                createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                                    config?: FetcherConfig<TOutput>,
                                                ) => Fetcher<TOutput>;
                                                customTokenExchange: (
                                                    options: CustomTokenExchangeOptions,
                                                ) => Promise<TokenEndpointResponse>;
                                                error: Error | undefined;
                                                exchangeToken: (
                                                    options: CustomTokenExchangeOptions,
                                                ) => Promise<TokenEndpointResponse>;
                                                generateDpopProof: (
                                                    params: {
                                                        accessToken: string;
                                                        method: string;
                                                        nonce?: string;
                                                        url: string;
                                                    },
                                                ) => Promise<string>;
                                                getAccessTokenSilently: {
                                                    (
                                                        options: GetTokenSilentlyOptions & { detailedResponse: true },
                                                    ): Promise<GetTokenSilentlyVerboseResponse>;
                                                    (options?: GetTokenSilentlyOptions): Promise<string>;
                                                    (
                                                        options: GetTokenSilentlyOptions,
                                                    ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                                };
                                                getAccessTokenWithPopup: (
                                                    options?: GetTokenWithPopupOptions,
                                                    config?: PopupConfigOptions,
                                                ) => Promise<string | undefined>;
                                                getConfiguration: () => Readonly<ClientConfiguration>;
                                                getDpopNonce: (id?: string) => Promise<string | undefined>;
                                                getIdTokenClaims: () => Promise<IdToken | undefined>;
                                                handleRedirectCallback: (
                                                    url?: string,
                                                ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>;
                                                isAuthenticated: boolean;
                                                isLoading: boolean;
                                                loginWithCustomTokenExchange: (
                                                    options: CustomTokenExchangeOptions,
                                                ) => Promise<TokenEndpointResponse>;
                                                loginWithPopup: (
                                                    options?: PopupLoginOptions,
                                                    config?: PopupConfigOptions,
                                                ) => Promise<void>;
                                                loginWithRedirect: (
                                                    options?: RedirectLoginOptions<AppState>,
                                                ) => Promise<void>;
                                                logout: (options?: LogoutOptions) => Promise<void>;
                                                mfa: MfaApiClient;
                                                passkey: PasskeyApiClient;
                                                setDpopNonce: (nonce: string, id?: string) => Promise<void>;
                                                user: TUser | undefined;
                                            }

                                            Type Parameters

                                            Hierarchy

                                            • AuthState<TUser>
                                              • Auth0ContextInterface
                                            Index

                                            Properties

                                            interface Auth0ContextInterface<TUser extends User = User> {
                                                connectAccountWithRedirect: (
                                                    options: RedirectConnectAccountOptions,
                                                ) => Promise<void>;
                                                createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                                    config?: FetcherConfig<TOutput>,
                                                ) => Fetcher<TOutput>;
                                                customTokenExchange: (
                                                    options: CustomTokenExchangeOptions,
                                                ) => Promise<TokenEndpointResponse>;
                                                error: Error | undefined;
                                                exchangeToken: (
                                                    options: CustomTokenExchangeOptions,
                                                ) => Promise<TokenEndpointResponse>;
                                                generateDpopProof: (
                                                    params: {
                                                        accessToken: string;
                                                        method: string;
                                                        nonce?: string;
                                                        url: string;
                                                    },
                                                ) => Promise<string>;
                                                getAccessTokenSilently: {
                                                    (
                                                        options: GetTokenSilentlyOptions & { detailedResponse: true },
                                                    ): Promise<GetTokenSilentlyVerboseResponse>;
                                                    (options?: GetTokenSilentlyOptions): Promise<string>;
                                                    (
                                                        options: GetTokenSilentlyOptions,
                                                    ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                                };
                                                getAccessTokenWithPopup: (
                                                    options?: GetTokenWithPopupOptions,
                                                    config?: PopupConfigOptions,
                                                ) => Promise<string | undefined>;
                                                getConfiguration: () => Readonly<ClientConfiguration>;
                                                getDpopNonce: (id?: string) => Promise<string | undefined>;
                                                getIdTokenClaims: () => Promise<IdToken | undefined>;
                                                handleRedirectCallback: (
                                                    url?: string,
                                                ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>;
                                                isAuthenticated: boolean;
                                                isLoading: boolean;
                                                loginWithCustomTokenExchange: (
                                                    options: CustomTokenExchangeOptions,
                                                ) => Promise<TokenEndpointResponse>;
                                                loginWithPopup: (
                                                    options?: PopupLoginOptions,
                                                    config?: PopupConfigOptions,
                                                ) => Promise<void>;
                                                loginWithRedirect: (
                                                    options?: RedirectLoginOptions<AppState>,
                                                ) => Promise<void>;
                                                logout: (options?: LogoutOptions) => Promise<void>;
                                                mfa: MfaApiClient;
                                                myAccount: MyAccountApiClient;
                                                passkey: PasskeyApiClient;
                                                setDpopNonce: (nonce: string, id?: string) => Promise<void>;
                                                user: TUser | undefined;
                                            }

                                            Type Parameters

                                            Hierarchy

                                            • AuthState<TUser>
                                              • Auth0ContextInterface
                                            Index

                                            Properties

                                            connectAccountWithRedirect createFetcher customTokenExchange error @@ -18,6 +18,7 @@ loginWithRedirect logout mfa +myAccount passkey setDpopNonce user @@ -29,7 +30,7 @@ where the user can authenticate and authorize the account to be connected.

                                            If connecting the account is successful onRedirectCallback will be called with the details of the connected account.

                                            -
                                            createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                                config?: FetcherConfig<TOutput>,
                                            ) => Fetcher<TOutput>

                                            Returns a new Fetcher class that will contain a fetchWithAuth() method. +

                                            createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                                config?: FetcherConfig<TOutput>,
                                            ) => Fetcher<TOutput>

                                            Returns a new Fetcher class that will contain a fetchWithAuth() method. This is a drop-in replacement for the Fetch API's fetch() method, but will handle certain authentication logic for you, like building the proper auth headers or managing DPoP nonces and retries automatically.

                                            @@ -39,7 +40,7 @@ handle certain authentication logic for you, like building the proper auth headers or managing DPoP nonces and retries automatically.

                                            Check the EXAMPLES.md file for a deeper look into this method.

                                            -

                                            Type Parameters

                                            • TOutput extends CustomFetchMinimalOutput = Response

                                            Parameters

                                            Returns Fetcher<TOutput>

                                            customTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>
                                            const tokenResponse = await customTokenExchange({
                                            subject_token: 'ey...',
                                            subject_token_type: 'urn:acme:legacy-system-token',
                                            actor_token: 'ey...',
                                            actor_token_type: 'https://idp.example.com/token-type/agent',
                                            }); +

                                            Type Parameters

                                            • TOutput extends CustomFetchMinimalOutput = Response

                                            Parameters

                                            Returns Fetcher<TOutput>

                                            customTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>
                                            const tokenResponse = await customTokenExchange({
                                            subject_token: 'ey...',
                                            subject_token_type: 'urn:acme:legacy-system-token',
                                            actor_token: 'ey...',
                                            actor_token_type: 'https://idp.example.com/token-type/agent',
                                            });

                                            Exchanges an external subject token for Auth0 tokens without affecting the current session.

                                            @@ -51,7 +52,7 @@ refresh_token in the response is expected and will not cause an error.

                                            Type Declaration

                                            error: Error | undefined
                                            exchangeToken: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>

                                            Type Declaration

                                            error: Error | undefined
                                            exchangeToken: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>

                                            Type Declaration

                                            Use loginWithCustomTokenExchange() instead. This method will be removed in the next major version.

                                            const tokenResponse = await exchangeToken({
                                            subject_token: 'external_token_value',
                                            subject_token_type: 'urn:acme:legacy-system-token',
                                            scope: 'openid profile email'
                                            }); @@ -65,13 +66,13 @@
                                            // Instead of:
                                            const tokens = await exchangeToken(options);

                                            // Use:
                                            const tokens = await loginWithCustomTokenExchange(options);
                                            -
                                            generateDpopProof: (
                                                params: {
                                                    accessToken: string;
                                                    method: string;
                                                    nonce?: string;
                                                    url: string;
                                                },
                                            ) => Promise<string>

                                            Returns a string to be used to demonstrate possession of the private +

                                            generateDpopProof: (
                                                params: {
                                                    accessToken: string;
                                                    method: string;
                                                    nonce?: string;
                                                    url: string;
                                                },
                                            ) => Promise<string>

                                            Returns a string to be used to demonstrate possession of the private key used to cryptographically bind access tokens with DPoP.

                                            It requires enabling the Auth0ClientOptions.useDpop option.

                                            Type Declaration

                                              • (
                                                    params: {
                                                        accessToken: string;
                                                        method: string;
                                                        nonce?: string;
                                                        url: string;
                                                    },
                                                ): Promise<string>
                                              • Returns a string to be used to demonstrate possession of the private key used to cryptographically bind access tokens with DPoP.

                                                It requires enabling the Auth0ClientOptions.useDpop option.

                                                -

                                                Parameters

                                                • params: { accessToken: string; method: string; nonce?: string; url: string }

                                                Returns Promise<string>

                                            getAccessTokenSilently: {
                                                (
                                                    options: GetTokenSilentlyOptions & { detailedResponse: true },
                                                ): Promise<GetTokenSilentlyVerboseResponse>;
                                                (options?: GetTokenSilentlyOptions): Promise<string>;
                                                (
                                                    options: GetTokenSilentlyOptions,
                                                ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                            }
                                            const token = await getAccessTokenSilently(options);
                                            +

                                            Parameters

                                            • params: { accessToken: string; method: string; nonce?: string; url: string }

                                            Returns Promise<string>

                                            getAccessTokenSilently: {
                                                (
                                                    options: GetTokenSilentlyOptions & { detailedResponse: true },
                                                ): Promise<GetTokenSilentlyVerboseResponse>;
                                                (options?: GetTokenSilentlyOptions): Promise<string>;
                                                (
                                                    options: GetTokenSilentlyOptions,
                                                ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                            }
                                            const token = await getAccessTokenSilently(options);
                                             

                                            If there's a valid token stored, return it. Otherwise, opens an @@ -90,7 +91,7 @@ back to using an iframe to make the token exchange.

                                            Note that in all cases, falling back to an iframe requires access to the auth0 cookie.

                                            -
                                            getAccessTokenWithPopup: (
                                                options?: GetTokenWithPopupOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<string | undefined>
                                            const token = await getTokenWithPopup(options, config);
                                            +
                                            getAccessTokenWithPopup: (
                                                options?: GetTokenWithPopupOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<string | undefined>
                                            const token = await getTokenWithPopup(options, config);
                                             

                                            Get an access token interactively.

                                            @@ -98,7 +99,7 @@ provided as arguments. Random and secure state and nonce parameters will be auto-generated. If the response is successful, results will be valid according to their expiration times.

                                            -
                                            getConfiguration: () => Readonly<ClientConfiguration>
                                            const config = getConfiguration();
                                            // { domain: 'tenant.auth0.com', clientId: 'abc123' } +
                                            getConfiguration: () => Readonly<ClientConfiguration>
                                            const config = getConfiguration();
                                            // { domain: 'tenant.auth0.com', clientId: 'abc123' }

                                            Returns a readonly copy of the initialization configuration @@ -108,7 +109,7 @@

                                            const auth0 = new Auth0Client({
                                            domain: 'tenant.auth0.com',
                                            clientId: 'abc123'
                                            });

                                            const config = auth0.getConfiguration();
                                            // { domain: 'tenant.auth0.com', clientId: 'abc123' }
                                            -
                                            getDpopNonce: (id?: string) => Promise<string | undefined>

                                            Returns the current DPoP nonce used for making requests to Auth0.

                                            +
                                            getDpopNonce: (id?: string) => Promise<string | undefined>

                                            Returns the current DPoP nonce used for making requests to Auth0.

                                            It can return undefined because when starting fresh it will not be populated until after the first response from the server.

                                            It requires enabling the Auth0ClientOptions.useDpop option.

                                            @@ -123,16 +124,16 @@

                                            The identifier of a nonce: if absent, it will get the nonce used for requests to Auth0. Otherwise, it will be used to select a specific non-Auth0 nonce.

                                            -
                                            getIdTokenClaims: () => Promise<IdToken | undefined>
                                            const claims = await getIdTokenClaims();
                                            +
                                            getIdTokenClaims: () => Promise<IdToken | undefined>
                                            const claims = await getIdTokenClaims();
                                             

                                            Returns all claims from the id_token if available.

                                            -
                                            handleRedirectCallback: (
                                                url?: string,
                                            ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                            After the browser redirects back to the callback page, +

                                            handleRedirectCallback: (
                                                url?: string,
                                            ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                            After the browser redirects back to the callback page, call handleRedirectCallback to handle success and error responses from Auth0. If the response is successful, results will be valid according to their expiration times.

                                            Type Declaration

                                              • (url?: string): Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>
                                              • Parameters

                                                • Optionalurl: string

                                                  The URL to that should be used to retrieve the state and code values. Defaults to window.location.href if not given.

                                                  -

                                                Returns Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                            isAuthenticated: boolean
                                            isLoading: boolean
                                            loginWithCustomTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>
                                            await loginWithCustomTokenExchange(options);
                                            +

                                            Returns Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                            isAuthenticated: boolean
                                            isLoading: boolean
                                            loginWithCustomTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>
                                            await loginWithCustomTokenExchange(options);
                                             

                                            Exchanges an external subject token for Auth0 tokens and logs the user in. @@ -156,7 +157,7 @@

                                            const options = {
                                            subject_token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...',
                                            subject_token_type: 'urn:acme:legacy-system-token',
                                            scope: 'openid profile email',
                                            audience: 'https://api.example.com',
                                            organization: 'org_12345'
                                            };

                                            try {
                                            const tokenResponse = await loginWithCustomTokenExchange(options);
                                            console.log('Access token:', tokenResponse.access_token);

                                            // User is now logged in - access user info
                                            const user = await getUser();
                                            console.log('Logged in user:', user);
                                            } catch (error) {
                                            console.error('Token exchange failed:', error);
                                            }
                                            -
                                            loginWithPopup: (
                                                options?: PopupLoginOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<void>
                                            await loginWithPopup(options, config);
                                            +
                                            loginWithPopup: (
                                                options?: PopupLoginOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<void>
                                            await loginWithPopup(options, config);
                                             

                                            Opens a popup with the /authorize URL using the parameters @@ -166,20 +167,20 @@

                                            IMPORTANT: This method has to be called from an event handler that was started by the user like a button click, for example, otherwise the popup will be blocked in most browsers.

                                            -
                                            loginWithRedirect: (options?: RedirectLoginOptions<AppState>) => Promise<void>
                                            await loginWithRedirect(options);
                                            +
                                            loginWithRedirect: (options?: RedirectLoginOptions<AppState>) => Promise<void>
                                            await loginWithRedirect(options);
                                             

                                            Performs a redirect to /authorize using the parameters provided as arguments. Random and secure state and nonce parameters will be auto-generated.

                                            -
                                            logout: (options?: LogoutOptions) => Promise<void>
                                            auth0.logout({ logoutParams: { returnTo: window.location.origin } });
                                            +
                                            logout: (options?: LogoutOptions) => Promise<void>
                                            auth0.logout({ logoutParams: { returnTo: window.location.origin } });
                                             

                                            Clears the application session and performs a redirect to /v2/logout, using the parameters provided as arguments, to clear the Auth0 session. If the logoutParams.federated option is specified, it also clears the Identity Provider session. Read more about how Logout works at Auth0.

                                            -
                                            const { mfa } = useAuth0();
                                            const authenticators = await mfa.getAuthenticators(mfaToken); +
                                            const { mfa } = useAuth0();
                                            const authenticators = await mfa.getAuthenticators(mfaToken);

                                            MFA API client for Multi-Factor Authentication operations.

                                            @@ -194,7 +195,25 @@
                                            const { mfa, getAccessTokenSilently } = useAuth0();

                                            try {
                                            await getAccessTokenSilently();
                                            } catch (error) {
                                            if (error.error === 'mfa_required') {
                                            // Check if enrollment is needed
                                            const factors = await mfa.getEnrollmentFactors(error.mfa_token);

                                            if (factors.length > 0) {
                                            // Enroll in OTP
                                            const enrollment = await mfa.enroll({
                                            mfaToken: error.mfa_token,
                                            factorType: 'otp'
                                            });
                                            console.log('QR Code:', enrollment.barcodeUri);
                                            }

                                            // Get authenticators and challenge
                                            const authenticators = await mfa.getAuthenticators(error.mfa_token);
                                            await mfa.challenge({
                                            mfaToken: error.mfa_token,
                                            challengeType: 'otp',
                                            authenticatorId: authenticators[0].id
                                            });

                                            // Verify with user's code
                                            const tokens = await mfa.verify({
                                            mfaToken: error.mfa_token,
                                            otp: userCode
                                            });
                                            }
                                            }
                                            -
                                            const { passkey } = useAuth0();
                                            const tokens = await passkey.signup({ email: 'user@example.com' }); +
                                            const { myAccount } = useAuth0();
                                            const factors = await myAccount.getFactors(); +
                                            + +

                                            MyAccount API client for self-service account management operations.

                                            +

                                            Provides access to methods for managing the authenticated user's authentication +methods and factors:

                                            +
                                              +
                                            • getFactors() - List available authentication factors
                                            • +
                                            • getAuthenticationMethods(type?) - List enrolled authentication methods, optionally filtered by type
                                            • +
                                            • getAuthenticationMethod(id) - Get a specific authentication method by ID
                                            • +
                                            • updateAuthenticationMethod(id, data) - Update an authentication method (e.g. rename)
                                            • +
                                            • deleteAuthenticationMethod(id) - Remove an enrolled authentication method
                                            • +
                                            • enrollmentChallenge(options) - Initiate a two-step enrollment challenge
                                            • +
                                            • enrollmentVerify(options) - Complete a two-step enrollment by verifying the challenge
                                            • +
                                            +
                                            const { myAccount } = useAuth0();

                                            // List all enrolled authentication methods
                                            const methods = await myAccount.getAuthenticationMethods();

                                            // Enroll a new passkey
                                            const challenge = await myAccount.enrollmentChallenge({ type: 'passkey' });
                                            const credential = await navigator.credentials.create({ publicKey: challenge.authn_params_public_key });
                                            await myAccount.enrollmentVerify({ type: 'passkey', auth_session: challenge.auth_session, location: challenge.location, authn_response: credential });

                                            // Remove an authentication method
                                            await myAccount.deleteAuthenticationMethod('method-id'); +
                                            + +
                                            const { passkey } = useAuth0();
                                            const tokens = await passkey.signup({ email: 'user@example.com' });

                                            Passkey API client for WebAuthn-based passwordless authentication.

                                            @@ -204,7 +223,7 @@

                                            Both methods exchange the WebAuthn credential for Auth0 tokens and update isAuthenticated / user in the same way as loginWithPopup.

                                            -
                                            setDpopNonce: (nonce: string, id?: string) => Promise<void>

                                            Sets the current DPoP nonce used for making requests to Auth0.

                                            +
                                            setDpopNonce: (nonce: string, id?: string) => Promise<void>

                                            Sets the current DPoP nonce used for making requests to Auth0.

                                            It requires enabling the Auth0ClientOptions.useDpop option.

                                            Type Declaration

                                              • (nonce: string, id?: string): Promise<void>
                                              • Sets the current DPoP nonce used for making requests to Auth0.

                                                It requires enabling the Auth0ClientOptions.useDpop option.

                                                @@ -216,4 +235,4 @@

                                                The identifier of a nonce: if absent, it will set the nonce used for requests to Auth0. Otherwise, it will be used to select a specific non-Auth0 nonce.

                                                -
                                            user: TUser | undefined
                                            +
                                            user: TUser | undefined
                                            diff --git a/docs/interfaces/EnrollEmailParams.html b/docs/interfaces/EnrollEmailParams.html index 9785b543..fc762b19 100644 --- a/docs/interfaces/EnrollEmailParams.html +++ b/docs/interfaces/EnrollEmailParams.html @@ -1,5 +1,5 @@ EnrollEmailParams | @auth0/auth0-react
                                            @auth0/auth0-react
                                              Preparing search index...

                                              Interface EnrollEmailParams

                                              Email enrollment parameters

                                              -
                                              interface EnrollEmailParams {
                                                  email?: string;
                                                  factorType: "email";
                                                  mfaToken: string;
                                              }

                                              Hierarchy

                                              • EnrollBaseParams
                                                • EnrollEmailParams
                                              Index

                                              Properties

                                              interface EnrollEmailParams {
                                                  email?: string;
                                                  factorType: "email";
                                                  mfaToken: string;
                                              }

                                              Hierarchy

                                              • EnrollBaseParams
                                                • EnrollEmailParams
                                              Index

                                              Properties

                                              email?: string

                                              Email address (optional, uses user's email if not provided)

                                              diff --git a/docs/interfaces/EnrollOtpParams.html b/docs/interfaces/EnrollOtpParams.html index 9a8674d3..c5378877 100644 --- a/docs/interfaces/EnrollOtpParams.html +++ b/docs/interfaces/EnrollOtpParams.html @@ -1,5 +1,5 @@ EnrollOtpParams | @auth0/auth0-react
                                              @auth0/auth0-react
                                                Preparing search index...

                                                Interface EnrollOtpParams

                                                OTP (Time-based One-Time Password) enrollment parameters

                                                -
                                                interface EnrollOtpParams {
                                                    factorType: "otp";
                                                    mfaToken: string;
                                                }

                                                Hierarchy

                                                • EnrollBaseParams
                                                  • EnrollOtpParams
                                                Index

                                                Properties

                                                interface EnrollOtpParams {
                                                    factorType: "otp";
                                                    mfaToken: string;
                                                }

                                                Hierarchy

                                                • EnrollBaseParams
                                                  • EnrollOtpParams
                                                Index

                                                Properties

                                                Properties

                                                factorType: "otp"

                                                The factor type for enrollment

                                                mfaToken: string

                                                MFA token from mfa_required error

                                                diff --git a/docs/interfaces/EnrollPushParams.html b/docs/interfaces/EnrollPushParams.html index 4a457f65..f78ed97e 100644 --- a/docs/interfaces/EnrollPushParams.html +++ b/docs/interfaces/EnrollPushParams.html @@ -1,5 +1,5 @@ EnrollPushParams | @auth0/auth0-react
                                                @auth0/auth0-react
                                                  Preparing search index...

                                                  Interface EnrollPushParams

                                                  Push notification enrollment parameters

                                                  -
                                                  interface EnrollPushParams {
                                                      factorType: "push";
                                                      mfaToken: string;
                                                  }

                                                  Hierarchy

                                                  • EnrollBaseParams
                                                    • EnrollPushParams
                                                  Index

                                                  Properties

                                                  interface EnrollPushParams {
                                                      factorType: "push";
                                                      mfaToken: string;
                                                  }

                                                  Hierarchy

                                                  • EnrollBaseParams
                                                    • EnrollPushParams
                                                  Index

                                                  Properties

                                                  Properties

                                                  factorType: "push"

                                                  The factor type for enrollment

                                                  mfaToken: string

                                                  MFA token from mfa_required error

                                                  diff --git a/docs/interfaces/EnrollSmsParams.html b/docs/interfaces/EnrollSmsParams.html index a4c32ba9..3f513785 100644 --- a/docs/interfaces/EnrollSmsParams.html +++ b/docs/interfaces/EnrollSmsParams.html @@ -1,5 +1,5 @@ EnrollSmsParams | @auth0/auth0-react
                                                  @auth0/auth0-react
                                                    Preparing search index...

                                                    Interface EnrollSmsParams

                                                    SMS enrollment parameters

                                                    -
                                                    interface EnrollSmsParams {
                                                        factorType: "sms";
                                                        mfaToken: string;
                                                        phoneNumber: string;
                                                    }

                                                    Hierarchy

                                                    • EnrollBaseParams
                                                      • EnrollSmsParams
                                                    Index

                                                    Properties

                                                    interface EnrollSmsParams {
                                                        factorType: "sms";
                                                        mfaToken: string;
                                                        phoneNumber: string;
                                                    }

                                                    Hierarchy

                                                    • EnrollBaseParams
                                                      • EnrollSmsParams
                                                    Index

                                                    Properties

                                                    factorType: "sms"

                                                    The factor type for enrollment

                                                    diff --git a/docs/interfaces/EnrollVoiceParams.html b/docs/interfaces/EnrollVoiceParams.html index 53df7e43..63178221 100644 --- a/docs/interfaces/EnrollVoiceParams.html +++ b/docs/interfaces/EnrollVoiceParams.html @@ -1,5 +1,5 @@ EnrollVoiceParams | @auth0/auth0-react
                                                    @auth0/auth0-react
                                                      Preparing search index...

                                                      Interface EnrollVoiceParams

                                                      Voice enrollment parameters

                                                      -
                                                      interface EnrollVoiceParams {
                                                          factorType: "voice";
                                                          mfaToken: string;
                                                          phoneNumber: string;
                                                      }

                                                      Hierarchy

                                                      • EnrollBaseParams
                                                        • EnrollVoiceParams
                                                      Index

                                                      Properties

                                                      interface EnrollVoiceParams {
                                                          factorType: "voice";
                                                          mfaToken: string;
                                                          phoneNumber: string;
                                                      }

                                                      Hierarchy

                                                      • EnrollBaseParams
                                                        • EnrollVoiceParams
                                                      Index

                                                      Properties

                                                      factorType: "voice"

                                                      The factor type for enrollment

                                                      diff --git a/docs/interfaces/Factor.html b/docs/interfaces/Factor.html new file mode 100644 index 00000000..9a0fd836 --- /dev/null +++ b/docs/interfaces/Factor.html @@ -0,0 +1,3 @@ +Factor | @auth0/auth0-react
                                                      @auth0/auth0-react
                                                        Preparing search index...

                                                        Interface Factor

                                                        interface Factor {
                                                            type: AuthenticationMethodType;
                                                            usage?: ("primary" | "secondary")[];
                                                        }
                                                        Index

                                                        Properties

                                                        Properties

                                                        usage?: ("primary" | "secondary")[]
                                                        diff --git a/docs/interfaces/GetTokenWithPopupOptions.html b/docs/interfaces/GetTokenWithPopupOptions.html index e0bbb82b..e3a7685d 100644 --- a/docs/interfaces/GetTokenWithPopupOptions.html +++ b/docs/interfaces/GetTokenWithPopupOptions.html @@ -1,4 +1,4 @@ -GetTokenWithPopupOptions | @auth0/auth0-react
                                                        @auth0/auth0-react
                                                          Preparing search index...

                                                          Interface GetTokenWithPopupOptions

                                                          interface GetTokenWithPopupOptions {
                                                              authorizationParams?: AuthorizationParams;
                                                              cacheMode?: "on" | "off" | "cache-only";
                                                          }

                                                          Hierarchy (View Summary)

                                                          Index

                                                          Properties

                                                          authorizationParams? +GetTokenWithPopupOptions | @auth0/auth0-react
                                                          @auth0/auth0-react
                                                            Preparing search index...

                                                            Interface GetTokenWithPopupOptions

                                                            interface GetTokenWithPopupOptions {
                                                                authorizationParams?: AuthorizationParams;
                                                                cacheMode?: "on" | "off" | "cache-only";
                                                            }

                                                            Hierarchy (View Summary)

                                                            Index

                                                            Properties

                                                            authorizationParams?: AuthorizationParams

                                                            URL parameters that will be sent back to the Authorization Server. This can be known parameters defined by Auth0 or custom parameters that you define.

                                                            diff --git a/docs/interfaces/LogoutOptions.html b/docs/interfaces/LogoutOptions.html index 154558fd..6b0ab239 100644 --- a/docs/interfaces/LogoutOptions.html +++ b/docs/interfaces/LogoutOptions.html @@ -1,4 +1,4 @@ -LogoutOptions | @auth0/auth0-react
                                                            @auth0/auth0-react
                                                              Preparing search index...

                                                              Interface LogoutOptions

                                                              interface LogoutOptions {
                                                                  clientId?: string | null;
                                                                  logoutParams?: {
                                                                      federated?: boolean;
                                                                      returnTo?: string;
                                                                      [key: string]: any;
                                                                  };
                                                                  openUrl?: false
                                                                  | ((url: string) => void | Promise<void>);
                                                              }

                                                              Hierarchy

                                                              • Omit<SPALogoutOptions, "onRedirect">
                                                                • LogoutOptions
                                                              Index

                                                              Properties

                                                              clientId? +LogoutOptions | @auth0/auth0-react
                                                              @auth0/auth0-react
                                                                Preparing search index...

                                                                Interface LogoutOptions

                                                                interface LogoutOptions {
                                                                    clientId?: string | null;
                                                                    logoutParams?: {
                                                                        federated?: boolean;
                                                                        returnTo?: string;
                                                                        [key: string]: any;
                                                                    };
                                                                    openUrl?: false
                                                                    | ((url: string) => void | Promise<void>);
                                                                }

                                                                Hierarchy

                                                                • Omit<SPALogoutOptions, "onRedirect">
                                                                  • LogoutOptions
                                                                Index

                                                                Properties

                                                                clientId?: string | null

                                                                The clientId of your application.

                                                                diff --git a/docs/interfaces/MyAccountApiClient.html b/docs/interfaces/MyAccountApiClient.html new file mode 100644 index 00000000..defdfda6 --- /dev/null +++ b/docs/interfaces/MyAccountApiClient.html @@ -0,0 +1,46 @@ +MyAccountApiClient | @auth0/auth0-react
                                                                @auth0/auth0-react
                                                                  Preparing search index...

                                                                  Interface MyAccountApiClient

                                                                  Client for Auth0 MyAccount API operations.

                                                                  +

                                                                  Provides methods for managing the current user's account:

                                                                  +
                                                                    +
                                                                  • Connected accounts (link/unlink external identity providers)
                                                                  • +
                                                                  • MFA factors
                                                                  • +
                                                                  • Authentication methods (passkeys, phone, email, TOTP) - list, get, update, delete
                                                                  • +
                                                                  • Authentication method enrollment (challenge and verify)
                                                                  • +
                                                                  +
                                                                  interface MyAccountApiClient {
                                                                      completeAccount(params: CompleteRequest): Promise<CompleteResponse>;
                                                                      connectAccount(params: ConnectRequest): Promise<ConnectResponse>;
                                                                      deleteAuthenticationMethod(id: string): Promise<void>;
                                                                      enrollmentChallenge(
                                                                          options: EnrollmentChallengeOptions,
                                                                      ): Promise<EnrollmentChallengeResponse>;
                                                                      enrollmentVerify(
                                                                          options: EnrollmentVerifyOptions,
                                                                      ): Promise<AuthenticationMethod>;
                                                                      getAuthenticationMethod(id: string): Promise<AuthenticationMethod>;
                                                                      getAuthenticationMethods(
                                                                          type?: AuthenticationMethodType,
                                                                      ): Promise<AuthenticationMethod[]>;
                                                                      getFactors(): Promise<Factor[]>;
                                                                      updateAuthenticationMethod(
                                                                          id: string,
                                                                          data: UpdateAuthenticationMethodRequest,
                                                                      ): Promise<AuthenticationMethod>;
                                                                  }
                                                                  Index

                                                                  Methods

                                                                  • Verify the redirect from the connect account flow and complete the connecting of the account.

                                                                    +

                                                                    Parameters

                                                                    • params: CompleteRequest

                                                                      Completion parameters including auth session, connect code, and redirect URI

                                                                      +

                                                                    Returns Promise<CompleteResponse>

                                                                    A promise that resolves to the completed connected account details

                                                                    +
                                                                  • Get a ticket for the connect account flow.

                                                                    +

                                                                    Parameters

                                                                    • params: ConnectRequest

                                                                      Connection parameters including connection name and redirect URI

                                                                      +

                                                                    Returns Promise<ConnectResponse>

                                                                    A promise that resolves to a connect response with the redirect URI and auth session

                                                                    +
                                                                  • Delete an authentication method by ID.

                                                                    +

                                                                    Parameters

                                                                    • id: string

                                                                      The ID of the authentication method to delete

                                                                      +

                                                                    Returns Promise<void>

                                                                    A promise that resolves when the authentication method has been deleted

                                                                    +
                                                                  • Start the enrollment of an authentication method for the current user. +The response shape varies by type.

                                                                    +

                                                                    Parameters

                                                                    Returns Promise<EnrollmentChallengeResponse>

                                                                    A promise that resolves to the enrollment challenge response (shape varies by type)

                                                                    +
                                                                  • Confirm the enrollment of an authentication method to complete registration.

                                                                    +

                                                                    Parameters

                                                                    • options: EnrollmentVerifyOptions

                                                                      Enrollment verify options including the auth session and type-specific verification data

                                                                      +

                                                                    Returns Promise<AuthenticationMethod>

                                                                    A promise that resolves to the confirmed authentication method

                                                                    +
                                                                  • Get an authentication method by ID.

                                                                    +

                                                                    Parameters

                                                                    • id: string

                                                                      The ID of the authentication method to retrieve

                                                                      +

                                                                    Returns Promise<AuthenticationMethod>

                                                                    A promise that resolves to the authentication method

                                                                    +
                                                                  • Get a list of all authentication methods for the current user.

                                                                    +

                                                                    Parameters

                                                                    Returns Promise<AuthenticationMethod[]>

                                                                    A promise that resolves to an array of authentication methods

                                                                    +
                                                                  • Get the status of all factors for the current user.

                                                                    +

                                                                    Returns Promise<Factor[]>

                                                                    A promise that resolves to an array of factors with their enabled/disabled status

                                                                    +
                                                                  • Update details of an authentication method by ID.

                                                                    +

                                                                    Parameters

                                                                    • id: string

                                                                      The ID of the authentication method to update

                                                                      +
                                                                    • data: UpdateAuthenticationMethodRequest

                                                                      The fields to update (e.g. name, preferred_authentication_method for phone)

                                                                      +

                                                                    Returns Promise<AuthenticationMethod>

                                                                    A promise that resolves to the updated authentication method

                                                                    +
                                                                  diff --git a/docs/interfaces/PopupLoginOptions.html b/docs/interfaces/PopupLoginOptions.html index f848c104..2e5027ee 100644 --- a/docs/interfaces/PopupLoginOptions.html +++ b/docs/interfaces/PopupLoginOptions.html @@ -1,4 +1,4 @@ -PopupLoginOptions | @auth0/auth0-react
                                                                  @auth0/auth0-react
                                                                    Preparing search index...

                                                                    Interface PopupLoginOptions

                                                                    interface PopupLoginOptions {
                                                                        authorizationParams?: AuthorizationParams;
                                                                    }

                                                                    Hierarchy (View Summary)

                                                                    Index

                                                                    Properties

                                                                    authorizationParams? +PopupLoginOptions | @auth0/auth0-react
                                                                    @auth0/auth0-react
                                                                      Preparing search index...

                                                                      Interface PopupLoginOptions

                                                                      interface PopupLoginOptions {
                                                                          authorizationParams?: AuthorizationParams;
                                                                      }

                                                                      Hierarchy (View Summary)

                                                                      Index

                                                                      Properties

                                                                      authorizationParams?: AuthorizationParams

                                                                      URL parameters that will be sent back to the Authorization Server. This can be known parameters defined by Auth0 or custom parameters that you define.

                                                                      diff --git a/docs/interfaces/RedirectLoginOptions.html b/docs/interfaces/RedirectLoginOptions.html index 1456f1c7..e9a2c1af 100644 --- a/docs/interfaces/RedirectLoginOptions.html +++ b/docs/interfaces/RedirectLoginOptions.html @@ -1,4 +1,4 @@ -RedirectLoginOptions | @auth0/auth0-react
                                                                      @auth0/auth0-react
                                                                        Preparing search index...

                                                                        Interface RedirectLoginOptions<TAppState>

                                                                        interface RedirectLoginOptions<TAppState = AppState> {
                                                                            appState?: TAppState;
                                                                            authorizationParams?: AuthorizationParams;
                                                                            fragment?: string;
                                                                            openUrl?: (url: string) => void | Promise<void>;
                                                                        }

                                                                        Type Parameters

                                                                        Hierarchy

                                                                        • Omit<SPARedirectLoginOptions<TAppState>, "onRedirect">
                                                                          • RedirectLoginOptions
                                                                        Index

                                                                        Properties

                                                                        appState? +RedirectLoginOptions | @auth0/auth0-react
                                                                        @auth0/auth0-react
                                                                          Preparing search index...

                                                                          Interface RedirectLoginOptions<TAppState>

                                                                          interface RedirectLoginOptions<TAppState = AppState> {
                                                                              appState?: TAppState;
                                                                              authorizationParams?: AuthorizationParams;
                                                                              fragment?: string;
                                                                              openUrl?: (url: string) => void | Promise<void>;
                                                                          }

                                                                          Type Parameters

                                                                          Hierarchy

                                                                          • Omit<SPARedirectLoginOptions<TAppState>, "onRedirect">
                                                                            • RedirectLoginOptions
                                                                          Index

                                                                          Properties

                                                                          appState? authorizationParams? fragment? openUrl? diff --git a/docs/interfaces/UpdateAuthenticationMethodRequest.html b/docs/interfaces/UpdateAuthenticationMethodRequest.html new file mode 100644 index 00000000..3945c949 --- /dev/null +++ b/docs/interfaces/UpdateAuthenticationMethodRequest.html @@ -0,0 +1,4 @@ +UpdateAuthenticationMethodRequest | @auth0/auth0-react
                                                                          @auth0/auth0-react
                                                                            Preparing search index...

                                                                            Interface UpdateAuthenticationMethodRequest

                                                                            interface UpdateAuthenticationMethodRequest {
                                                                                name?: string;
                                                                                preferred_authentication_method?: "sms" | "voice";
                                                                            }
                                                                            Index

                                                                            Properties

                                                                            name?: string
                                                                            preferred_authentication_method?: "sms" | "voice"

                                                                            Only valid when updating a phone authentication method.

                                                                            +
                                                                            diff --git a/docs/interfaces/WithAuth0Props.html b/docs/interfaces/WithAuth0Props.html index a0bf528d..971e691f 100644 --- a/docs/interfaces/WithAuth0Props.html +++ b/docs/interfaces/WithAuth0Props.html @@ -1,3 +1,3 @@ WithAuth0Props | @auth0/auth0-react
                                                                            @auth0/auth0-react
                                                                              Preparing search index...

                                                                              Interface WithAuth0Props

                                                                              Components wrapped in withAuth0 will have an additional auth0 prop

                                                                              -
                                                                              interface WithAuth0Props {
                                                                                  auth0: Auth0ContextInterface;
                                                                              }
                                                                              Index

                                                                              Properties

                                                                              Properties

                                                                              +
                                                                              interface WithAuth0Props {
                                                                                  auth0: Auth0ContextInterface;
                                                                              }
                                                                              Index

                                                                              Properties

                                                                              Properties

                                                                              diff --git a/docs/interfaces/WithAuthenticationRequiredOptions.html b/docs/interfaces/WithAuthenticationRequiredOptions.html index eebce836..00846a59 100644 --- a/docs/interfaces/WithAuthenticationRequiredOptions.html +++ b/docs/interfaces/WithAuthenticationRequiredOptions.html @@ -1,5 +1,5 @@ WithAuthenticationRequiredOptions | @auth0/auth0-react
                                                                              @auth0/auth0-react
                                                                                Preparing search index...

                                                                                Interface WithAuthenticationRequiredOptions

                                                                                Options for the withAuthenticationRequired Higher Order Component

                                                                                -
                                                                                interface WithAuthenticationRequiredOptions {
                                                                                    context?: Context<Auth0ContextInterface<User>>;
                                                                                    loginOptions?: RedirectLoginOptions<AppState>;
                                                                                    onBeforeAuthentication?: () => Promise<void>;
                                                                                    onRedirecting?: () => Element;
                                                                                    returnTo?: string | (() => string);
                                                                                }
                                                                                Index

                                                                                Properties

                                                                                interface WithAuthenticationRequiredOptions {
                                                                                    context?: Context<Auth0ContextInterface<User>>;
                                                                                    loginOptions?: RedirectLoginOptions<AppState>;
                                                                                    onBeforeAuthentication?: () => Promise<void>;
                                                                                    onRedirecting?: () => Element;
                                                                                    returnTo?: string | (() => string);
                                                                                }
                                                                                Index

                                                                                Properties

                                                                                context?: Context<Auth0ContextInterface<User>>

                                                                                The context to be used when calling useAuth0, this should only be provided if you are using multiple Auth0Providers within your application and you wish to tie a specific component to a Auth0Provider other than the Auth0Provider associated with the default Auth0Context.

                                                                                -
                                                                                withAuthenticationRequired(Profile, {
                                                                                loginOptions: {
                                                                                appState: {
                                                                                customProp: 'foo'
                                                                                }
                                                                                }
                                                                                }) +
                                                                                withAuthenticationRequired(Profile, {
                                                                                loginOptions: {
                                                                                appState: {
                                                                                customProp: 'foo'
                                                                                }
                                                                                }
                                                                                })

                                                                                Pass additional login options, like extra appState to the login page. This will be merged with the returnTo option used by the onRedirectCallback handler.

                                                                                -
                                                                                onBeforeAuthentication?: () => Promise<void>
                                                                                withAuthenticationRequired(Profile, {
                                                                                onBeforeAuthentication: () => { analyticsLibrary.track('login_triggered'); }
                                                                                }) +
                                                                                onBeforeAuthentication?: () => Promise<void>
                                                                                withAuthenticationRequired(Profile, {
                                                                                onBeforeAuthentication: () => { analyticsLibrary.track('login_triggered'); }
                                                                                })

                                                                                Allows executing logic before the user is redirected to the login page.

                                                                                -
                                                                                onRedirecting?: () => Element
                                                                                withAuthenticationRequired(Profile, {
                                                                                onRedirecting: () => <div>Redirecting you to the login...</div>
                                                                                }) +
                                                                                onRedirecting?: () => Element
                                                                                withAuthenticationRequired(Profile, {
                                                                                onRedirecting: () => <div>Redirecting you to the login...</div>
                                                                                })

                                                                                Render a message to show that the user is being redirected to the login.

                                                                                -
                                                                                returnTo?: string | (() => string)
                                                                                withAuthenticationRequired(Profile, {
                                                                                returnTo: '/profile'
                                                                                }) +
                                                                                returnTo?: string | (() => string)
                                                                                withAuthenticationRequired(Profile, {
                                                                                returnTo: '/profile'
                                                                                })

                                                                                or

                                                                                @@ -28,4 +28,4 @@

                                                                                Add a path for the onRedirectCallback handler to return the user to after login.

                                                                                -
                                                                                +
                                                                                diff --git a/docs/modules.html b/docs/modules.html index 9d555a11..12a118c5 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/auth0-react
                                                                                @auth0/auth0-react
                                                                                  Preparing search index...
                                                                                  +@auth0/auth0-react
                                                                                  @auth0/auth0-react
                                                                                    Preparing search index...
                                                                                    diff --git a/docs/types/AppState.html b/docs/types/AppState.html index 47aa6abe..12c43bd9 100644 --- a/docs/types/AppState.html +++ b/docs/types/AppState.html @@ -1,6 +1,6 @@ AppState | @auth0/auth0-react
                                                                                    @auth0/auth0-react
                                                                                      Preparing search index...

                                                                                      Type Alias AppState

                                                                                      The state of the application before the user was redirected to the login page and any account that the user may have connected to.

                                                                                      -
                                                                                      type AppState = {
                                                                                          connectedAccount?: ConnectedAccount;
                                                                                          response_type?: ResponseType;
                                                                                          returnTo?: string;
                                                                                          [key: string]: any;
                                                                                      }

                                                                                      Indexable

                                                                                      • [key: string]: any
                                                                                      Index

                                                                                      Properties

                                                                                      type AppState = {
                                                                                          connectedAccount?: ConnectedAccount;
                                                                                          response_type?: ResponseType;
                                                                                          returnTo?: string;
                                                                                          [key: string]: any;
                                                                                      }

                                                                                      Indexable

                                                                                      • [key: string]: any
                                                                                      Index

                                                                                      Properties

                                                                                      connectedAccount?: ConnectedAccount
                                                                                      response_type?: ResponseType
                                                                                      returnTo?: string
                                                                                      +

                                                                                      Properties

                                                                                      connectedAccount?: ConnectedAccount
                                                                                      response_type?: ResponseType
                                                                                      returnTo?: string
                                                                                      diff --git a/docs/types/Auth0ProviderOptions.html b/docs/types/Auth0ProviderOptions.html index 5fdab9bd..b0cd9a4f 100644 --- a/docs/types/Auth0ProviderOptions.html +++ b/docs/types/Auth0ProviderOptions.html @@ -1,4 +1,4 @@ Auth0ProviderOptions | @auth0/auth0-react
                                                                                      @auth0/auth0-react
                                                                                        Preparing search index...

                                                                                        Type Alias Auth0ProviderOptions<TUser>

                                                                                        The main configuration to instantiate the Auth0Provider.

                                                                                        Either provide domain and clientId (Auth0ProviderWithConfigOptions) or a pre-configured client instance (Auth0ProviderWithClientOptions).

                                                                                        -

                                                                                        Type Parameters

                                                                                        +

                                                                                        Type Parameters

                                                                                        diff --git a/docs/types/Auth0ProviderWithClientOptions.html b/docs/types/Auth0ProviderWithClientOptions.html index 754635b3..251eac69 100644 --- a/docs/types/Auth0ProviderWithClientOptions.html +++ b/docs/types/Auth0ProviderWithClientOptions.html @@ -1,2 +1,2 @@ Auth0ProviderWithClientOptions | @auth0/auth0-react
                                                                                        @auth0/auth0-react
                                                                                          Preparing search index...

                                                                                          Type Alias Auth0ProviderWithClientOptions<TUser>

                                                                                          Auth0ProviderWithClientOptions: Auth0ProviderBaseOptions<TUser> & {
                                                                                              client: Auth0Client;
                                                                                          }

                                                                                          Options for Auth0Provider when supplying a pre-configured Auth0Client instance.

                                                                                          -

                                                                                          Type Parameters

                                                                                          +

                                                                                          Type Parameters

                                                                                          diff --git a/docs/types/Auth0ProviderWithConfigOptions.html b/docs/types/Auth0ProviderWithConfigOptions.html index 059e4b13..2089c39f 100644 --- a/docs/types/Auth0ProviderWithConfigOptions.html +++ b/docs/types/Auth0ProviderWithConfigOptions.html @@ -1,3 +1,3 @@ Auth0ProviderWithConfigOptions | @auth0/auth0-react
                                                                                          @auth0/auth0-react
                                                                                            Preparing search index...

                                                                                            Type Alias Auth0ProviderWithConfigOptions<TUser>

                                                                                            Auth0ProviderWithConfigOptions: Auth0ProviderBaseOptions<TUser> & Auth0ClientOptions & {
                                                                                                client?: never;
                                                                                            }

                                                                                            Options for Auth0Provider when configuring Auth0 via domain and clientId. Use this type when building wrapper components around Auth0Provider.

                                                                                            -

                                                                                            Type Parameters

                                                                                            +

                                                                                            Type Parameters

                                                                                            diff --git a/docs/types/AuthenticationMethod.html b/docs/types/AuthenticationMethod.html new file mode 100644 index 00000000..98457196 --- /dev/null +++ b/docs/types/AuthenticationMethod.html @@ -0,0 +1 @@ +AuthenticationMethod | @auth0/auth0-react
                                                                                            @auth0/auth0-react
                                                                                              Preparing search index...

                                                                                              Type Alias AuthenticationMethod

                                                                                              AuthenticationMethod:
                                                                                                  | PasskeyAuthenticationMethod
                                                                                                  | WebAuthnPlatformAuthenticationMethod
                                                                                                  | WebAuthnRoamingAuthenticationMethod
                                                                                                  | PhoneAuthenticationMethod
                                                                                                  | EmailAuthenticationMethod
                                                                                                  | PasswordAuthenticationMethod
                                                                                                  | TotpAuthenticationMethod
                                                                                                  | PushNotificationAuthenticationMethod
                                                                                                  | RecoveryCodeAuthenticationMethod
                                                                                              diff --git a/docs/types/AuthenticationMethodType.html b/docs/types/AuthenticationMethodType.html new file mode 100644 index 00000000..8cc0823f --- /dev/null +++ b/docs/types/AuthenticationMethodType.html @@ -0,0 +1 @@ +AuthenticationMethodType | @auth0/auth0-react
                                                                                              @auth0/auth0-react
                                                                                                Preparing search index...

                                                                                                Type Alias AuthenticationMethodType

                                                                                                AuthenticationMethodType:
                                                                                                    | "passkey"
                                                                                                    | "password"
                                                                                                    | "phone"
                                                                                                    | "totp"
                                                                                                    | "email"
                                                                                                    | "push-notification"
                                                                                                    | "recovery-code"
                                                                                                    | "webauthn-platform"
                                                                                                    | "webauthn-roaming"
                                                                                                diff --git a/docs/types/ConnectedAccount.html b/docs/types/ConnectedAccount.html index e78e8892..0d7d400a 100644 --- a/docs/types/ConnectedAccount.html +++ b/docs/types/ConnectedAccount.html @@ -1,2 +1,2 @@ ConnectedAccount | @auth0/auth0-react
                                                                                                @auth0/auth0-react
                                                                                                  Preparing search index...

                                                                                                  Type Alias ConnectedAccount

                                                                                                  ConnectedAccount: Omit<
                                                                                                      ConnectAccountRedirectResult,
                                                                                                      "appState"
                                                                                                      | "response_type",
                                                                                                  >

                                                                                                  The account that has been connected during the connect flow.

                                                                                                  -
                                                                                                  +
                                                                                                  diff --git a/docs/types/EnrollmentChallengeOptions.html b/docs/types/EnrollmentChallengeOptions.html new file mode 100644 index 00000000..5f9bdf8f --- /dev/null +++ b/docs/types/EnrollmentChallengeOptions.html @@ -0,0 +1 @@ +EnrollmentChallengeOptions | @auth0/auth0-react
                                                                                                  @auth0/auth0-react
                                                                                                    Preparing search index...

                                                                                                    Type Alias EnrollmentChallengeOptions

                                                                                                    EnrollmentChallengeOptions:
                                                                                                        | PasskeyEnrollmentChallengeOptions
                                                                                                        | PhoneEnrollmentChallengeOptions
                                                                                                        | EmailEnrollmentChallengeOptions
                                                                                                        | TotpEnrollmentChallengeOptions
                                                                                                        | PushNotificationEnrollmentChallengeOptions
                                                                                                        | RecoveryCodeEnrollmentChallengeOptions
                                                                                                        | PasswordEnrollmentChallengeOptions
                                                                                                    diff --git a/docs/types/EnrollmentChallengeResponse.html b/docs/types/EnrollmentChallengeResponse.html new file mode 100644 index 00000000..e89498b4 --- /dev/null +++ b/docs/types/EnrollmentChallengeResponse.html @@ -0,0 +1 @@ +EnrollmentChallengeResponse | @auth0/auth0-react
                                                                                                    @auth0/auth0-react
                                                                                                      Preparing search index...

                                                                                                      Type Alias EnrollmentChallengeResponse

                                                                                                      EnrollmentChallengeResponse:
                                                                                                          | PasskeyEnrollmentChallengeResponse
                                                                                                          | PhoneEnrollmentChallengeResponse
                                                                                                          | EmailEnrollmentChallengeResponse
                                                                                                          | TotpEnrollmentChallengeResponse
                                                                                                          | PushNotificationEnrollmentChallengeResponse
                                                                                                          | RecoveryCodeEnrollmentChallengeResponse
                                                                                                          | PasswordEnrollmentChallengeResponse
                                                                                                      diff --git a/docs/types/EnrollmentVerifyOptions.html b/docs/types/EnrollmentVerifyOptions.html new file mode 100644 index 00000000..daebb4f5 --- /dev/null +++ b/docs/types/EnrollmentVerifyOptions.html @@ -0,0 +1 @@ +EnrollmentVerifyOptions | @auth0/auth0-react
                                                                                                      @auth0/auth0-react
                                                                                                        Preparing search index...

                                                                                                        Type Alias EnrollmentVerifyOptions

                                                                                                        EnrollmentVerifyOptions:
                                                                                                            | PasskeyEnrollmentVerifyOptions
                                                                                                            | PhoneEnrollmentVerifyOptions
                                                                                                            | EmailEnrollmentVerifyOptions
                                                                                                            | TotpEnrollmentVerifyOptions
                                                                                                            | PushNotificationEnrollmentVerifyOptions
                                                                                                            | RecoveryCodeEnrollmentVerifyOptions
                                                                                                            | PasswordEnrollmentVerifyOptions
                                                                                                        diff --git a/docs/variables/Auth0Context.html b/docs/variables/Auth0Context.html index 665e2c90..064d475c 100644 --- a/docs/variables/Auth0Context.html +++ b/docs/variables/Auth0Context.html @@ -1,2 +1,2 @@ Auth0Context | @auth0/auth0-react
                                                                                                        @auth0/auth0-react
                                                                                                          Preparing search index...

                                                                                                          Variable Auth0ContextConst

                                                                                                          Auth0Context: Context<Auth0ContextInterface<User>> = ...

                                                                                                          The Auth0 Context

                                                                                                          -
                                                                                                          +
                                                                                                          diff --git a/package.json b/package.json index 6cc708b2..72dc082a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "author": "Auth0", "name": "@auth0/auth0-react", - "version": "2.18.0", + "version": "2.19.0", "description": "Auth0 SDK for React Single Page Applications (SPA)", "keywords": [ "auth0",