diff --git a/.version b/.version index 51c532312..8f1e770b8 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v4.13.3 \ No newline at end of file +v4.14.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 435dc6151..4fbab39de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v4.14.0](https://github.com/auth0/nextjs-auth0/tree/v4.14.0) (2025-12-15) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.13.3...v4.14.0) + +**Added** +- feat: Custom Token Exchange [\#2453](https://github.com/auth0/nextjs-auth0/pull/2453) ([tusharpandey13](https://github.com/tusharpandey13)) + ## [v4.13.3](https://github.com/auth0/nextjs-auth0/tree/v4.13.3) (2025-12-12) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.13.2...v4.13.3) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index d0a015ef2..8f0b8ef04 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJylll1vmzAUhv+Lr90WG0hC7rp2rSZta7XsbuoFgpPECrWZbSplVf77DvmonELFSXphLPB5/bwG43NemTXGOzb9kyU8zsQTZxbmFRReGY2PX1mWtFedPwObslm5+mqtsYyzldIlmwo54ayxFY4VVe4cuCtoA9zlIfRy6Z8rjN8OY5h35UWrvdg9wIGlqkoLuvWQcRGNuRASG/YSe4l9POIiEVykEbYUG8aN8X4Sc5GlXEYxl3HytOEsywK3D9eNX0qq4SB6wDNy0GYAulWuMC9g11TWsYCAEzLA/VDOKb2Y+dwDldjRUKDhGr/pl7xS5UnQjoYAlbILvTF6rhaNzdtdeSK8q6WYCFfe7gtj1b+T6F0RARuPPsLemBLuba79L/jbgPNn2eidhGArEYO2PueHaiSNAiNf8mJVLHOtofpuFqYhe+gXUvBpP75dFGiviu2qfho/a+raWA/lGZYGJqPYzCg2P22Namd8tHuKApz7bVZA/5PeSQjISdyPvDMWjwO9y25n8Lt6gpks3DW3j+aRnCQOscMQzIBhflijZ9Nof10rcn54ryFA47A02L+Y/SxUbI9qGIx1SliT4NfZHibBOf9GlunoQFbag53n+DGv/LoGrFB6hB/C39THFUsSxW3ZkRy9//3EM28sPNS7SuoEQ6GO4Gez2fwHikRRlg==" \ No newline at end of file +window.hierarchyData = "eJylll1v2yAUhv8L17Q1BDtx7rq0myata7X0buqFZZMExQEPcLWsyn/fcT4qUjvySXpBkM15eV4I5pw3Yo3xjox/p4KKSLxQYuWslLlXRsPrN5KK5ldnK0nGZFos7601llCyVLogY8ZHlNS2hLG8zJyT7kY2Ae76EHq98KsS4rfDEOZdcdVor3YvYGChysJK3XhIKYuGlDEODXoOPYd+kFAmGGVxBC2GBnFDeB4NKEsTyqMR5Qx6MXzZUJKmgePH29ovONZ0EN3jGzhgNQDdKZebV2nXWNaxAIFjPMA9KOeUnk995iWW2NJgoOEav+vXrFTFWdCWBgHlvA2dGD1T89pmzck8E97WYkyEK2/OhbHq31n0tgiBHSSnsBNTyG820/6X/FNL5y+y0TkJwpZgvbY+5wdrJI4CI1+yfJkvMq1l+cPMTY320C3E4ONufLMoqb3Kt6v6afy0ripjvSwusNQzGcZmirH5aWtYO8Oj05Pn0rlns5T4L+mDBIEcDbqRX42F60DvMtwF/LYeYSYNP+pJ7bxZ7Rbzt9nWOfoyPSXttwA5MkxWT+YJnacOsQgIC9f5sIZtM7X2t5VCp6iPGgRUhBf1/r/Zz4Le17aqHwzlUlgawQHZ3mdBqnkn8zg5kJX20s4yOE83fl1JKJQ6hCfh7+rjwkmwpKl8xNH+7yeeemPlY7Ur6M4wFOoQfjabzX/+nX+5" \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 8732a0f00..c460adc7f 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJylmV1v2zYUhv+Lr4M1zdpuy51ru6m3NDYsB0NRBAEj0TZhWdQoyqtb9L+X+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rc4IhE0gifQMrqGEsE9MCJZsEVhDCWJP1doZpsyD7Soh7FxvsDsY2NBAqCDaw5yzwIQ0sxqV9RybqdE5qymf47KaVyEzEspA3TdqJQSSZ9RsVQW0iX0n9e2ok9B3mbXGh0KQ/KCVumoEKW5TuLNdIdi6NF2qY5BmOvUu/upWAOc2GkJf/m9GqJpEoPFa7LN4oGpGdXygsnuV5KdiSUUeS12uVFPt8ENE+sx9I4YeKEwdVjGvqcNsMZfh7uFzifkuQ6OcxfvaS1qU/WUu+nS4Dvo+y/5dNmJ9DRhPPg2fH1fr6Xi9mv8xma1Hj8PpU2ArtytbRwRQcW9YrBo0phui9sk0KtKQUUzYodGzusStbNxBYNUrVTqtbk3zgqh+QN0QDzShKk2g1X4ecb5ntEwfunNxxgIhvinY2kJtI3P2sgbAo6LbahkT/Rg1IstJsJjPgsl69fdi0lgdZdFZctoad9EZPH/8fTJaVasHAFqE/V8pQG/BShtPJPQirBEaUInzUEIQWScHiKYbYh+6D7kX+FJzjqkkLPaxu3I0fkEycqCKiHaoIyATZ1XpHytf6FW2KqtIVSy9xvccCxm3S05/J616hIGSIfaHKYbR+sTDtLmhA4FmfYygO4N6WiGmGoiCzIpUAOpDKYAQl0umUTwDQJschcfNqE2OwI+JJH6qViFhnToKIloqKSu20KFHoKkG4ZJkcqohuq470ke+ZYgjDQqD7BBbHbPBG4UodmW4QpA2xWsWHL6QorGoSXVEQCbtL0QG0fw81Ll36Eb5nBcTOdLosxo1I7st7xmrFlFiN7IeRylTGlilPn75GjaQOhPenuzgtgZH7HzGM3GWz3cma56MSBy/qhtaHYXFMyvRkOG57vlqazBvI0RZM1afI+xUU9eL3L3inGjrrWayM/52AhdVU+GjLSmJeBKfqo6VB4iDa9d6HYqLFmxwS+LdXcvhbFXUROvRc7CaP1VV0uSv0efh7GFiK+CrzeaJNAr5l28v/wPGJ4Mk" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 433be62c5..a17c4e8f8 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJzFfW132ziS9X9JvmazQkGv8y2dpGey093JidO7z54+fXwYibbZkSU9kpzEM2f++4IAKQGFC7JI0T2f4thE4RK4AAp1C+A/n+233w7P/vLbP599KTarZ3+hF8822X3+7C/Plusi3xyfvXj2sF+b/95vVw/r/PCf7tcv7473a/O35To7HHJj4Nmzf7042ZhMT1b+pzjefchu81cPx7uP+f9/KPb56v3uWGw3h5PpYnPM9zfZ8my9oRSo+cWzXbYvsZ5An7GoEY1PYLabt/v9dn9Bxc+3m7wy0QSgyU4a3Md8ZZ5bHovN7WUQ94GhoYHu8+PDfvNpewlGZ+O4HQYejRYzNaFG0p3QHh93zUA7Mkyf6/3WVO/XbF9kn70hhJ7uWPf03CulldGH/fZrscrPDL952Cxta9WVBo/1r+02P75amg4/fNp+yTfp6sLn+tf3cMh/PTS9V/VAxxrOXWdH9SGa7dyvG2e7+bkLzm9q55nX21V+sphvHu5P9tCTzdArfN6QPM+xP75699PbN9ef3l9/fPvjx7dXfzM//v3tLx2rfn6TFet8dX3cXu/zm31+uDM/us5tggQNYpw/v7u6evfLXy9DeV8cDmZee2qMV2/Nv+97ozNIDoaeF+KC1PqxfGyzyS3/5TzDxYYg3dv/9/pvr37569tLIHjky78v77LNbd6h7RJNMiAJm6Bfysg+6KX0lODuztVWxGfiVs+ZwtuHzfH07AEjTz09BE1fv//5w09vPyVo2lizx87l9n63zo+t7Ey+dwvKd7+8+/Tu1aUoi01xLLKhUYrI1wyxI+cE+M5Ue/Nh+6FlPgwe6U+qNx/efzB8+uXHd3/99eOrT6Ytrt9+/Pj+o7TS56vddmeotLkpbh/2WTmKrpu3FchUA7b/+vun69evfnr9608OneNXN3h/fDleL7P18mHtADp2DYXw72//1ywcH95//NQL3Jf80SwUu+3+eCkuSvtvJ0iV5dTy35FIE+Vtso0Le9w/LI8da3seFuzkZKT2dcvMONEdUVRFhqnfH7bCRlhdVDvu+3h1E6CKC/1prEhU3ZMi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JGAV2PLY9Dwrzlglt/jtk7bqxzXCXZ4GuTYWVrb6fzHqgQTE726MxMzUO6y/+6tmyw1wsHIq8Wt0TB+rs6w8Eczb1zz7YBzrF7LybbZu13d9Ce3JBthnKkqnYmkPVLvHsyWzZDox2syuZiz0jrTnvYo0M5vlgaiNub3GAmat71qOtuKE7/dhLKGY2jSNy4/3o3Mms6YkykAVdX4Ft+UKeO2+MrvNj7tqyV3vMkI5ly7uRA+z7JyQzmBO63kPYIxHa+AAwjwXbVqlmtCNEkpkvgdRR+2SluKTMM5sR7fXso16SuSszR7raudrbbNhjDdo9BjATpw7HvDpqMUDLGr60Z/tbAe1CgNs7lHWym+yZnxlc0YEwdy1kbyCYuTa1lZMDxo74MG8P8Ehth/9Fm/8nmcro4fTZ5Yw92s6rAy60qC4j7KisYAYOfZNofWuvO5iqzNlmnQVglHoqC81ekTMjiI7lSIKbPfsyY4qNaeJ2FluaY0a9bGP+/Sx2wJ953kuNvbviSFx3AolzvwPTmtokofW6cK4hWvDa7Fge3RiCHXxkNlWIy/Y8fI44M5OO6GNrjmbRDmNod1lM2Z7u0sxe2zDXSFYiM5HFZ1+UBUwZxLNIemd7LcLcSNg5156jtj2EZJ7Rdwwid5s5is15CcFzPdgw1QLgXIrVAzA+QS7sXCtoz/5JZv4WJpEdizpfW5TwbSG/bbci8/DGab++5IA66wZ71cRUzU6Hoj5r4ZLadqVnFY4ZLFIG3bi/nY0r4axFseFhg5Zb5rW6zj245DI4HWCHK5gBnDp/Md+XddSyDmSVlate2UcpBTOhozZZh9pDNq1+bdqvPZXa+kXBHNFUTeerr9wNts1M5o0WUevUcR57xyWYeQ1UJZRty/Jgu2dxBrWNc4KAx+S4ebJxbCZxdMvfXzzbl/tiU25Vmd9+/9e//j/kYw7G"; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 5ba5a2a90..44328e99a 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -1595,9 +1595,9 @@ .container-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax( - 0, - 20rem - ); + 0, + 20rem + ); grid-template-areas: "sidebar content toc"; } diff --git a/docs/classes/errors.AccessTokenError.html b/docs/classes/errors.AccessTokenError.html index 1055794a7..20115b2e7 100644 --- a/docs/classes/errors.AccessTokenError.html +++ b/docs/classes/errors.AccessTokenError.html @@ -1,4 +1,4 @@ -AccessTokenError | @auth0/nextjs-auth0 - v4.13.3
@auth0/nextjs-auth0 - v4.13.3
    Preparing search index...

    Class AccessTokenError

    Hierarchy (View Summary)

    Index

    Constructors

    constructor +AccessTokenError | @auth0/nextjs-auth0 - v4.14.0
    @auth0/nextjs-auth0 - v4.14.0
      Preparing search index...

      Class AccessTokenError

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      Constructors

      Properties

      cause?: OAuth2Error
      code: string
      +

      Constructors

      Properties

      cause?: OAuth2Error
      code: string
      diff --git a/docs/classes/errors.AccessTokenForConnectionError.html b/docs/classes/errors.AccessTokenForConnectionError.html index 6e395fceb..c4fa86e2b 100644 --- a/docs/classes/errors.AccessTokenForConnectionError.html +++ b/docs/classes/errors.AccessTokenForConnectionError.html @@ -1,11 +1,11 @@ -AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.13.3
      @auth0/nextjs-auth0 - v4.13.3
        Preparing search index...

        Class AccessTokenForConnectionError

        Error class representing an access token for connection error. +AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.14.0

        @auth0/nextjs-auth0 - v4.14.0
          Preparing search index...

          Class AccessTokenForConnectionError

          Error class representing an access token for connection error. Extends the SdkError class.

          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          Constructors

          Properties

          cause?: OAuth2Error
          code: string

          The error code associated with the access token error.

          -
          +

          Returns AccessTokenForConnectionError

          Properties

          cause?: OAuth2Error
          code: string

          The error code associated with the access token error.

          +
          diff --git a/docs/classes/errors.AuthorizationCodeGrantError.html b/docs/classes/errors.AuthorizationCodeGrantError.html index c18c2d694..f31648af0 100644 --- a/docs/classes/errors.AuthorizationCodeGrantError.html +++ b/docs/classes/errors.AuthorizationCodeGrantError.html @@ -1,4 +1,4 @@ -AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.13.3
          @auth0/nextjs-auth0 - v4.13.3
            Preparing search index...

            Class AuthorizationCodeGrantError

            Hierarchy (View Summary)

            Index

            Constructors

            constructor +AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.14.0
            @auth0/nextjs-auth0 - v4.14.0
              Preparing search index...

              Class AuthorizationCodeGrantError

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              Constructors

              Properties

              code: string = "authorization_code_grant_error"
              +

              Constructors

              Properties

              code: string = "authorization_code_grant_error"
              diff --git a/docs/classes/errors.AuthorizationCodeGrantRequestError.html b/docs/classes/errors.AuthorizationCodeGrantRequestError.html index 9e4bb1559..a28c47939 100644 --- a/docs/classes/errors.AuthorizationCodeGrantRequestError.html +++ b/docs/classes/errors.AuthorizationCodeGrantRequestError.html @@ -1,3 +1,3 @@ -AuthorizationCodeGrantRequestError | @auth0/nextjs-auth0 - v4.13.3
              @auth0/nextjs-auth0 - v4.13.3
                Preparing search index...

                Class AuthorizationCodeGrantRequestError

                Hierarchy (View Summary)

                • SdkError
                  • AuthorizationCodeGrantRequestError
                Index

                Constructors

                constructor +AuthorizationCodeGrantRequestError | @auth0/nextjs-auth0 - v4.14.0
                @auth0/nextjs-auth0 - v4.14.0
                  Preparing search index...

                  Class AuthorizationCodeGrantRequestError

                  Hierarchy (View Summary)

                  • SdkError
                    • AuthorizationCodeGrantRequestError
                  Index

                  Constructors

                  Properties

                  Constructors

                  Properties

                  code: string = "authorization_code_grant_request_error"
                  +

                  Constructors

                  Properties

                  code: string = "authorization_code_grant_request_error"
                  diff --git a/docs/classes/errors.AuthorizationError.html b/docs/classes/errors.AuthorizationError.html index 586f43fc8..5955d8f34 100644 --- a/docs/classes/errors.AuthorizationError.html +++ b/docs/classes/errors.AuthorizationError.html @@ -1,4 +1,4 @@ -AuthorizationError | @auth0/nextjs-auth0 - v4.13.3
                  @auth0/nextjs-auth0 - v4.13.3
                    Preparing search index...

                    Class AuthorizationError

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    constructor +AuthorizationError | @auth0/nextjs-auth0 - v4.14.0
                    @auth0/nextjs-auth0 - v4.14.0
                      Preparing search index...

                      Class AuthorizationError

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Properties

                      Constructors

                      Properties

                      code: string = "authorization_error"
                      +

                      Constructors

                      Properties

                      code: string = "authorization_error"
                      diff --git a/docs/classes/errors.BackchannelAuthenticationError.html b/docs/classes/errors.BackchannelAuthenticationError.html index 2260e7412..0ca7591b6 100644 --- a/docs/classes/errors.BackchannelAuthenticationError.html +++ b/docs/classes/errors.BackchannelAuthenticationError.html @@ -1,4 +1,4 @@ -BackchannelAuthenticationError | @auth0/nextjs-auth0 - v4.13.3
                      @auth0/nextjs-auth0 - v4.13.3
                        Preparing search index...

                        Class BackchannelAuthenticationError

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        constructor +BackchannelAuthenticationError | @auth0/nextjs-auth0 - v4.14.0
                        @auth0/nextjs-auth0 - v4.14.0
                          Preparing search index...

                          Class BackchannelAuthenticationError

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Properties

                          Constructors

                          Properties

                          cause?: OAuth2Error
                          code: string = "backchannel_authentication_error"
                          +

                          Constructors

                          Properties

                          cause?: OAuth2Error
                          code: string = "backchannel_authentication_error"
                          diff --git a/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html b/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html index b2d95ceb9..34606b37f 100644 --- a/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html +++ b/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html @@ -1,3 +1,3 @@ -BackchannelAuthenticationNotSupportedError | @auth0/nextjs-auth0 - v4.13.3
                          @auth0/nextjs-auth0 - v4.13.3
                            Preparing search index...

                            Class BackchannelAuthenticationNotSupportedError

                            Hierarchy (View Summary)

                            • SdkError
                              • BackchannelAuthenticationNotSupportedError
                            Index

                            Constructors

                            constructor +BackchannelAuthenticationNotSupportedError | @auth0/nextjs-auth0 - v4.14.0
                            @auth0/nextjs-auth0 - v4.14.0
                              Preparing search index...

                              Class BackchannelAuthenticationNotSupportedError

                              Hierarchy (View Summary)

                              • SdkError
                                • BackchannelAuthenticationNotSupportedError
                              Index

                              Constructors

                              Properties

                              Constructors

                              Properties

                              code: string = "backchannel_authentication_not_supported_error"
                              +

                              Constructors

                              Properties

                              code: string = "backchannel_authentication_not_supported_error"
                              diff --git a/docs/classes/errors.BackchannelLogoutError.html b/docs/classes/errors.BackchannelLogoutError.html index 3c1aff433..bdff43365 100644 --- a/docs/classes/errors.BackchannelLogoutError.html +++ b/docs/classes/errors.BackchannelLogoutError.html @@ -1,3 +1,3 @@ -BackchannelLogoutError | @auth0/nextjs-auth0 - v4.13.3
                              @auth0/nextjs-auth0 - v4.13.3
                                Preparing search index...

                                Class BackchannelLogoutError

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                constructor +BackchannelLogoutError | @auth0/nextjs-auth0 - v4.14.0
                                @auth0/nextjs-auth0 - v4.14.0
                                  Preparing search index...

                                  Class BackchannelLogoutError

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Properties

                                  Constructors

                                  Properties

                                  code: string = "backchannel_logout_error"
                                  +

                                  Constructors

                                  Properties

                                  code: string = "backchannel_logout_error"
                                  diff --git a/docs/classes/errors.ConnectAccountError.html b/docs/classes/errors.ConnectAccountError.html index 509608808..41899b9c9 100644 --- a/docs/classes/errors.ConnectAccountError.html +++ b/docs/classes/errors.ConnectAccountError.html @@ -1,6 +1,6 @@ -ConnectAccountError | @auth0/nextjs-auth0 - v4.13.3
                                  @auth0/nextjs-auth0 - v4.13.3
                                    Preparing search index...

                                    Class ConnectAccountError

                                    Error class representing a connect account error.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    constructor +ConnectAccountError | @auth0/nextjs-auth0 - v4.14.0
                                    @auth0/nextjs-auth0 - v4.14.0
                                      Preparing search index...

                                      Class ConnectAccountError

                                      Error class representing a connect account error.

                                      +

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Properties

                                      Constructors

                                      Properties

                                      code: string

                                      The error code associated with the connect account error.

                                      -
                                      +

                                      Constructors

                                      Properties

                                      code: string

                                      The error code associated with the connect account error.

                                      +
                                      diff --git a/docs/classes/errors.CustomTokenExchangeError.html b/docs/classes/errors.CustomTokenExchangeError.html new file mode 100644 index 000000000..0675d4cbf --- /dev/null +++ b/docs/classes/errors.CustomTokenExchangeError.html @@ -0,0 +1,15 @@ +CustomTokenExchangeError | @auth0/nextjs-auth0 - v4.14.0
                                      @auth0/nextjs-auth0 - v4.14.0
                                        Preparing search index...

                                        Class CustomTokenExchangeError

                                        Error class representing a Custom Token Exchange error. +Extends the SdkError class.

                                        +

                                        This error is thrown when a Custom Token Exchange operation fails, +such as validation errors or server-side token exchange failures.

                                        +

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Properties

                                        Constructors

                                        Properties

                                        cause?: OAuth2Error

                                        The underlying OAuth2 error that caused this error (if applicable).

                                        +
                                        code: string

                                        The error code associated with the custom token exchange error.

                                        +
                                        diff --git a/docs/classes/errors.DPoPError.html b/docs/classes/errors.DPoPError.html index 68309c63a..2eba29f5b 100644 --- a/docs/classes/errors.DPoPError.html +++ b/docs/classes/errors.DPoPError.html @@ -1,4 +1,4 @@ -DPoPError | @auth0/nextjs-auth0 - v4.13.3
                                        @auth0/nextjs-auth0 - v4.13.3
                                          Preparing search index...

                                          Class DPoPError

                                          Represents an error that occurred during DPoP (Demonstrating Proof-of-Possession) operations.

                                          +DPoPError | @auth0/nextjs-auth0 - v4.14.0
                                          @auth0/nextjs-auth0 - v4.14.0
                                            Preparing search index...

                                            Class DPoPError

                                            Represents an error that occurred during DPoP (Demonstrating Proof-of-Possession) operations.

                                            DPoP is an OAuth 2.0 extension that provides application-level proof-of-possession security by binding access tokens to cryptographic key pairs. This error is thrown when DPoP-related operations fail, such as key pair operations, proof generation, or configuration issues.

                                            @@ -16,7 +16,7 @@

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Properties

                                            Constructors

                                            • Constructs a new DPoPError instance.

                                              @@ -26,6 +26,6 @@

                                            Returns DPoPError

                                            const dpopError = new DPoPError(
                                            DPoPErrorCode.DPOP_KEY_EXPORT_FAILED,
                                            "Unable to export public key to JWK format",
                                            keyExportError
                                            );
                                            -

                                            Properties

                                            cause?: Error

                                            The underlying error that caused this DPoP error (optional)

                                            -

                                            The specific DPoP error code indicating the type of failure

                                            -
                                            +

                                            Properties

                                            cause?: Error

                                            The underlying error that caused this DPoP error (optional)

                                            +

                                            The specific DPoP error code indicating the type of failure

                                            +
                                            diff --git a/docs/classes/errors.DiscoveryError.html b/docs/classes/errors.DiscoveryError.html index 62e68fe48..7f5338970 100644 --- a/docs/classes/errors.DiscoveryError.html +++ b/docs/classes/errors.DiscoveryError.html @@ -1,3 +1,3 @@ -DiscoveryError | @auth0/nextjs-auth0 - v4.13.3
                                            @auth0/nextjs-auth0 - v4.13.3
                                              Preparing search index...

                                              Class DiscoveryError

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              constructor +DiscoveryError | @auth0/nextjs-auth0 - v4.14.0
                                              @auth0/nextjs-auth0 - v4.14.0
                                                Preparing search index...

                                                Class DiscoveryError

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                Properties

                                                Constructors

                                                Properties

                                                code: string = "discovery_error"
                                                +

                                                Constructors

                                                Properties

                                                code: string = "discovery_error"
                                                diff --git a/docs/classes/errors.InvalidConfigurationError.html b/docs/classes/errors.InvalidConfigurationError.html index ca7e261f6..1602de478 100644 --- a/docs/classes/errors.InvalidConfigurationError.html +++ b/docs/classes/errors.InvalidConfigurationError.html @@ -1,3 +1,3 @@ -InvalidConfigurationError | @auth0/nextjs-auth0 - v4.13.3
                                                @auth0/nextjs-auth0 - v4.13.3
                                                  Preparing search index...

                                                  Class InvalidConfigurationError

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  constructor +InvalidConfigurationError | @auth0/nextjs-auth0 - v4.14.0
                                                  @auth0/nextjs-auth0 - v4.14.0
                                                    Preparing search index...

                                                    Class InvalidConfigurationError

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    Properties

                                                    Constructors

                                                    Properties

                                                    code: string = "invalid_configuration"
                                                    +

                                                    Constructors

                                                    Properties

                                                    code: string = "invalid_configuration"
                                                    diff --git a/docs/classes/errors.InvalidStateError.html b/docs/classes/errors.InvalidStateError.html index b015772b6..7b8512eb3 100644 --- a/docs/classes/errors.InvalidStateError.html +++ b/docs/classes/errors.InvalidStateError.html @@ -1,3 +1,3 @@ -InvalidStateError | @auth0/nextjs-auth0 - v4.13.3
                                                    @auth0/nextjs-auth0 - v4.13.3
                                                      Preparing search index...

                                                      Class InvalidStateError

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      constructor +InvalidStateError | @auth0/nextjs-auth0 - v4.14.0
                                                      @auth0/nextjs-auth0 - v4.14.0
                                                        Preparing search index...

                                                        Class InvalidStateError

                                                        Hierarchy (View Summary)

                                                        Index

                                                        Constructors

                                                        Properties

                                                        Constructors

                                                        Properties

                                                        code: string = "invalid_state"
                                                        +

                                                        Constructors

                                                        Properties

                                                        code: string = "invalid_state"
                                                        diff --git a/docs/classes/errors.MissingStateError.html b/docs/classes/errors.MissingStateError.html index 947a528f2..9af06f2ea 100644 --- a/docs/classes/errors.MissingStateError.html +++ b/docs/classes/errors.MissingStateError.html @@ -1,3 +1,3 @@ -MissingStateError | @auth0/nextjs-auth0 - v4.13.3
                                                        @auth0/nextjs-auth0 - v4.13.3
                                                          Preparing search index...

                                                          Class MissingStateError

                                                          Hierarchy (View Summary)

                                                          Index

                                                          Constructors

                                                          constructor +MissingStateError | @auth0/nextjs-auth0 - v4.14.0
                                                          @auth0/nextjs-auth0 - v4.14.0
                                                            Preparing search index...

                                                            Class MissingStateError

                                                            Hierarchy (View Summary)

                                                            Index

                                                            Constructors

                                                            Properties

                                                            Constructors

                                                            Properties

                                                            code: string = "missing_state"
                                                            +

                                                            Constructors

                                                            Properties

                                                            code: string = "missing_state"
                                                            diff --git a/docs/classes/errors.MyAccountApiError.html b/docs/classes/errors.MyAccountApiError.html index c1bcb378b..acbe854c9 100644 --- a/docs/classes/errors.MyAccountApiError.html +++ b/docs/classes/errors.MyAccountApiError.html @@ -1,5 +1,5 @@ -MyAccountApiError | @auth0/nextjs-auth0 - v4.13.3
                                                            @auth0/nextjs-auth0 - v4.13.3
                                                              Preparing search index...

                                                              Class MyAccountApiError

                                                              Error class representing a connect account request error.

                                                              -

                                                              Hierarchy (View Summary)

                                                              Index

                                                              Constructors

                                                              constructor +MyAccountApiError | @auth0/nextjs-auth0 - v4.14.0
                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                Preparing search index...

                                                                Class MyAccountApiError

                                                                Error class representing a connect account request error.

                                                                +

                                                                Hierarchy (View Summary)

                                                                Index

                                                                Constructors

                                                                Properties

                                                                Constructors

                                                                • Parameters

                                                                  • __namedParameters: {
                                                                        detail: string;
                                                                        status: number;
                                                                        title: string;
                                                                        type: string;
                                                                        validationErrors?: {
                                                                            detail: string;
                                                                            field?: string;
                                                                            pointer?: string;
                                                                            source?: string;
                                                                        }[];
                                                                    }

                                                                  Returns MyAccountApiError

                                                                Properties

                                                                code: string = "my_account_api_error"
                                                                detail: string
                                                                name: string = "MyAccountApiError"
                                                                status: number
                                                                title: string
                                                                type: string
                                                                validationErrors?: {
                                                                    detail: string;
                                                                    field?: string;
                                                                    pointer?: string;
                                                                    source?: string;
                                                                }[]

                                                                Type Declaration

                                                                • detail: string

                                                                  A human-readable description of the specific error. Required.

                                                                  +

                                                                Constructors

                                                                • Parameters

                                                                  • __namedParameters: {
                                                                        detail: string;
                                                                        status: number;
                                                                        title: string;
                                                                        type: string;
                                                                        validationErrors?: {
                                                                            detail: string;
                                                                            field?: string;
                                                                            pointer?: string;
                                                                            source?: string;
                                                                        }[];
                                                                    }

                                                                  Returns MyAccountApiError

                                                                Properties

                                                                code: string = "my_account_api_error"
                                                                detail: string
                                                                name: string = "MyAccountApiError"
                                                                status: number
                                                                title: string
                                                                type: string
                                                                validationErrors?: {
                                                                    detail: string;
                                                                    field?: string;
                                                                    pointer?: string;
                                                                    source?: string;
                                                                }[]

                                                                Type Declaration

                                                                • detail: string

                                                                  A human-readable description of the specific error. Required.

                                                                • Optionalfield?: string

                                                                  The name of the invalid parameter. Optional.

                                                                • Optionalpointer?: string

                                                                  A JSON Pointer that points to the exact location of the error in a JSON document being validated. Optional.

                                                                • Optionalsource?: string

                                                                  Specifies the source of the error (e.g., body, query, or header in an HTML message). Optional.

                                                                  -
                                                                +
                                                                diff --git a/docs/classes/errors.OAuth2Error.html b/docs/classes/errors.OAuth2Error.html index c74f54a28..0e7903874 100644 --- a/docs/classes/errors.OAuth2Error.html +++ b/docs/classes/errors.OAuth2Error.html @@ -1,5 +1,5 @@ -OAuth2Error | @auth0/nextjs-auth0 - v4.13.3
                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                  Preparing search index...

                                                                  Class OAuth2Error

                                                                  Errors that come from Auth0 in the redirect_uri callback may contain reflected user input via the OpenID Connect error and error_description query parameter. +OAuth2Error | @auth0/nextjs-auth0 - v4.14.0

                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                    Preparing search index...

                                                                    Class OAuth2Error

                                                                    Errors that come from Auth0 in the redirect_uri callback may contain reflected user input via the OpenID Connect error and error_description query parameter. You should not render the error message, or error and error_description properties without properly escaping them first.

                                                                    -

                                                                    Hierarchy (View Summary)

                                                                    Index

                                                                    Constructors

                                                                    Hierarchy (View Summary)

                                                                    Index

                                                                    Constructors

                                                                    Properties

                                                                    Constructors

                                                                    Properties

                                                                    code: string
                                                                    +

                                                                    Constructors

                                                                    Properties

                                                                    code: string
                                                                    diff --git a/docs/classes/errors.SdkError.html b/docs/classes/errors.SdkError.html index dcaca1991..3bc5e8793 100644 --- a/docs/classes/errors.SdkError.html +++ b/docs/classes/errors.SdkError.html @@ -1,3 +1,3 @@ -SdkError | @auth0/nextjs-auth0 - v4.13.3
                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                      Preparing search index...

                                                                      Class SdkErrorAbstract

                                                                      Hierarchy (View Summary)

                                                                      Index

                                                                      Constructors

                                                                      constructor +SdkError | @auth0/nextjs-auth0 - v4.14.0
                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                        Preparing search index...

                                                                        Class SdkErrorAbstract

                                                                        Hierarchy (View Summary)

                                                                        Index

                                                                        Constructors

                                                                        Properties

                                                                        Constructors

                                                                        • Parameters

                                                                          • Optionalmessage: string

                                                                          Returns SdkError

                                                                        Properties

                                                                        code: string
                                                                        +

                                                                        Constructors

                                                                        • Parameters

                                                                          • Optionalmessage: string

                                                                          Returns SdkError

                                                                        Properties

                                                                        code: string
                                                                        diff --git a/docs/classes/server.AbstractSessionStore.html b/docs/classes/server.AbstractSessionStore.html index 044799f76..9efc61af4 100644 --- a/docs/classes/server.AbstractSessionStore.html +++ b/docs/classes/server.AbstractSessionStore.html @@ -1,4 +1,4 @@ -AbstractSessionStore | @auth0/nextjs-auth0 - v4.13.3
                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                          Preparing search index...

                                                                          Class AbstractSessionStoreAbstract

                                                                          Index

                                                                          Constructors

                                                                          constructor +AbstractSessionStore | @auth0/nextjs-auth0 - v4.14.0
                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                            Preparing search index...

                                                                            Class AbstractSessionStoreAbstract

                                                                            Index

                                                                            Constructors

                                                                            Properties

                                                                            Constructors

                                                                            Properties

                                                                            cookieConfig: CookieOptions
                                                                            secret: string
                                                                            sessionCookieName: string

                                                                            Methods

                                                                            • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

                                                                              -

                                                                              Parameters

                                                                              • createdAt: number

                                                                              Returns number

                                                                            • save adds the encrypted session cookie as a Set-Cookie header. If the iat property +

                                                                            Constructors

                                                                            Properties

                                                                            cookieConfig: CookieOptions
                                                                            secret: string
                                                                            sessionCookieName: string

                                                                            Methods

                                                                            • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

                                                                              +

                                                                              Parameters

                                                                              • createdAt: number

                                                                              Returns number

                                                                            +

                                                                            Parameters

                                                                            Returns Promise<void>

                                                                            diff --git a/docs/classes/server.Auth0Client.html b/docs/classes/server.Auth0Client.html index b0a03374c..637d8de37 100644 --- a/docs/classes/server.Auth0Client.html +++ b/docs/classes/server.Auth0Client.html @@ -1,6 +1,7 @@ -Auth0Client | @auth0/nextjs-auth0 - v4.13.3
                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                              Preparing search index...

                                                                              Class Auth0Client

                                                                              Index

                                                                              Constructors

                                                                              constructor +Auth0Client | @auth0/nextjs-auth0 - v4.14.0
                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                Preparing search index...

                                                                                Class Auth0Client

                                                                                Index

                                                                                Constructors

                                                                                Methods

                                                                                • Initiates the Connect Account flow to connect a third-party account to the user's profile. +

                                                                                Constructors

                                                                                Methods

                                                                                • Initiates the Connect Account flow to connect a third-party account to the user's profile. If the user does not have an active session, a ConnectAccountError is thrown.

                                                                                  This method first attempts to obtain an access token with the create:me:connected_accounts scope for the My Account API to create a connected account for the user.

                                                                                  The user will then be redirected to authorize the connection with the third-party provider.

                                                                                  You must enable Offline Access from the Connection Permissions settings to be able to use the connection with Connected Accounts.

                                                                                  -

                                                                                  Parameters

                                                                                  Returns Promise<NextResponse<unknown>>

                                                                                • Creates a configured Fetcher instance for making authenticated API requests.

                                                                                  +

                                                                                  Parameters

                                                                                  Returns Promise<NextResponse<unknown>>

                                                                                • Creates a configured Fetcher instance for making authenticated API requests.

                                                                                  This method creates a specialized HTTP client that handles:

                                                                                  • Automatic access token retrieval and injection
                                                                                  • @@ -43,11 +44,23 @@
                                                                                  • Fetcher for details on using the returned fetcher instance
                                                                                  • FetcherMinimalConfig for available configuration options
                                                                                  -

                                                                                Returns Promise<
                                                                                    {
                                                                                        audience?: string;
                                                                                        expiresAt: number;
                                                                                        scope?: string;
                                                                                        token: string;
                                                                                        token_type?: string;
                                                                                    },
                                                                                >

                                                                              • getAccessToken returns the access token.

                                                                                This method can be used in middleware and getServerSideProps, API routes in the Pages Router.

                                                                                Parameters

                                                                                • req: NextRequest | PagesRouterRequest

                                                                                  The request object.

                                                                                • res: NextResponse<unknown> | PagesRouterResponse

                                                                                  The response object.

                                                                                  @@ -55,23 +68,23 @@
                                                                                  • Optionalaudience?: string | null

                                                                                    Please note: If you are passing audience, ensure that the used audiences and scopes are part of the Application's Refresh Token Policies in Auth0 when configuring Multi-Resource Refresh Tokens (MRRT). Auth0 Documentation on Multi-resource Refresh Tokens

                                                                                    -
                                                                                  • Optionalrefresh?: boolean | null
                                                                                  • Optionalscope?: string | null

                                                                                Returns Promise<
                                                                                    {
                                                                                        audience?: string;
                                                                                        expiresAt: number;
                                                                                        scope?: string;
                                                                                        token: string;
                                                                                        token_type?: string;
                                                                                    },
                                                                                >

                                                                              • Returns Promise<
                                                                                    {
                                                                                        audience?: string;
                                                                                        expiresAt: number;
                                                                                        scope?: string;
                                                                                        token: string;
                                                                                        token_type?: string;
                                                                                    },
                                                                                >

                                                                                +

                                                                                Parameters

                                                                                Returns Promise<void>

                                                                                diff --git a/docs/classes/server.AuthClient.html b/docs/classes/server.AuthClient.html index d31ecab72..a4b33c515 100644 --- a/docs/classes/server.AuthClient.html +++ b/docs/classes/server.AuthClient.html @@ -1,6 +1,7 @@ -AuthClient | @auth0/nextjs-auth0 - v4.13.3
                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                  Preparing search index...

                                                                                  Class AuthClient

                                                                                  Index

                                                                                  Constructors

                                                                                  constructor +AuthClient | @auth0/nextjs-auth0 - v4.14.0
                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                    Preparing search index...

                                                                                    Class AuthClient

                                                                                    Index

                                                                                    Constructors

                                                                                    Methods

                                                                                    • Initiates the connect account flow for linking a third-party account to the user's profile. +

                                                                                    Constructors

                                                                                    Methods

                                                                                    • Creates a new Fetcher instance with DPoP support and authentication capabilities.

                                                                                      This method creates fetcher-scoped DPoP handles via oauth.DPoP(this.clientMetadata, this.dpopKeyPair!). Each fetcher instance maintains its own DPoP nonce state for isolation and security. It is recommended to create fetchers at module level and reuse them across requests

                                                                                      @@ -34,11 +50,11 @@
                                                                                    • Nonce state is isolated between fetcher instances for security

                                                                                    When DPoP is enabled but no keypair is configured

                                                                                    -
                                                                                    +
                                                                                    diff --git a/docs/classes/server.TransactionStore.html b/docs/classes/server.TransactionStore.html index e6b496c15..8d4b2f09a 100644 --- a/docs/classes/server.TransactionStore.html +++ b/docs/classes/server.TransactionStore.html @@ -1,15 +1,15 @@ -TransactionStore | @auth0/nextjs-auth0 - v4.13.3
                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                      Preparing search index...

                                                                                      Class TransactionStore

                                                                                      TransactionStore is responsible for storing the state required to successfully complete +TransactionStore | @auth0/nextjs-auth0 - v4.14.0

                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                        Preparing search index...

                                                                                        Class TransactionStore

                                                                                        TransactionStore is responsible for storing the state required to successfully complete an authentication transaction. The store relies on encrypted, stateless cookies to store the transaction state.

                                                                                        -
                                                                                        Index

                                                                                        Constructors

                                                                                        Index

                                                                                        Constructors

                                                                                        Methods

                                                                                        • Parameters

                                                                                          • resCookies: ResponseCookies
                                                                                          • state: string

                                                                                          Returns Promise<void>

                                                                                        • Deletes all transaction cookies based on the configured prefix.

                                                                                          -

                                                                                          Parameters

                                                                                          • reqCookies: RequestCookies
                                                                                          • resCookies: ResponseCookies

                                                                                          Returns Promise<void>

                                                                                        • Saves the transaction state to an encrypted cookie.

                                                                                          +

                                                                                        Constructors

                                                                                        Methods

                                                                                        • Parameters

                                                                                          • resCookies: ResponseCookies
                                                                                          • state: string

                                                                                          Returns Promise<void>

                                                                                        • Deletes all transaction cookies based on the configured prefix.

                                                                                          +

                                                                                          Parameters

                                                                                          • reqCookies: RequestCookies
                                                                                          • resCookies: ResponseCookies

                                                                                          Returns Promise<void>

                                                                                        • Saves the transaction state to an encrypted cookie.

                                                                                          Parameters

                                                                                          • resCookies: ResponseCookies

                                                                                            The response cookies object to set the transaction cookie on

                                                                                          • transactionState: TransactionState

                                                                                            The transaction state to save

                                                                                          • OptionalreqCookies: RequestCookies

                                                                                            Optional request cookies to check for existing transactions. @@ -17,4 +17,4 @@ will check for existing transaction cookies. When omitted, the existence check is skipped for performance optimization.

                                                                                          Returns Promise<void>

                                                                                          When transaction state is missing required state parameter

                                                                                          -
                                                                                        +
                                                                                        diff --git a/docs/enums/errors.AccessTokenErrorCode.html b/docs/enums/errors.AccessTokenErrorCode.html index e7556e8b3..5fc725299 100644 --- a/docs/enums/errors.AccessTokenErrorCode.html +++ b/docs/enums/errors.AccessTokenErrorCode.html @@ -1,4 +1,4 @@ -AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.13.3
                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                          Preparing search index...

                                                                                          Enumeration AccessTokenErrorCode

                                                                                          Index

                                                                                          Enumeration Members

                                                                                          FAILED_TO_REFRESH_TOKEN +AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.14.0
                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                            Preparing search index...

                                                                                            Enumeration AccessTokenErrorCode

                                                                                            Index

                                                                                            Enumeration Members

                                                                                            FAILED_TO_REFRESH_TOKEN: "failed_to_refresh_token"
                                                                                            MISSING_REFRESH_TOKEN: "missing_refresh_token"
                                                                                            MISSING_SESSION: "missing_session"
                                                                                            +

                                                                                            Enumeration Members

                                                                                            FAILED_TO_REFRESH_TOKEN: "failed_to_refresh_token"
                                                                                            MISSING_REFRESH_TOKEN: "missing_refresh_token"
                                                                                            MISSING_SESSION: "missing_session"
                                                                                            diff --git a/docs/enums/errors.AccessTokenForConnectionErrorCode.html b/docs/enums/errors.AccessTokenForConnectionErrorCode.html index fd473c793..01eeeba3a 100644 --- a/docs/enums/errors.AccessTokenForConnectionErrorCode.html +++ b/docs/enums/errors.AccessTokenForConnectionErrorCode.html @@ -1,8 +1,8 @@ -AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.13.3
                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                              Preparing search index...

                                                                                              Enumeration AccessTokenForConnectionErrorCode

                                                                                              Enum representing error codes related to access tokens for connections.

                                                                                              -
                                                                                              Index

                                                                                              Enumeration Members

                                                                                              FAILED_TO_EXCHANGE +AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.14.0
                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                Preparing search index...

                                                                                                Enumeration AccessTokenForConnectionErrorCode

                                                                                                Enum representing error codes related to access tokens for connections.

                                                                                                +
                                                                                                Index

                                                                                                Enumeration Members

                                                                                                FAILED_TO_EXCHANGE: "failed_to_exchange_refresh_token"

                                                                                                Failed to exchange the refresh token.

                                                                                                -
                                                                                                MISSING_REFRESH_TOKEN: "missing_refresh_token"

                                                                                                The refresh token is missing.

                                                                                                -
                                                                                                MISSING_SESSION: "missing_session"

                                                                                                The session is missing.

                                                                                                -
                                                                                                +
                                                                                                MISSING_REFRESH_TOKEN: "missing_refresh_token"

                                                                                                The refresh token is missing.

                                                                                                +
                                                                                                MISSING_SESSION: "missing_session"

                                                                                                The session is missing.

                                                                                                +
                                                                                                diff --git a/docs/enums/errors.ConnectAccountErrorCodes.html b/docs/enums/errors.ConnectAccountErrorCodes.html index 646daa91e..548c31a42 100644 --- a/docs/enums/errors.ConnectAccountErrorCodes.html +++ b/docs/enums/errors.ConnectAccountErrorCodes.html @@ -1,8 +1,8 @@ -ConnectAccountErrorCodes | @auth0/nextjs-auth0 - v4.13.3
                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                  Preparing search index...

                                                                                                  Enumeration ConnectAccountErrorCodes

                                                                                                  Enum representing error codes related to the connect account flow.

                                                                                                  -
                                                                                                  Index

                                                                                                  Enumeration Members

                                                                                                  FAILED_TO_COMPLETE +ConnectAccountErrorCodes | @auth0/nextjs-auth0 - v4.14.0
                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                    Preparing search index...

                                                                                                    Enumeration ConnectAccountErrorCodes

                                                                                                    Enum representing error codes related to the connect account flow.

                                                                                                    +
                                                                                                    Index

                                                                                                    Enumeration Members

                                                                                                    FAILED_TO_COMPLETE: "failed_to_complete"

                                                                                                    Failed to complete the connect account flow.

                                                                                                    -
                                                                                                    FAILED_TO_INITIATE: "failed_to_initiate"

                                                                                                    Failed to initiate the connect account flow.

                                                                                                    -
                                                                                                    MISSING_SESSION: "missing_session"

                                                                                                    The session is missing.

                                                                                                    -
                                                                                                    +
                                                                                                    FAILED_TO_INITIATE: "failed_to_initiate"

                                                                                                    Failed to initiate the connect account flow.

                                                                                                    +
                                                                                                    MISSING_SESSION: "missing_session"

                                                                                                    The session is missing.

                                                                                                    +
                                                                                                    diff --git a/docs/enums/errors.CustomTokenExchangeErrorCode.html b/docs/enums/errors.CustomTokenExchangeErrorCode.html new file mode 100644 index 000000000..dfc22749f --- /dev/null +++ b/docs/enums/errors.CustomTokenExchangeErrorCode.html @@ -0,0 +1,10 @@ +CustomTokenExchangeErrorCode | @auth0/nextjs-auth0 - v4.14.0
                                                                                                    @auth0/nextjs-auth0 - v4.14.0
                                                                                                      Preparing search index...

                                                                                                      Enumeration CustomTokenExchangeErrorCode

                                                                                                      Error codes for Custom Token Exchange errors.

                                                                                                      +
                                                                                                      Index

                                                                                                      Enumeration Members

                                                                                                      EXCHANGE_FAILED: "exchange_failed"

                                                                                                      The token exchange request failed.

                                                                                                      +
                                                                                                      INVALID_SUBJECT_TOKEN_TYPE: "invalid_subject_token_type"

                                                                                                      The subject_token_type is not a valid URI, wrong length, or uses a reserved namespace.

                                                                                                      +
                                                                                                      MISSING_ACTOR_TOKEN_TYPE: "missing_actor_token_type"

                                                                                                      The actor_token was provided without actor_token_type.

                                                                                                      +
                                                                                                      MISSING_SUBJECT_TOKEN: "missing_subject_token"

                                                                                                      The subject_token is missing or empty.

                                                                                                      +
                                                                                                      diff --git a/docs/enums/errors.DPoPErrorCode.html b/docs/enums/errors.DPoPErrorCode.html index e5d0b20ce..08185ad2e 100644 --- a/docs/enums/errors.DPoPErrorCode.html +++ b/docs/enums/errors.DPoPErrorCode.html @@ -1,16 +1,16 @@ -DPoPErrorCode | @auth0/nextjs-auth0 - v4.13.3
                                                                                                      @auth0/nextjs-auth0 - v4.13.3
                                                                                                        Preparing search index...

                                                                                                        Enumeration DPoPErrorCode

                                                                                                        Error codes for DPoP-related errors.

                                                                                                        +DPoPErrorCode | @auth0/nextjs-auth0 - v4.14.0
                                                                                                        @auth0/nextjs-auth0 - v4.14.0
                                                                                                          Preparing search index...

                                                                                                          Enumeration DPoPErrorCode

                                                                                                          Error codes for DPoP-related errors.

                                                                                                          These error codes categorize different types of failures that can occur during DPoP (Demonstrating Proof-of-Possession) operations.

                                                                                                          -
                                                                                                          Index

                                                                                                          Enumeration Members

                                                                                                          Index

                                                                                                          Enumeration Members

                                                                                                          DPOP_CONFIGURATION_ERROR: "dpop_configuration_error"

                                                                                                          DPoP configuration is invalid or incomplete. This occurs when the provided DPoP configuration contains invalid values or missing required components.

                                                                                                          -
                                                                                                          DPOP_JKT_CALCULATION_FAILED: "dpop_jkt_calculation_failed"

                                                                                                          Failed to calculate dpop_jkt (JWK thumbprint) parameter. +

                                                                                                          DPOP_JKT_CALCULATION_FAILED: "dpop_jkt_calculation_failed"

                                                                                                          Failed to calculate dpop_jkt (JWK thumbprint) parameter. This occurs when the SDK cannot generate the required thumbprint from the provided public key for the authorization request.

                                                                                                          -
                                                                                                          DPOP_KEY_EXPORT_FAILED: "dpop_key_export_failed"

                                                                                                          Failed to export DPoP public key to JWK format. +

                                                                                                          DPOP_KEY_EXPORT_FAILED: "dpop_key_export_failed"

                                                                                                          Failed to export DPoP public key to JWK format. This occurs when the SDK cannot convert the CryptoKey to the JSON Web Key format required for DPoP proofs.

                                                                                                          -
                                                                                                          +
                                                                                                          diff --git a/docs/enums/types.RESPONSE_TYPES.html b/docs/enums/types.RESPONSE_TYPES.html index 911a87851..ad7052e9e 100644 --- a/docs/enums/types.RESPONSE_TYPES.html +++ b/docs/enums/types.RESPONSE_TYPES.html @@ -1,5 +1,5 @@ -RESPONSE_TYPES | @auth0/nextjs-auth0 - v4.13.3
                                                                                                          @auth0/nextjs-auth0 - v4.13.3
                                                                                                            Preparing search index...

                                                                                                            Enumeration RESPONSE_TYPES

                                                                                                            Index

                                                                                                            Enumeration Members

                                                                                                            CODE +RESPONSE_TYPES | @auth0/nextjs-auth0 - v4.14.0
                                                                                                            @auth0/nextjs-auth0 - v4.14.0
                                                                                                              Preparing search index...

                                                                                                              Enumeration RESPONSE_TYPES

                                                                                                              Index

                                                                                                              Enumeration Members

                                                                                                              Enumeration Members

                                                                                                              CODE: "code"

                                                                                                              Authorization Code flow.

                                                                                                              -
                                                                                                              CONNECT_CODE: "connect_code"

                                                                                                              Connect Account flow.

                                                                                                              -
                                                                                                              +
                                                                                                              CONNECT_CODE: "connect_code"

                                                                                                              Connect Account flow.

                                                                                                              +
                                                                                                              diff --git a/docs/enums/types.SUBJECT_TOKEN_TYPES.html b/docs/enums/types.SUBJECT_TOKEN_TYPES.html index 0a8a8c00e..c5f2540ab 100644 --- a/docs/enums/types.SUBJECT_TOKEN_TYPES.html +++ b/docs/enums/types.SUBJECT_TOKEN_TYPES.html @@ -1,7 +1,7 @@ -SUBJECT_TOKEN_TYPES | @auth0/nextjs-auth0 - v4.13.3
                                                                                                              @auth0/nextjs-auth0 - v4.13.3
                                                                                                                Preparing search index...

                                                                                                                Enumeration SUBJECT_TOKEN_TYPES

                                                                                                                Index

                                                                                                                Enumeration Members

                                                                                                                SUBJECT_TYPE_ACCESS_TOKEN +SUBJECT_TOKEN_TYPES | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                @auth0/nextjs-auth0 - v4.14.0
                                                                                                                  Preparing search index...

                                                                                                                  Enumeration SUBJECT_TOKEN_TYPES

                                                                                                                  Index

                                                                                                                  Enumeration Members

                                                                                                                  SUBJECT_TYPE_ACCESS_TOKEN: "urn:ietf:params:oauth:token-type:access_token"

                                                                                                                  Indicates that the token is an OAuth 2.0 access token issued by the given authorization server.

                                                                                                                  SUBJECT_TYPE_REFRESH_TOKEN: "urn:ietf:params:oauth:token-type:refresh_token"

                                                                                                                  Indicates that the token is an OAuth 2.0 refresh token issued by the given authorization server.

                                                                                                                  +
                                                                                                                  SUBJECT_TYPE_REFRESH_TOKEN: "urn:ietf:params:oauth:token-type:refresh_token"

                                                                                                                  Indicates that the token is an OAuth 2.0 refresh token issued by the given authorization server.

                                                                                                                  +
                                                                                                                  diff --git a/docs/functions/client.Auth0Provider.html b/docs/functions/client.Auth0Provider.html index 87b847ead..58ffcb76e 100644 --- a/docs/functions/client.Auth0Provider.html +++ b/docs/functions/client.Auth0Provider.html @@ -1 +1 @@ -Auth0Provider | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                  @auth0/nextjs-auth0 - v4.13.3
                                                                                                                    Preparing search index...

                                                                                                                    Function Auth0Provider

                                                                                                                    +Auth0Provider | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                    @auth0/nextjs-auth0 - v4.14.0
                                                                                                                      Preparing search index...

                                                                                                                      Function Auth0Provider

                                                                                                                      diff --git a/docs/functions/client.getAccessToken.html b/docs/functions/client.getAccessToken.html index 3d131a5cd..22c6ef86c 100644 --- a/docs/functions/client.getAccessToken.html +++ b/docs/functions/client.getAccessToken.html @@ -1,6 +1,6 @@ -getAccessToken | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                      @auth0/nextjs-auth0 - v4.13.3
                                                                                                                        Preparing search index...

                                                                                                                        Function getAccessToken

                                                                                                                        diff --git a/docs/functions/client.useUser.html b/docs/functions/client.useUser.html index cdfa2ddd6..455f4a083 100644 --- a/docs/functions/client.useUser.html +++ b/docs/functions/client.useUser.html @@ -1 +1 @@ -useUser | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                          Preparing search index...

                                                                                                                          Function useUser

                                                                                                                          • Returns
                                                                                                                                | {
                                                                                                                                    error: Error;
                                                                                                                                    invalidate: () => Promise<User | undefined>;
                                                                                                                                    isLoading: boolean;
                                                                                                                                    user: null;
                                                                                                                                }
                                                                                                                                | {
                                                                                                                                    error: null;
                                                                                                                                    invalidate: () => Promise<User | undefined>;
                                                                                                                                    isLoading: boolean;
                                                                                                                                    user: User;
                                                                                                                                }
                                                                                                                                | {
                                                                                                                                    error: undefined;
                                                                                                                                    invalidate: () => Promise<User | undefined>;
                                                                                                                                    isLoading: boolean;
                                                                                                                                    user: undefined;
                                                                                                                                }

                                                                                                                          +useUser | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                            Preparing search index...

                                                                                                                            Function useUser

                                                                                                                            • Returns
                                                                                                                                  | {
                                                                                                                                      error: Error;
                                                                                                                                      invalidate: () => Promise<User | undefined>;
                                                                                                                                      isLoading: boolean;
                                                                                                                                      user: null;
                                                                                                                                  }
                                                                                                                                  | {
                                                                                                                                      error: null;
                                                                                                                                      invalidate: () => Promise<User | undefined>;
                                                                                                                                      isLoading: boolean;
                                                                                                                                      user: User;
                                                                                                                                  }
                                                                                                                                  | {
                                                                                                                                      error: undefined;
                                                                                                                                      invalidate: () => Promise<User | undefined>;
                                                                                                                                      isLoading: boolean;
                                                                                                                                      user: undefined;
                                                                                                                                  }

                                                                                                                            diff --git a/docs/functions/server.filterDefaultIdTokenClaims.html b/docs/functions/server.filterDefaultIdTokenClaims.html index 258d226ad..af057aa7d 100644 --- a/docs/functions/server.filterDefaultIdTokenClaims.html +++ b/docs/functions/server.filterDefaultIdTokenClaims.html @@ -1,4 +1,4 @@ -filterDefaultIdTokenClaims | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                              Preparing search index...

                                                                                                                              Function filterDefaultIdTokenClaims

                                                                                                                              • Filters the claims to only include those that are considered default.

                                                                                                                                +filterDefaultIdTokenClaims | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                  Preparing search index...

                                                                                                                                  Function filterDefaultIdTokenClaims

                                                                                                                                  • Filters the claims to only include those that are considered default.

                                                                                                                                    Parameters

                                                                                                                                    • claims: { [key: string]: any }

                                                                                                                                      The claims to filter.

                                                                                                                                    Returns User

                                                                                                                                    The filtered claims containing only default ID token claims.

                                                                                                                                    -
                                                                                                                                  +
                                                                                                                                diff --git a/docs/functions/testing.generateSessionCookie.html b/docs/functions/testing.generateSessionCookie.html index 0581f8142..d2ef3f6d1 100644 --- a/docs/functions/testing.generateSessionCookie.html +++ b/docs/functions/testing.generateSessionCookie.html @@ -1 +1 @@ -generateSessionCookie | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                  Preparing search index...

                                                                                                                                  Function generateSessionCookie

                                                                                                                                  +generateSessionCookie | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                    Preparing search index...

                                                                                                                                    Function generateSessionCookie

                                                                                                                                    diff --git a/docs/hierarchy.html b/docs/hierarchy.html index e1030e98d..f8c59f5ab 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.13.3
                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                      Preparing search index...

                                                                                                                                      @auth0/nextjs-auth0 - v4.13.3

                                                                                                                                      Hierarchy Summary

                                                                                                                                      +@auth0/nextjs-auth0 - v4.14.0
                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                        Preparing search index...

                                                                                                                                        @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                        Hierarchy Summary

                                                                                                                                        diff --git a/docs/index.html b/docs/index.html index 8de3040f6..af13b8d53 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -@auth0/nextjs-auth0 - v4.13.3
                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                          Preparing search index...

                                                                                                                                          @auth0/nextjs-auth0 - v4.13.3

                                                                                                                                          Auth0 Next.js SDK Banner

                                                                                                                                          +@auth0/nextjs-auth0 - v4.14.0
                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                            Preparing search index...
                                                                                                                                            +

                                                                                                                                            diff --git a/docs/interfaces/client.WithPageAuthRequiredOptions.html b/docs/interfaces/client.WithPageAuthRequiredOptions.html index 36b99bf04..a04f95cf4 100644 --- a/docs/interfaces/client.WithPageAuthRequiredOptions.html +++ b/docs/interfaces/client.WithPageAuthRequiredOptions.html @@ -1,17 +1,17 @@ -WithPageAuthRequiredOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                              Preparing search index...

                                                                                                                                              Interface WithPageAuthRequiredOptions

                                                                                                                                              Options to customize the withPageAuthRequired higher order component.

                                                                                                                                              -
                                                                                                                                              interface WithPageAuthRequiredOptions {
                                                                                                                                                  onError?: (error: Error) => Element;
                                                                                                                                                  onRedirecting?: () => Element;
                                                                                                                                                  returnTo?: string;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              onError? +WithPageAuthRequiredOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                Preparing search index...

                                                                                                                                                Interface WithPageAuthRequiredOptions

                                                                                                                                                Options to customize the withPageAuthRequired higher order component.

                                                                                                                                                +
                                                                                                                                                interface WithPageAuthRequiredOptions {
                                                                                                                                                    onError?: (error: Error) => Element;
                                                                                                                                                    onRedirecting?: () => Element;
                                                                                                                                                    returnTo?: string;
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                onError?: (error: Error) => Element
                                                                                                                                                withPageAuthRequired(Profile, {
                                                                                                                                                onError: error => <div>Error: {error.message}</div>
                                                                                                                                                });

                                                                                                                                                Render a fallback in case of error fetching the user from the profile API route.

                                                                                                                                                -
                                                                                                                                                onRedirecting?: () => Element
                                                                                                                                                withPageAuthRequired(Profile, {
                                                                                                                                                onRedirecting: () => <div>Redirecting...</div>
                                                                                                                                                }); +
                                                                                                                                                onRedirecting?: () => Element
                                                                                                                                                withPageAuthRequired(Profile, {
                                                                                                                                                onRedirecting: () => <div>Redirecting...</div>
                                                                                                                                                });

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

                                                                                                                                                -
                                                                                                                                                returnTo?: string
                                                                                                                                                withPageAuthRequired(Profile, {
                                                                                                                                                returnTo: '/profile'
                                                                                                                                                }); +
                                                                                                                                                returnTo?: string
                                                                                                                                                withPageAuthRequired(Profile, {
                                                                                                                                                returnTo: '/profile'
                                                                                                                                                });

                                                                                                                                                Add a path to return the user to after login.

                                                                                                                                                -
                                                                                                                                                +
                                                                                                                                                diff --git a/docs/interfaces/types.AccessTokenForConnectionOptions.html b/docs/interfaces/types.AccessTokenForConnectionOptions.html index 071de0b94..35b4c84aa 100644 --- a/docs/interfaces/types.AccessTokenForConnectionOptions.html +++ b/docs/interfaces/types.AccessTokenForConnectionOptions.html @@ -1,14 +1,14 @@ -AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Interface AccessTokenForConnectionOptions

                                                                                                                                                  Options for retrieving a connection access token.

                                                                                                                                                  -
                                                                                                                                                  interface AccessTokenForConnectionOptions {
                                                                                                                                                      connection: string;
                                                                                                                                                      login_hint?: string;
                                                                                                                                                      subject_token_type?: SUBJECT_TOKEN_TYPES;
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  connection +AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Interface AccessTokenForConnectionOptions

                                                                                                                                                    Options for retrieving a connection access token.

                                                                                                                                                    +
                                                                                                                                                    interface AccessTokenForConnectionOptions {
                                                                                                                                                        connection: string;
                                                                                                                                                        login_hint?: string;
                                                                                                                                                        subject_token_type?: SUBJECT_TOKEN_TYPES;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    connection: string

                                                                                                                                                    The connection name for while you want to retrieve the access token.

                                                                                                                                                    -
                                                                                                                                                    login_hint?: string

                                                                                                                                                    An optional login hint to pass to the authorization server.

                                                                                                                                                    -
                                                                                                                                                    subject_token_type?: SUBJECT_TOKEN_TYPES

                                                                                                                                                    The type of token that is being exchanged.

                                                                                                                                                    +
                                                                                                                                                    login_hint?: string

                                                                                                                                                    An optional login hint to pass to the authorization server.

                                                                                                                                                    +
                                                                                                                                                    subject_token_type?: SUBJECT_TOKEN_TYPES

                                                                                                                                                    The type of token that is being exchanged.

                                                                                                                                                    Uses the SUBJECT_TOKEN_TYPES enum with the following allowed values:

                                                                                                                                                    • SUBJECT_TYPE_REFRESH_TOKEN: "urn:ietf:params:oauth:token-type:refresh_token"
                                                                                                                                                    • SUBJECT_TYPE_ACCESS_TOKEN: "urn:ietf:params:oauth:token-type:access_token"

                                                                                                                                                    Defaults to SUBJECT_TYPE_REFRESH_TOKEN.

                                                                                                                                                    -
                                                                                                                                                    +
                                                                                                                                                    diff --git a/docs/interfaces/types.AccessTokenSet.html b/docs/interfaces/types.AccessTokenSet.html index bfb057cc3..d07f5fc98 100644 --- a/docs/interfaces/types.AccessTokenSet.html +++ b/docs/interfaces/types.AccessTokenSet.html @@ -1,7 +1,7 @@ -AccessTokenSet | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Interface AccessTokenSet

                                                                                                                                                      interface AccessTokenSet {
                                                                                                                                                          accessToken: string;
                                                                                                                                                          audience: string;
                                                                                                                                                          expiresAt: number;
                                                                                                                                                          requestedScope?: string;
                                                                                                                                                          scope?: string;
                                                                                                                                                          token_type?: string;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      accessToken +AccessTokenSet | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Interface AccessTokenSet

                                                                                                                                                        interface AccessTokenSet {
                                                                                                                                                            accessToken: string;
                                                                                                                                                            audience: string;
                                                                                                                                                            expiresAt: number;
                                                                                                                                                            requestedScope?: string;
                                                                                                                                                            scope?: string;
                                                                                                                                                            token_type?: string;
                                                                                                                                                        }
                                                                                                                                                        Index

                                                                                                                                                        Properties

                                                                                                                                                        accessToken: string
                                                                                                                                                        audience: string
                                                                                                                                                        expiresAt: number
                                                                                                                                                        requestedScope?: string
                                                                                                                                                        scope?: string
                                                                                                                                                        token_type?: string
                                                                                                                                                        +

                                                                                                                                                        Properties

                                                                                                                                                        accessToken: string
                                                                                                                                                        audience: string
                                                                                                                                                        expiresAt: number
                                                                                                                                                        requestedScope?: string
                                                                                                                                                        scope?: string
                                                                                                                                                        token_type?: string
                                                                                                                                                        diff --git a/docs/interfaces/types.Auth0ClientOptions.html b/docs/interfaces/types.Auth0ClientOptions.html index 10c518a2a..eb4c401e7 100644 --- a/docs/interfaces/types.Auth0ClientOptions.html +++ b/docs/interfaces/types.Auth0ClientOptions.html @@ -1,4 +1,4 @@ -Auth0ClientOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Interface Auth0ClientOptions

                                                                                                                                                          interface Auth0ClientOptions {
                                                                                                                                                              allowInsecureRequests?: boolean;
                                                                                                                                                              appBaseUrl?: string;
                                                                                                                                                              authorizationParameters?: AuthorizationParameters;
                                                                                                                                                              beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                              clientAssertionSigningAlg?: string;
                                                                                                                                                              clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                              clientId?: string;
                                                                                                                                                              clientSecret?: string;
                                                                                                                                                              domain?: string;
                                                                                                                                                              dpopKeyPair?: DpopKeyPair;
                                                                                                                                                              dpopOptions?: DpopOptions;
                                                                                                                                                              enableAccessTokenEndpoint?: boolean;
                                                                                                                                                              enableConnectAccountEndpoint?: boolean;
                                                                                                                                                              enableParallelTransactions?: boolean;
                                                                                                                                                              enableTelemetry?: boolean;
                                                                                                                                                              httpTimeout?: number;
                                                                                                                                                              includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                              logoutStrategy?: LogoutStrategy;
                                                                                                                                                              noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                              onCallback?: OnCallbackHook;
                                                                                                                                                              pushedAuthorizationRequests?: boolean;
                                                                                                                                                              routes?: Partial<
                                                                                                                                                                  Pick<
                                                                                                                                                                      Routes,
                                                                                                                                                                      "login"
                                                                                                                                                                      | "callback"
                                                                                                                                                                      | "logout"
                                                                                                                                                                      | "backChannelLogout"
                                                                                                                                                                      | "connectAccount",
                                                                                                                                                                  >,
                                                                                                                                                              >;
                                                                                                                                                              secret?: string;
                                                                                                                                                              session?: SessionConfiguration;
                                                                                                                                                              sessionStore?: SessionDataStore;
                                                                                                                                                              signInReturnToPath?: string;
                                                                                                                                                              transactionCookie?: TransactionCookieOptions;
                                                                                                                                                              useDPoP?: boolean;
                                                                                                                                                          }
                                                                                                                                                          Index

                                                                                                                                                          Properties

                                                                                                                                                          allowInsecureRequests? +Auth0ClientOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Interface Auth0ClientOptions

                                                                                                                                                            interface Auth0ClientOptions {
                                                                                                                                                                allowInsecureRequests?: boolean;
                                                                                                                                                                appBaseUrl?: string;
                                                                                                                                                                authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                                clientAssertionSigningAlg?: string;
                                                                                                                                                                clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                                clientId?: string;
                                                                                                                                                                clientSecret?: string;
                                                                                                                                                                domain?: string;
                                                                                                                                                                dpopKeyPair?: DpopKeyPair;
                                                                                                                                                                dpopOptions?: DpopOptions;
                                                                                                                                                                enableAccessTokenEndpoint?: boolean;
                                                                                                                                                                enableConnectAccountEndpoint?: boolean;
                                                                                                                                                                enableParallelTransactions?: boolean;
                                                                                                                                                                enableTelemetry?: boolean;
                                                                                                                                                                httpTimeout?: number;
                                                                                                                                                                includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                                logoutStrategy?: LogoutStrategy;
                                                                                                                                                                noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                                onCallback?: OnCallbackHook;
                                                                                                                                                                pushedAuthorizationRequests?: boolean;
                                                                                                                                                                routes?: Partial<
                                                                                                                                                                    Pick<
                                                                                                                                                                        Routes,
                                                                                                                                                                        "login"
                                                                                                                                                                        | "callback"
                                                                                                                                                                        | "logout"
                                                                                                                                                                        | "backChannelLogout"
                                                                                                                                                                        | "connectAccount",
                                                                                                                                                                    >,
                                                                                                                                                                >;
                                                                                                                                                                secret?: string;
                                                                                                                                                                session?: SessionConfiguration;
                                                                                                                                                                sessionStore?: SessionDataStore;
                                                                                                                                                                signInReturnToPath?: string;
                                                                                                                                                                transactionCookie?: TransactionCookieOptions;
                                                                                                                                                                useDPoP?: boolean;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            allowInsecureRequests?: boolean

                                                                                                                                                            Allow insecure requests to be made to the authorization server. This can be useful when testing with a mock OIDC provider that does not support TLS, locally. This option can only be used when NODE_ENV is not set to production.

                                                                                                                                                            -
                                                                                                                                                            appBaseUrl?: string

                                                                                                                                                            The URL of your application (e.g.: http://localhost:3000).

                                                                                                                                                            +
                                                                                                                                                            appBaseUrl?: string

                                                                                                                                                            The URL of your application (e.g.: http://localhost:3000).

                                                                                                                                                            If it's not specified, it will be loaded from the APP_BASE_URL environment variable.

                                                                                                                                                            -
                                                                                                                                                            authorizationParameters?: AuthorizationParameters

                                                                                                                                                            Additional parameters to send to the /authorize endpoint.

                                                                                                                                                            -
                                                                                                                                                            beforeSessionSaved?: BeforeSessionSavedHook

                                                                                                                                                            A method to manipulate the session before persisting it.

                                                                                                                                                            +
                                                                                                                                                            authorizationParameters?: AuthorizationParameters

                                                                                                                                                            Additional parameters to send to the /authorize endpoint.

                                                                                                                                                            +
                                                                                                                                                            beforeSessionSaved?: BeforeSessionSavedHook

                                                                                                                                                            A method to manipulate the session before persisting it.

                                                                                                                                                            See beforeSessionSaved for additional details

                                                                                                                                                            -
                                                                                                                                                            clientAssertionSigningAlg?: string

                                                                                                                                                            The algorithm used to sign the client assertion JWT. +

                                                                                                                                                            clientAssertionSigningAlg?: string

                                                                                                                                                            The algorithm used to sign the client assertion JWT. Uses one of token_endpoint_auth_signing_alg_values_supported if not specified. If the Authorization Server discovery document does not list token_endpoint_auth_signing_alg_values_supported this property will be required.

                                                                                                                                                            -
                                                                                                                                                            clientAssertionSigningKey?: string | CryptoKey

                                                                                                                                                            Private key for use with private_key_jwt clients. +

                                                                                                                                                            clientAssertionSigningKey?: string | CryptoKey

                                                                                                                                                            Private key for use with private_key_jwt clients. This should be a string that is the contents of a PEM file or a CryptoKey.

                                                                                                                                                            -
                                                                                                                                                            clientId?: string

                                                                                                                                                            The Auth0 client ID.

                                                                                                                                                            +
                                                                                                                                                            clientId?: string

                                                                                                                                                            The Auth0 client ID.

                                                                                                                                                            If it's not specified, it will be loaded from the AUTH0_CLIENT_ID environment variable.

                                                                                                                                                            -
                                                                                                                                                            clientSecret?: string

                                                                                                                                                            The Auth0 client secret.

                                                                                                                                                            +
                                                                                                                                                            clientSecret?: string

                                                                                                                                                            The Auth0 client secret.

                                                                                                                                                            If it's not specified, it will be loaded from the AUTH0_CLIENT_SECRET environment variable.

                                                                                                                                                            -
                                                                                                                                                            domain?: string

                                                                                                                                                            The Auth0 domain for the tenant (e.g.: example.us.auth0.com).

                                                                                                                                                            +
                                                                                                                                                            domain?: string

                                                                                                                                                            The Auth0 domain for the tenant (e.g.: example.us.auth0.com).

                                                                                                                                                            If it's not specified, it will be loaded from the AUTH0_DOMAIN environment variable.

                                                                                                                                                            -
                                                                                                                                                            dpopKeyPair?: DpopKeyPair

                                                                                                                                                            ES256 key pair for DPoP proof generation.

                                                                                                                                                            +
                                                                                                                                                            dpopKeyPair?: DpopKeyPair

                                                                                                                                                            ES256 key pair for DPoP proof generation.

                                                                                                                                                            If not provided when useDPoP is true, the SDK will attempt to load keys from environment variables AUTH0_DPOP_PUBLIC_KEY and AUTH0_DPOP_PRIVATE_KEY. Keys must be in PEM format and use the P-256 elliptic curve.

                                                                                                                                                            @@ -60,7 +60,7 @@
                                                                                                                                                          • DpopKeyPair for the key pair interface
                                                                                                                                                          • generateDpopKeyPair for generating new key pairs
                                                                                                                                                          • -
                                                                                                                                                            dpopOptions?: DpopOptions

                                                                                                                                                            Configuration options for DPoP timing validation and retry behavior.

                                                                                                                                                            +
                                                                                                                                                            dpopOptions?: DpopOptions

                                                                                                                                                            Configuration options for DPoP timing validation and retry behavior.

                                                                                                                                                            These options control how the SDK validates DPoP proof timing and handles nonce errors. Proper configuration is important for both security and reliability.

                                                                                                                                                            const auth0 = new Auth0Client({
                                                                                                                                                            useDPoP: true,
                                                                                                                                                            dpopOptions: {
                                                                                                                                                            clockTolerance: 60, // Allow 60 seconds clock difference
                                                                                                                                                            clockSkew: 0, // No clock adjustment needed
                                                                                                                                                            retry: {
                                                                                                                                                            delay: 200, // 200ms delay before retry
                                                                                                                                                            jitter: true // Add randomness to prevent thundering herd
                                                                                                                                                            }
                                                                                                                                                            }
                                                                                                                                                            }); @@ -70,17 +70,17 @@

                                                                                                                                                            DpopOptions for detailed option descriptions

                                                                                                                                                            -
                                                                                                                                                            enableAccessTokenEndpoint?: boolean

                                                                                                                                                            Boolean value to enable the /auth/access-token endpoint for use in the client app.

                                                                                                                                                            +
                                                                                                                                                            enableAccessTokenEndpoint?: boolean

                                                                                                                                                            Boolean value to enable the /auth/access-token endpoint for use in the client app.

                                                                                                                                                            Defaults to true.

                                                                                                                                                            NOTE: Set this to false if your client does not need to directly interact with resource servers (Token Mediating Backend). This will be false for most apps.

                                                                                                                                                            A security best practice is to disable this to avoid exposing access tokens to the client app.

                                                                                                                                                            See: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps#name-token-mediating-backend

                                                                                                                                                            -
                                                                                                                                                            enableConnectAccountEndpoint?: boolean

                                                                                                                                                            If true, the /auth/connect endpoint will be mounted to enable users to connect additional accounts.

                                                                                                                                                            -
                                                                                                                                                            enableParallelTransactions?: boolean
                                                                                                                                                            enableTelemetry?: boolean

                                                                                                                                                            Boolean value to opt-out of sending the library name and version to your authorization server +

                                                                                                                                                            enableConnectAccountEndpoint?: boolean

                                                                                                                                                            If true, the /auth/connect endpoint will be mounted to enable users to connect additional accounts.

                                                                                                                                                            +
                                                                                                                                                            enableParallelTransactions?: boolean
                                                                                                                                                            enableTelemetry?: boolean

                                                                                                                                                            Boolean value to opt-out of sending the library name and version to your authorization server via the Auth0-Client header. Defaults to true.

                                                                                                                                                            -
                                                                                                                                                            httpTimeout?: number

                                                                                                                                                            Integer value for the HTTP timeout in milliseconds for authentication requests. +

                                                                                                                                                            httpTimeout?: number

                                                                                                                                                            Integer value for the HTTP timeout in milliseconds for authentication requests. Defaults to 5000 ms.

                                                                                                                                                            -
                                                                                                                                                            includeIdTokenHintInOIDCLogoutUrl?: boolean

                                                                                                                                                            Configure whether to include id_token_hint in OIDC logout URLs.

                                                                                                                                                            +
                                                                                                                                                            includeIdTokenHintInOIDCLogoutUrl?: boolean

                                                                                                                                                            Configure whether to include id_token_hint in OIDC logout URLs.

                                                                                                                                                            Recommended (default): Set to true to include id_token_hint parameter. Auth0 recommends using id_token_hint for secure logout as per the OIDC specification.

                                                                                                                                                            @@ -91,29 +91,29 @@
                                                                                                                                                            true (recommended and backwards compatible)
                                                                                                                                                             
                                                                                                                                                            -
                                                                                                                                                            logoutStrategy?: LogoutStrategy

                                                                                                                                                            Configure the logout strategy to use.

                                                                                                                                                            +
                                                                                                                                                            logoutStrategy?: LogoutStrategy

                                                                                                                                                            Configure the logout strategy to use.

                                                                                                                                                            • 'auto' (default): Attempts OIDC RP-Initiated Logout first, falls back to /v2/logout if not supported
                                                                                                                                                            • 'oidc': Always uses OIDC RP-Initiated Logout (requires RP-Initiated Logout to be enabled)
                                                                                                                                                            • 'v2': Always uses the Auth0 /v2/logout endpoint (supports wildcards in allowed logout URLs)
                                                                                                                                                            -
                                                                                                                                                            noContentProfileResponseWhenUnauthenticated?: boolean

                                                                                                                                                            If true, the profile endpoint will return a 204 No Content response when the user is not authenticated +

                                                                                                                                                            noContentProfileResponseWhenUnauthenticated?: boolean

                                                                                                                                                            If true, the profile endpoint will return a 204 No Content response when the user is not authenticated instead of returning a 401 Unauthorized response.

                                                                                                                                                            Defaults to false.

                                                                                                                                                            -
                                                                                                                                                            onCallback?: OnCallbackHook

                                                                                                                                                            A method to handle errors or manage redirects after attempting to authenticate.

                                                                                                                                                            +
                                                                                                                                                            onCallback?: OnCallbackHook

                                                                                                                                                            A method to handle errors or manage redirects after attempting to authenticate.

                                                                                                                                                            See onCallback for additional details

                                                                                                                                                            -
                                                                                                                                                            pushedAuthorizationRequests?: boolean

                                                                                                                                                            If enabled, the SDK will use the Pushed Authorization Requests (PAR) protocol when communicating with the authorization server.

                                                                                                                                                            -
                                                                                                                                                            routes?: Partial<
                                                                                                                                                                Pick<
                                                                                                                                                                    Routes,
                                                                                                                                                                    "login"
                                                                                                                                                                    | "callback"
                                                                                                                                                                    | "logout"
                                                                                                                                                                    | "backChannelLogout"
                                                                                                                                                                    | "connectAccount",
                                                                                                                                                                >,
                                                                                                                                                            >

                                                                                                                                                            Configure the paths for the authentication routes.

                                                                                                                                                            +
                                                                                                                                                            pushedAuthorizationRequests?: boolean

                                                                                                                                                            If enabled, the SDK will use the Pushed Authorization Requests (PAR) protocol when communicating with the authorization server.

                                                                                                                                                            +
                                                                                                                                                            routes?: Partial<
                                                                                                                                                                Pick<
                                                                                                                                                                    Routes,
                                                                                                                                                                    "login"
                                                                                                                                                                    | "callback"
                                                                                                                                                                    | "logout"
                                                                                                                                                                    | "backChannelLogout"
                                                                                                                                                                    | "connectAccount",
                                                                                                                                                                >,
                                                                                                                                                            >

                                                                                                                                                            Configure the paths for the authentication routes.

                                                                                                                                                            See Custom routes for additional details.

                                                                                                                                                            -
                                                                                                                                                            secret?: string

                                                                                                                                                            A 32-byte, hex-encoded secret used for encrypting cookies.

                                                                                                                                                            +
                                                                                                                                                            secret?: string

                                                                                                                                                            A 32-byte, hex-encoded secret used for encrypting cookies.

                                                                                                                                                            If it's not specified, it will be loaded from the AUTH0_SECRET environment variable.

                                                                                                                                                            -

                                                                                                                                                            Configure the session timeouts and whether to use rolling sessions or not.

                                                                                                                                                            +

                                                                                                                                                            Configure the session timeouts and whether to use rolling sessions or not.

                                                                                                                                                            See Session configuration for additional details.

                                                                                                                                                            -
                                                                                                                                                            sessionStore?: SessionDataStore

                                                                                                                                                            A custom session store implementation used to persist sessions to a data store.

                                                                                                                                                            +
                                                                                                                                                            sessionStore?: SessionDataStore

                                                                                                                                                            A custom session store implementation used to persist sessions to a data store.

                                                                                                                                                            See Database sessions for additional details.

                                                                                                                                                            -
                                                                                                                                                            signInReturnToPath?: string

                                                                                                                                                            The path to redirect the user to after successfully authenticating. Defaults to /.

                                                                                                                                                            -
                                                                                                                                                            transactionCookie?: TransactionCookieOptions

                                                                                                                                                            Configure the transaction cookie used to store the state of the authentication transaction.

                                                                                                                                                            -
                                                                                                                                                            useDPoP?: boolean

                                                                                                                                                            Enable DPoP (Demonstrating Proof-of-Possession) for enhanced OAuth 2.0 security.

                                                                                                                                                            +
                                                                                                                                                            signInReturnToPath?: string

                                                                                                                                                            The path to redirect the user to after successfully authenticating. Defaults to /.

                                                                                                                                                            +
                                                                                                                                                            transactionCookie?: TransactionCookieOptions

                                                                                                                                                            Configure the transaction cookie used to store the state of the authentication transaction.

                                                                                                                                                            +
                                                                                                                                                            useDPoP?: boolean

                                                                                                                                                            Enable DPoP (Demonstrating Proof-of-Possession) for enhanced OAuth 2.0 security.

                                                                                                                                                            When enabled, the SDK will:

                                                                                                                                                            • Generate DPoP proofs for token requests and protected resource requests
                                                                                                                                                            • @@ -133,4 +133,4 @@
                                                                                                                                                            +
                                                                                                                                                            diff --git a/docs/interfaces/types.AuthClientOptions.html b/docs/interfaces/types.AuthClientOptions.html index fd8bf6e9d..8c72774f9 100644 --- a/docs/interfaces/types.AuthClientOptions.html +++ b/docs/interfaces/types.AuthClientOptions.html @@ -1,4 +1,4 @@ -AuthClientOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Interface AuthClientOptions

                                                                                                                                                              interface AuthClientOptions {
                                                                                                                                                                  allowInsecureRequests?: boolean;
                                                                                                                                                                  appBaseUrl: string;
                                                                                                                                                                  authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                  beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                                  clientAssertionSigningAlg?: string;
                                                                                                                                                                  clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                                  clientId: string;
                                                                                                                                                                  clientSecret?: string;
                                                                                                                                                                  domain: string;
                                                                                                                                                                  dpopKeyPair?: DpopKeyPair;
                                                                                                                                                                  dpopOptions?: DpopOptions;
                                                                                                                                                                  enableAccessTokenEndpoint?: boolean;
                                                                                                                                                                  enableConnectAccountEndpoint?: boolean;
                                                                                                                                                                  enableTelemetry?: boolean;
                                                                                                                                                                  fetch?: {
                                                                                                                                                                      (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                      (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                                  };
                                                                                                                                                                  httpTimeout?: number;
                                                                                                                                                                  includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                                  jwksCache?: JWKSCacheInput;
                                                                                                                                                                  logoutStrategy?: LogoutStrategy;
                                                                                                                                                                  noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                                  onCallback?: OnCallbackHook;
                                                                                                                                                                  pushedAuthorizationRequests?: boolean;
                                                                                                                                                                  routes: Routes;
                                                                                                                                                                  secret: string;
                                                                                                                                                                  sessionStore: AbstractSessionStore;
                                                                                                                                                                  signInReturnToPath?: string;
                                                                                                                                                                  transactionStore: TransactionStore;
                                                                                                                                                                  useDPoP?: boolean;
                                                                                                                                                              }
                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              allowInsecureRequests? +AuthClientOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Interface AuthClientOptions

                                                                                                                                                                interface AuthClientOptions {
                                                                                                                                                                    allowInsecureRequests?: boolean;
                                                                                                                                                                    appBaseUrl: string;
                                                                                                                                                                    authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                    beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                                    clientAssertionSigningAlg?: string;
                                                                                                                                                                    clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                                    clientId: string;
                                                                                                                                                                    clientSecret?: string;
                                                                                                                                                                    domain: string;
                                                                                                                                                                    dpopKeyPair?: DpopKeyPair;
                                                                                                                                                                    dpopOptions?: DpopOptions;
                                                                                                                                                                    enableAccessTokenEndpoint?: boolean;
                                                                                                                                                                    enableConnectAccountEndpoint?: boolean;
                                                                                                                                                                    enableTelemetry?: boolean;
                                                                                                                                                                    fetch?: {
                                                                                                                                                                        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                                    };
                                                                                                                                                                    httpTimeout?: number;
                                                                                                                                                                    includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                                    jwksCache?: JWKSCacheInput;
                                                                                                                                                                    logoutStrategy?: LogoutStrategy;
                                                                                                                                                                    noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                                    onCallback?: OnCallbackHook;
                                                                                                                                                                    pushedAuthorizationRequests?: boolean;
                                                                                                                                                                    routes: Routes;
                                                                                                                                                                    secret: string;
                                                                                                                                                                    sessionStore: AbstractSessionStore;
                                                                                                                                                                    signInReturnToPath?: string;
                                                                                                                                                                    transactionStore: TransactionStore;
                                                                                                                                                                    useDPoP?: boolean;
                                                                                                                                                                }
                                                                                                                                                                Index

                                                                                                                                                                Properties

                                                                                                                                                                allowInsecureRequests?: boolean
                                                                                                                                                                appBaseUrl: string
                                                                                                                                                                authorizationParameters?: AuthorizationParameters
                                                                                                                                                                beforeSessionSaved?: BeforeSessionSavedHook
                                                                                                                                                                clientAssertionSigningAlg?: string
                                                                                                                                                                clientAssertionSigningKey?: string | CryptoKey
                                                                                                                                                                clientId: string
                                                                                                                                                                clientSecret?: string
                                                                                                                                                                domain: string
                                                                                                                                                                dpopKeyPair?: DpopKeyPair
                                                                                                                                                                dpopOptions?: DpopOptions
                                                                                                                                                                enableAccessTokenEndpoint?: boolean
                                                                                                                                                                enableConnectAccountEndpoint?: boolean
                                                                                                                                                                enableTelemetry?: boolean
                                                                                                                                                                fetch?: {
                                                                                                                                                                    (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                    (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                                }

                                                                                                                                                                Type Declaration

                                                                                                                                                                  • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>

                                                                                                                                                                Properties

                                                                                                                                                                allowInsecureRequests?: boolean
                                                                                                                                                                appBaseUrl: string
                                                                                                                                                                authorizationParameters?: AuthorizationParameters
                                                                                                                                                                beforeSessionSaved?: BeforeSessionSavedHook
                                                                                                                                                                clientAssertionSigningAlg?: string
                                                                                                                                                                clientAssertionSigningKey?: string | CryptoKey
                                                                                                                                                                clientId: string
                                                                                                                                                                clientSecret?: string
                                                                                                                                                                domain: string
                                                                                                                                                                dpopKeyPair?: DpopKeyPair
                                                                                                                                                                dpopOptions?: DpopOptions
                                                                                                                                                                enableAccessTokenEndpoint?: boolean
                                                                                                                                                                enableConnectAccountEndpoint?: boolean
                                                                                                                                                                enableTelemetry?: boolean
                                                                                                                                                                fetch?: {
                                                                                                                                                                    (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                    (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                                }

                                                                                                                                                                Type Declaration

                                                                                                                                                                  • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
                                                                                                                                                                  • Parameters

                                                                                                                                                                    • input: URL | RequestInfo
                                                                                                                                                                    • Optionalinit: RequestInit

                                                                                                                                                                    Returns Promise<Response>

                                                                                                                                                                  • (input: string | Request | URL, init?: RequestInit): Promise<Response>
                                                                                                                                                                  • Parameters

                                                                                                                                                                    • input: string | Request | URL
                                                                                                                                                                    • Optionalinit: RequestInit

                                                                                                                                                                    Returns Promise<Response>

                                                                                                                                                                httpTimeout?: number
                                                                                                                                                                includeIdTokenHintInOIDCLogoutUrl?: boolean
                                                                                                                                                                jwksCache?: JWKSCacheInput
                                                                                                                                                                logoutStrategy?: LogoutStrategy
                                                                                                                                                                noContentProfileResponseWhenUnauthenticated?: boolean
                                                                                                                                                                onCallback?: OnCallbackHook
                                                                                                                                                                pushedAuthorizationRequests?: boolean
                                                                                                                                                                routes: Routes
                                                                                                                                                                secret: string
                                                                                                                                                                sessionStore: AbstractSessionStore
                                                                                                                                                                signInReturnToPath?: string
                                                                                                                                                                transactionStore: TransactionStore
                                                                                                                                                                useDPoP?: boolean
                                                                                                                                                                +

                                                                                                                                                                Parameters

                                                                                                                                                                Returns Promise<Response>

                                                                                                                                                                httpTimeout?: number
                                                                                                                                                                includeIdTokenHintInOIDCLogoutUrl?: boolean
                                                                                                                                                                jwksCache?: JWKSCacheInput
                                                                                                                                                                logoutStrategy?: LogoutStrategy
                                                                                                                                                                noContentProfileResponseWhenUnauthenticated?: boolean
                                                                                                                                                                onCallback?: OnCallbackHook
                                                                                                                                                                pushedAuthorizationRequests?: boolean
                                                                                                                                                                routes: Routes
                                                                                                                                                                secret: string
                                                                                                                                                                sessionStore: AbstractSessionStore
                                                                                                                                                                signInReturnToPath?: string
                                                                                                                                                                transactionStore: TransactionStore
                                                                                                                                                                useDPoP?: boolean
                                                                                                                                                                diff --git a/docs/interfaces/types.AuthorizationDetails.html b/docs/interfaces/types.AuthorizationDetails.html index 2db310854..f2c5a81eb 100644 --- a/docs/interfaces/types.AuthorizationDetails.html +++ b/docs/interfaces/types.AuthorizationDetails.html @@ -1,2 +1,2 @@ -AuthorizationDetails | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Interface AuthorizationDetails

                                                                                                                                                                  interface AuthorizationDetails {
                                                                                                                                                                      type: string;
                                                                                                                                                                      readonly [parameter: string]: unknown;
                                                                                                                                                                  }

                                                                                                                                                                  Indexable

                                                                                                                                                                  • readonly [parameter: string]: unknown
                                                                                                                                                                  Index

                                                                                                                                                                  Properties

                                                                                                                                                                  Properties

                                                                                                                                                                  type: string
                                                                                                                                                                  +AuthorizationDetails | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Interface AuthorizationDetails

                                                                                                                                                                    interface AuthorizationDetails {
                                                                                                                                                                        type: string;
                                                                                                                                                                        readonly [parameter: string]: unknown;
                                                                                                                                                                    }

                                                                                                                                                                    Indexable

                                                                                                                                                                    • readonly [parameter: string]: unknown
                                                                                                                                                                    Index

                                                                                                                                                                    Properties

                                                                                                                                                                    Properties

                                                                                                                                                                    type: string
                                                                                                                                                                    diff --git a/docs/interfaces/types.AuthorizationParameters.html b/docs/interfaces/types.AuthorizationParameters.html index 3b90c0e52..8b88efd37 100644 --- a/docs/interfaces/types.AuthorizationParameters.html +++ b/docs/interfaces/types.AuthorizationParameters.html @@ -1,15 +1,15 @@ -AuthorizationParameters | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Interface AuthorizationParameters

                                                                                                                                                                      interface AuthorizationParameters {
                                                                                                                                                                          audience?: string | null;
                                                                                                                                                                          max_age?: number;
                                                                                                                                                                          organization?: string;
                                                                                                                                                                          redirect_uri?: string | null;
                                                                                                                                                                          scope?: string | { [key: string]: string } | null;
                                                                                                                                                                          [key: string]: unknown;
                                                                                                                                                                      }

                                                                                                                                                                      Indexable

                                                                                                                                                                      • [key: string]: unknown

                                                                                                                                                                        Additional authorization parameters.

                                                                                                                                                                        -
                                                                                                                                                                      Index

                                                                                                                                                                      Properties

                                                                                                                                                                      audience? +AuthorizationParameters | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Interface AuthorizationParameters

                                                                                                                                                                        interface AuthorizationParameters {
                                                                                                                                                                            audience?: string | null;
                                                                                                                                                                            max_age?: number;
                                                                                                                                                                            organization?: string;
                                                                                                                                                                            redirect_uri?: string | null;
                                                                                                                                                                            scope?: string | { [key: string]: string } | null;
                                                                                                                                                                            [key: string]: unknown;
                                                                                                                                                                        }

                                                                                                                                                                        Indexable

                                                                                                                                                                        • [key: string]: unknown

                                                                                                                                                                          Additional authorization parameters.

                                                                                                                                                                          +
                                                                                                                                                                        Index

                                                                                                                                                                        Properties

                                                                                                                                                                        audience?: string | null

                                                                                                                                                                        The unique identifier of the target API you want to access.

                                                                                                                                                                        -
                                                                                                                                                                        max_age?: number

                                                                                                                                                                        The maximum amount of time, in seconds, after which a user must reauthenticate.

                                                                                                                                                                        -
                                                                                                                                                                        organization?: string

                                                                                                                                                                        The unique identifier of the organization that the user should be logged into. +

                                                                                                                                                                        max_age?: number

                                                                                                                                                                        The maximum amount of time, in seconds, after which a user must reauthenticate.

                                                                                                                                                                        +
                                                                                                                                                                        organization?: string

                                                                                                                                                                        The unique identifier of the organization that the user should be logged into. When specified, the user will be prompted to log in to this specific organization. The organization ID will be included in the user's session after successful authentication.

                                                                                                                                                                        -
                                                                                                                                                                        redirect_uri?: string | null

                                                                                                                                                                        The URL to which the authorization server will redirect the user after granting authorization.

                                                                                                                                                                        -
                                                                                                                                                                        scope?: string | { [key: string]: string } | null

                                                                                                                                                                        The scope of the access request, expressed as a list of space-delimited, case-sensitive strings. +

                                                                                                                                                                        redirect_uri?: string | null

                                                                                                                                                                        The URL to which the authorization server will redirect the user after granting authorization.

                                                                                                                                                                        +
                                                                                                                                                                        scope?: string | { [key: string]: string } | null

                                                                                                                                                                        The scope of the access request, expressed as a list of space-delimited, case-sensitive strings. Defaults to "openid profile email offline_access".

                                                                                                                                                                        -
                                                                                                                                                                        +
                                                                                                                                                                        diff --git a/docs/interfaces/types.BackchannelAuthenticationOptions.html b/docs/interfaces/types.BackchannelAuthenticationOptions.html index 82fb78a2e..6cdf9a330 100644 --- a/docs/interfaces/types.BackchannelAuthenticationOptions.html +++ b/docs/interfaces/types.BackchannelAuthenticationOptions.html @@ -1,14 +1,14 @@ -BackchannelAuthenticationOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Interface BackchannelAuthenticationOptions

                                                                                                                                                                          interface BackchannelAuthenticationOptions {
                                                                                                                                                                              authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                              authorizationParams?: AuthorizationParameters;
                                                                                                                                                                              bindingMessage: string;
                                                                                                                                                                              loginHint: { sub: string };
                                                                                                                                                                              requestedExpiry?: number;
                                                                                                                                                                          }
                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          authorizationDetails? +BackchannelAuthenticationOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Interface BackchannelAuthenticationOptions

                                                                                                                                                                            interface BackchannelAuthenticationOptions {
                                                                                                                                                                                authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                                authorizationParams?: AuthorizationParameters;
                                                                                                                                                                                bindingMessage: string;
                                                                                                                                                                                loginHint: { sub: string };
                                                                                                                                                                                requestedExpiry?: number;
                                                                                                                                                                            }
                                                                                                                                                                            Index

                                                                                                                                                                            Properties

                                                                                                                                                                            authorizationDetails?: AuthorizationDetails[]

                                                                                                                                                                            Optional authorization details to use Rich Authorization Requests (RAR).

                                                                                                                                                                            authorizationParams?: AuthorizationParameters

                                                                                                                                                                            Authorization Parameters to be sent with the authorization request.

                                                                                                                                                                            -
                                                                                                                                                                            bindingMessage: string

                                                                                                                                                                            Human-readable message to be displayed at the consumption device and authentication device. +

                                                                                                                                                                            authorizationParams?: AuthorizationParameters

                                                                                                                                                                            Authorization Parameters to be sent with the authorization request.

                                                                                                                                                                            +
                                                                                                                                                                            bindingMessage: string

                                                                                                                                                                            Human-readable message to be displayed at the consumption device and authentication device. This allows the user to ensure the transaction initiated by the consumption device is the same that triggers the action on the authentication device.

                                                                                                                                                                            -
                                                                                                                                                                            loginHint: { sub: string }

                                                                                                                                                                            The login hint to inform which user to use.

                                                                                                                                                                            +
                                                                                                                                                                            loginHint: { sub: string }

                                                                                                                                                                            The login hint to inform which user to use.

                                                                                                                                                                            Type Declaration

                                                                                                                                                                            • sub: string

                                                                                                                                                                              The sub claim of the user that is trying to login using Client-Initiated Backchannel Authentication, and to which a push notification to authorize the login will be sent.

                                                                                                                                                                              -
                                                                                                                                                                            requestedExpiry?: number

                                                                                                                                                                            Set a custom expiry time for the CIBA flow in seconds. Defaults to 300 seconds (5 minutes) if not set.

                                                                                                                                                                            -
                                                                                                                                                                            +
                                                                                                                                                                            requestedExpiry?: number

                                                                                                                                                                            Set a custom expiry time for the CIBA flow in seconds. Defaults to 300 seconds (5 minutes) if not set.

                                                                                                                                                                            +
                                                                                                                                                                            diff --git a/docs/interfaces/types.BackchannelAuthenticationResponse.html b/docs/interfaces/types.BackchannelAuthenticationResponse.html index b3aeee5a2..812a8dd66 100644 --- a/docs/interfaces/types.BackchannelAuthenticationResponse.html +++ b/docs/interfaces/types.BackchannelAuthenticationResponse.html @@ -1,4 +1,4 @@ -BackchannelAuthenticationResponse | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Interface BackchannelAuthenticationResponse

                                                                                                                                                                              interface BackchannelAuthenticationResponse {
                                                                                                                                                                                  authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                                  idTokenClaims?: { [key: string]: any };
                                                                                                                                                                                  tokenSet: TokenSet;
                                                                                                                                                                              }
                                                                                                                                                                              Index

                                                                                                                                                                              Properties

                                                                                                                                                                              authorizationDetails? +BackchannelAuthenticationResponse | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Interface BackchannelAuthenticationResponse

                                                                                                                                                                                interface BackchannelAuthenticationResponse {
                                                                                                                                                                                    authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                                    idTokenClaims?: { [key: string]: any };
                                                                                                                                                                                    tokenSet: TokenSet;
                                                                                                                                                                                }
                                                                                                                                                                                Index

                                                                                                                                                                                Properties

                                                                                                                                                                                authorizationDetails?: AuthorizationDetails[]
                                                                                                                                                                                idTokenClaims?: { [key: string]: any }
                                                                                                                                                                                tokenSet: TokenSet
                                                                                                                                                                                +

                                                                                                                                                                                Properties

                                                                                                                                                                                authorizationDetails?: AuthorizationDetails[]
                                                                                                                                                                                idTokenClaims?: { [key: string]: any }
                                                                                                                                                                                tokenSet: TokenSet
                                                                                                                                                                                diff --git a/docs/interfaces/types.ConnectAccountOptions.html b/docs/interfaces/types.ConnectAccountOptions.html index c3e701595..e78719ac1 100644 --- a/docs/interfaces/types.ConnectAccountOptions.html +++ b/docs/interfaces/types.ConnectAccountOptions.html @@ -1,11 +1,11 @@ -ConnectAccountOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Interface ConnectAccountOptions

                                                                                                                                                                                  Options to initiate a connect account flow using the My Account API.

                                                                                                                                                                                  +ConnectAccountOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Interface ConnectAccountOptions

                                                                                                                                                                                    Options to initiate a connect account flow using the My Account API.

                                                                                                                                                                                    interface ConnectAccountOptions {
                                                                                                                                                                                        authorizationParams?: AuthorizationParameters;
                                                                                                                                                                                        connection: string;
                                                                                                                                                                                        returnTo?: string;
                                                                                                                                                                                        scopes?: string[];
                                                                                                                                                                                    }
                                                                                                                                                                                    Index
                                                                                                                                                                                    interface ConnectAccountOptions {
                                                                                                                                                                                        authorizationParams?: AuthorizationParameters;
                                                                                                                                                                                        connection: string;
                                                                                                                                                                                        returnTo?: string;
                                                                                                                                                                                        scopes?: string[];
                                                                                                                                                                                    }
                                                                                                                                                                                    Index

                                                                                                                                                                                    Properties

                                                                                                                                                                                    authorizationParams?: AuthorizationParameters

                                                                                                                                                                                    Authorization parameters to be passed to the authorization server.

                                                                                                                                                                                    -
                                                                                                                                                                                    connection: string

                                                                                                                                                                                    The name of the connection to link the account with (e.g., 'google-oauth2', 'facebook').

                                                                                                                                                                                    -
                                                                                                                                                                                    returnTo?: string

                                                                                                                                                                                    The URL to redirect to after successfully connecting the account.

                                                                                                                                                                                    -
                                                                                                                                                                                    scopes?: string[]

                                                                                                                                                                                    Array of scopes to request from the Identity Provider during the connect account flow.

                                                                                                                                                                                    -
                                                                                                                                                                                    +
                                                                                                                                                                                    connection: string

                                                                                                                                                                                    The name of the connection to link the account with (e.g., 'google-oauth2', 'facebook').

                                                                                                                                                                                    +
                                                                                                                                                                                    returnTo?: string

                                                                                                                                                                                    The URL to redirect to after successfully connecting the account.

                                                                                                                                                                                    +
                                                                                                                                                                                    scopes?: string[]

                                                                                                                                                                                    Array of scopes to request from the Identity Provider during the connect account flow.

                                                                                                                                                                                    +
                                                                                                                                                                                    diff --git a/docs/interfaces/types.ConnectionTokenSet.html b/docs/interfaces/types.ConnectionTokenSet.html index f2a96d2b4..63cf453a3 100644 --- a/docs/interfaces/types.ConnectionTokenSet.html +++ b/docs/interfaces/types.ConnectionTokenSet.html @@ -1,5 +1,5 @@ -ConnectionTokenSet | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Interface ConnectionTokenSet

                                                                                                                                                                                      interface ConnectionTokenSet {
                                                                                                                                                                                          accessToken: string;
                                                                                                                                                                                          connection: string;
                                                                                                                                                                                          expiresAt: number;
                                                                                                                                                                                          scope?: string;
                                                                                                                                                                                          [key: string]: unknown;
                                                                                                                                                                                      }

                                                                                                                                                                                      Indexable

                                                                                                                                                                                      • [key: string]: unknown
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      accessToken +ConnectionTokenSet | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Interface ConnectionTokenSet

                                                                                                                                                                                        interface ConnectionTokenSet {
                                                                                                                                                                                            accessToken: string;
                                                                                                                                                                                            connection: string;
                                                                                                                                                                                            expiresAt: number;
                                                                                                                                                                                            scope?: string;
                                                                                                                                                                                            [key: string]: unknown;
                                                                                                                                                                                        }

                                                                                                                                                                                        Indexable

                                                                                                                                                                                        • [key: string]: unknown
                                                                                                                                                                                        Index

                                                                                                                                                                                        Properties

                                                                                                                                                                                        accessToken: string
                                                                                                                                                                                        connection: string
                                                                                                                                                                                        expiresAt: number
                                                                                                                                                                                        scope?: string
                                                                                                                                                                                        +

                                                                                                                                                                                        Properties

                                                                                                                                                                                        accessToken: string
                                                                                                                                                                                        connection: string
                                                                                                                                                                                        expiresAt: number
                                                                                                                                                                                        scope?: string
                                                                                                                                                                                        diff --git a/docs/interfaces/types.CookieOptions.html b/docs/interfaces/types.CookieOptions.html index 5666daddc..fe3f14564 100644 --- a/docs/interfaces/types.CookieOptions.html +++ b/docs/interfaces/types.CookieOptions.html @@ -1,8 +1,8 @@ -CookieOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Interface CookieOptions

                                                                                                                                                                                          interface CookieOptions {
                                                                                                                                                                                              domain?: string;
                                                                                                                                                                                              httpOnly: boolean;
                                                                                                                                                                                              maxAge?: number;
                                                                                                                                                                                              path: string;
                                                                                                                                                                                              sameSite: "lax" | "strict" | "none";
                                                                                                                                                                                              secure: boolean;
                                                                                                                                                                                              transient?: boolean;
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          domain? +CookieOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Interface CookieOptions

                                                                                                                                                                                            interface CookieOptions {
                                                                                                                                                                                                domain?: string;
                                                                                                                                                                                                httpOnly: boolean;
                                                                                                                                                                                                maxAge?: number;
                                                                                                                                                                                                path: string;
                                                                                                                                                                                                sameSite: "lax" | "strict" | "none";
                                                                                                                                                                                                secure: boolean;
                                                                                                                                                                                                transient?: boolean;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            domain?: string
                                                                                                                                                                                            httpOnly: boolean
                                                                                                                                                                                            maxAge?: number
                                                                                                                                                                                            path: string
                                                                                                                                                                                            sameSite: "lax" | "strict" | "none"
                                                                                                                                                                                            secure: boolean
                                                                                                                                                                                            transient?: boolean
                                                                                                                                                                                            +

                                                                                                                                                                                            Properties

                                                                                                                                                                                            domain?: string
                                                                                                                                                                                            httpOnly: boolean
                                                                                                                                                                                            maxAge?: number
                                                                                                                                                                                            path: string
                                                                                                                                                                                            sameSite: "lax" | "strict" | "none"
                                                                                                                                                                                            secure: boolean
                                                                                                                                                                                            transient?: boolean
                                                                                                                                                                                            diff --git a/docs/interfaces/types.CustomTokenExchangeOptions.html b/docs/interfaces/types.CustomTokenExchangeOptions.html new file mode 100644 index 000000000..1d28082fe --- /dev/null +++ b/docs/interfaces/types.CustomTokenExchangeOptions.html @@ -0,0 +1,43 @@ +CustomTokenExchangeOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Interface CustomTokenExchangeOptions

                                                                                                                                                                                              Options for Custom Token Exchange.

                                                                                                                                                                                              +

                                                                                                                                                                                              Custom Token Exchange allows exchanging external tokens for Auth0 tokens +without a browser redirect. The external token is validated by an Auth0 Action +with the Custom Token Exchange trigger.

                                                                                                                                                                                              +
                                                                                                                                                                                              interface CustomTokenExchangeOptions {
                                                                                                                                                                                                  actorToken?: string;
                                                                                                                                                                                                  actorTokenType?: string;
                                                                                                                                                                                                  additionalParameters?: Record<string, unknown>;
                                                                                                                                                                                                  audience?: string;
                                                                                                                                                                                                  organization?: string;
                                                                                                                                                                                                  scope?: string;
                                                                                                                                                                                                  subjectToken: string;
                                                                                                                                                                                                  subjectTokenType: string;
                                                                                                                                                                                              }
                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              actorToken?: string

                                                                                                                                                                                              Actor token for delegation/impersonation scenarios (RFC 8693). +Represents the identity of the acting party.

                                                                                                                                                                                              +

                                                                                                                                                                                              If provided, actorTokenType is required.

                                                                                                                                                                                              +
                                                                                                                                                                                              actorTokenType?: string

                                                                                                                                                                                              Actor token type URI (required if actorToken is provided).

                                                                                                                                                                                              +
                                                                                                                                                                                              additionalParameters?: Record<string, unknown>

                                                                                                                                                                                              Additional custom parameters passed to the token endpoint. +Accessible in Auth0 Action via event.request.body.

                                                                                                                                                                                              +

                                                                                                                                                                                              Use this for custom parameters instead of index signature to avoid TypeScript issues.

                                                                                                                                                                                              +
                                                                                                                                                                                              audience?: string

                                                                                                                                                                                              The unique identifier of the target API.

                                                                                                                                                                                              +
                                                                                                                                                                                              organization?: string

                                                                                                                                                                                              Organization ID or name for multi-tenant scenarios. +The organization ID will be present in the resulting access token claims.

                                                                                                                                                                                              +
                                                                                                                                                                                              scope?: string

                                                                                                                                                                                              Space-delimited OAuth 2.0 scopes.

                                                                                                                                                                                              +

                                                                                                                                                                                              Note: These scopes are merged with SDK default scopes +(openid profile email offline_access). Duplicates are removed.

                                                                                                                                                                                              +
                                                                                                                                                                                              subjectToken: string

                                                                                                                                                                                              The external token being exchanged. +This will be validated by your Auth0 Action with the Custom Token Exchange trigger.

                                                                                                                                                                                              +

                                                                                                                                                                                              Validation: Must be a non-empty string.

                                                                                                                                                                                              +
                                                                                                                                                                                              subjectTokenType: string

                                                                                                                                                                                              Custom URI identifying the token type.

                                                                                                                                                                                              +

                                                                                                                                                                                              Validation Rules:

                                                                                                                                                                                              +
                                                                                                                                                                                                +
                                                                                                                                                                                              • Must be 10-100 characters
                                                                                                                                                                                              • +
                                                                                                                                                                                              • Must be a valid URI (URL or URN format)
                                                                                                                                                                                              • +
                                                                                                                                                                                              +

                                                                                                                                                                                              Note: Reserved namespaces are validated by Auth0 when creating CTE profiles.

                                                                                                                                                                                              +
                                                                                                                                                                                              'urn:acme:legacy-token'
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              'https://mycompany.com/token-type/v1'
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              diff --git a/docs/interfaces/types.CustomTokenExchangeResponse.html b/docs/interfaces/types.CustomTokenExchangeResponse.html new file mode 100644 index 000000000..f2a9cbdb8 --- /dev/null +++ b/docs/interfaces/types.CustomTokenExchangeResponse.html @@ -0,0 +1,14 @@ +CustomTokenExchangeResponse | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                Interface CustomTokenExchangeResponse

                                                                                                                                                                                                Response from Custom Token Exchange.

                                                                                                                                                                                                +
                                                                                                                                                                                                interface CustomTokenExchangeResponse {
                                                                                                                                                                                                    accessToken: string;
                                                                                                                                                                                                    expiresIn: number;
                                                                                                                                                                                                    idToken?: string;
                                                                                                                                                                                                    refreshToken?: string;
                                                                                                                                                                                                    scope?: string;
                                                                                                                                                                                                    tokenType: string;
                                                                                                                                                                                                }
                                                                                                                                                                                                Index

                                                                                                                                                                                                Properties

                                                                                                                                                                                                accessToken: string

                                                                                                                                                                                                The access token issued by Auth0

                                                                                                                                                                                                +
                                                                                                                                                                                                expiresIn: number

                                                                                                                                                                                                Token lifetime in seconds

                                                                                                                                                                                                +
                                                                                                                                                                                                idToken?: string

                                                                                                                                                                                                The ID token, if openid scope was requested

                                                                                                                                                                                                +
                                                                                                                                                                                                refreshToken?: string

                                                                                                                                                                                                The refresh token, if offline_access scope was requested

                                                                                                                                                                                                +
                                                                                                                                                                                                scope?: string

                                                                                                                                                                                                Granted scopes

                                                                                                                                                                                                +
                                                                                                                                                                                                tokenType: string

                                                                                                                                                                                                Token type, typically "Bearer" or "DPoP"

                                                                                                                                                                                                +
                                                                                                                                                                                                diff --git a/docs/interfaces/types.Routes.html b/docs/interfaces/types.Routes.html index 03d111497..4eb9ea2e9 100644 --- a/docs/interfaces/types.Routes.html +++ b/docs/interfaces/types.Routes.html @@ -1,8 +1,8 @@ -Routes | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Interface Routes

                                                                                                                                                                                                  interface Routes {
                                                                                                                                                                                                      accessToken: string;
                                                                                                                                                                                                      backChannelLogout: string;
                                                                                                                                                                                                      callback: string;
                                                                                                                                                                                                      connectAccount: string;
                                                                                                                                                                                                      login: string;
                                                                                                                                                                                                      logout: string;
                                                                                                                                                                                                      profile: string;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  accessToken +Routes | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                    Interface Routes

                                                                                                                                                                                                    interface Routes {
                                                                                                                                                                                                        accessToken: string;
                                                                                                                                                                                                        backChannelLogout: string;
                                                                                                                                                                                                        callback: string;
                                                                                                                                                                                                        connectAccount: string;
                                                                                                                                                                                                        login: string;
                                                                                                                                                                                                        logout: string;
                                                                                                                                                                                                        profile: string;
                                                                                                                                                                                                    }
                                                                                                                                                                                                    Index

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    accessToken: string
                                                                                                                                                                                                    backChannelLogout: string
                                                                                                                                                                                                    callback: string
                                                                                                                                                                                                    connectAccount: string
                                                                                                                                                                                                    login: string
                                                                                                                                                                                                    logout: string
                                                                                                                                                                                                    profile: string
                                                                                                                                                                                                    +

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    accessToken: string
                                                                                                                                                                                                    backChannelLogout: string
                                                                                                                                                                                                    callback: string
                                                                                                                                                                                                    connectAccount: string
                                                                                                                                                                                                    login: string
                                                                                                                                                                                                    logout: string
                                                                                                                                                                                                    profile: string
                                                                                                                                                                                                    diff --git a/docs/interfaces/types.SessionConfiguration.html b/docs/interfaces/types.SessionConfiguration.html index e84dfb131..6b3aae9a9 100644 --- a/docs/interfaces/types.SessionConfiguration.html +++ b/docs/interfaces/types.SessionConfiguration.html @@ -1,16 +1,16 @@ -SessionConfiguration | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Interface SessionConfiguration

                                                                                                                                                                                                      interface SessionConfiguration {
                                                                                                                                                                                                          absoluteDuration?: number;
                                                                                                                                                                                                          cookie?: SessionCookieOptions;
                                                                                                                                                                                                          inactivityDuration?: number;
                                                                                                                                                                                                          rolling?: boolean;
                                                                                                                                                                                                      }

                                                                                                                                                                                                      Hierarchy (View Summary)

                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      absoluteDuration? +SessionConfiguration | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Interface SessionConfiguration

                                                                                                                                                                                                        interface SessionConfiguration {
                                                                                                                                                                                                            absoluteDuration?: number;
                                                                                                                                                                                                            cookie?: SessionCookieOptions;
                                                                                                                                                                                                            inactivityDuration?: number;
                                                                                                                                                                                                            rolling?: boolean;
                                                                                                                                                                                                        }

                                                                                                                                                                                                        Hierarchy (View Summary)

                                                                                                                                                                                                        Index

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        absoluteDuration?: number

                                                                                                                                                                                                        The absolute duration after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                        Once the absolute duration has been reached, the session will no longer be extended.

                                                                                                                                                                                                        Default: 3 days.

                                                                                                                                                                                                        -

                                                                                                                                                                                                        The options for the session cookie.

                                                                                                                                                                                                        -
                                                                                                                                                                                                        inactivityDuration?: number

                                                                                                                                                                                                        The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                        +

                                                                                                                                                                                                        The options for the session cookie.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        inactivityDuration?: number

                                                                                                                                                                                                        The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                        The session will be extended as long as it was active before the inactivity duration has been reached.

                                                                                                                                                                                                        Default: 1 day.

                                                                                                                                                                                                        -
                                                                                                                                                                                                        rolling?: boolean

                                                                                                                                                                                                        A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        rolling?: boolean

                                                                                                                                                                                                        A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                        When enabled, the session will continue to be extended as long as it is used within the inactivity duration. Once the upper bound, set via the absoluteDuration, has been reached, the session will no longer be extended.

                                                                                                                                                                                                        Default: true.

                                                                                                                                                                                                        -
                                                                                                                                                                                                        +
                                                                                                                                                                                                        diff --git a/docs/interfaces/types.SessionCookieOptions.html b/docs/interfaces/types.SessionCookieOptions.html index 0cabcddea..5cf63e9d7 100644 --- a/docs/interfaces/types.SessionCookieOptions.html +++ b/docs/interfaces/types.SessionCookieOptions.html @@ -1,4 +1,4 @@ -SessionCookieOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          Interface SessionCookieOptions

                                                                                                                                                                                                          interface SessionCookieOptions {
                                                                                                                                                                                                              domain?: string;
                                                                                                                                                                                                              name?: string;
                                                                                                                                                                                                              path?: string;
                                                                                                                                                                                                              sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                              secure?: boolean;
                                                                                                                                                                                                              transient?: boolean;
                                                                                                                                                                                                          }
                                                                                                                                                                                                          Index

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          domain? +SessionCookieOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                            Interface SessionCookieOptions

                                                                                                                                                                                                            interface SessionCookieOptions {
                                                                                                                                                                                                                domain?: string;
                                                                                                                                                                                                                name?: string;
                                                                                                                                                                                                                path?: string;
                                                                                                                                                                                                                sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                                secure?: boolean;
                                                                                                                                                                                                                transient?: boolean;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            domain? name? path? sameSite? @@ -7,12 +7,12 @@

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            domain?: string

                                                                                                                                                                                                            Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            name?: string

                                                                                                                                                                                                            The name of the session cookie.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            name?: string

                                                                                                                                                                                                            The name of the session cookie.

                                                                                                                                                                                                            Default: __session.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            path?: string

                                                                                                                                                                                                            The path attribute of the session cookie. Will be set to '/' by default.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                            The sameSite attribute of the session cookie.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            path?: string

                                                                                                                                                                                                            The path attribute of the session cookie. Will be set to '/' by default.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                            The sameSite attribute of the session cookie.

                                                                                                                                                                                                            Default: lax.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            secure?: boolean

                                                                                                                                                                                                            The secure attribute of the session cookie.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            secure?: boolean

                                                                                                                                                                                                            The secure attribute of the session cookie.

                                                                                                                                                                                                            Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            transient?: boolean

                                                                                                                                                                                                            The transient attribute of the session cookie. When true, the cookie will not persist beyond the current session.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            +
                                                                                                                                                                                                            transient?: boolean

                                                                                                                                                                                                            The transient attribute of the session cookie. When true, the cookie will not persist beyond the current session.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            diff --git a/docs/interfaces/types.SessionData.html b/docs/interfaces/types.SessionData.html index ba77c8588..9c5e46551 100644 --- a/docs/interfaces/types.SessionData.html +++ b/docs/interfaces/types.SessionData.html @@ -1,6 +1,6 @@ -SessionData | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              Interface SessionData

                                                                                                                                                                                                              interface SessionData {
                                                                                                                                                                                                                  accessTokens?: AccessTokenSet[];
                                                                                                                                                                                                                  connectionTokenSets?: ConnectionTokenSet[];
                                                                                                                                                                                                                  internal: { createdAt: number; sid: string };
                                                                                                                                                                                                                  tokenSet: TokenSet;
                                                                                                                                                                                                                  user: User;
                                                                                                                                                                                                                  [key: string]: unknown;
                                                                                                                                                                                                              }

                                                                                                                                                                                                              Indexable

                                                                                                                                                                                                              • [key: string]: unknown
                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              accessTokens? +SessionData | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                Interface SessionData

                                                                                                                                                                                                                interface SessionData {
                                                                                                                                                                                                                    accessTokens?: AccessTokenSet[];
                                                                                                                                                                                                                    connectionTokenSets?: ConnectionTokenSet[];
                                                                                                                                                                                                                    internal: { createdAt: number; sid: string };
                                                                                                                                                                                                                    tokenSet: TokenSet;
                                                                                                                                                                                                                    user: User;
                                                                                                                                                                                                                    [key: string]: unknown;
                                                                                                                                                                                                                }

                                                                                                                                                                                                                Indexable

                                                                                                                                                                                                                • [key: string]: unknown
                                                                                                                                                                                                                Index

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                accessTokens?: AccessTokenSet[]
                                                                                                                                                                                                                connectionTokenSets?: ConnectionTokenSet[]
                                                                                                                                                                                                                internal: { createdAt: number; sid: string }
                                                                                                                                                                                                                tokenSet: TokenSet
                                                                                                                                                                                                                user: User
                                                                                                                                                                                                                +

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                accessTokens?: AccessTokenSet[]
                                                                                                                                                                                                                connectionTokenSets?: ConnectionTokenSet[]
                                                                                                                                                                                                                internal: { createdAt: number; sid: string }
                                                                                                                                                                                                                tokenSet: TokenSet
                                                                                                                                                                                                                user: User
                                                                                                                                                                                                                diff --git a/docs/interfaces/types.SessionDataStore.html b/docs/interfaces/types.SessionDataStore.html index 7e6c28a85..8e74de25f 100644 --- a/docs/interfaces/types.SessionDataStore.html +++ b/docs/interfaces/types.SessionDataStore.html @@ -1,9 +1,9 @@ -SessionDataStore | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                  Interface SessionDataStore

                                                                                                                                                                                                                  interface SessionDataStore {
                                                                                                                                                                                                                      delete(id: string): Promise<void>;
                                                                                                                                                                                                                      deleteByLogoutToken?(logoutToken: LogoutToken): Promise<void>;
                                                                                                                                                                                                                      get(id: string): Promise<SessionData | null>;
                                                                                                                                                                                                                      set(id: string, session: SessionData): Promise<void>;
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                  delete +SessionDataStore | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                    Interface SessionDataStore

                                                                                                                                                                                                                    interface SessionDataStore {
                                                                                                                                                                                                                        delete(id: string): Promise<void>;
                                                                                                                                                                                                                        deleteByLogoutToken?(logoutToken: LogoutToken): Promise<void>;
                                                                                                                                                                                                                        get(id: string): Promise<SessionData | null>;
                                                                                                                                                                                                                        set(id: string, session: SessionData): Promise<void>;
                                                                                                                                                                                                                    }
                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                    • Destroys the session with the given session ID.

                                                                                                                                                                                                                      -

                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                      • id: string

                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                    • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

                                                                                                                                                                                                                      -

                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                    • id: string

                                                                                                                                                                                                                    Returns Promise<void>

                                                                                                                                                                                                                    • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                    diff --git a/docs/interfaces/types.SessionStoreOptions.html b/docs/interfaces/types.SessionStoreOptions.html index a0037b794..6129095ae 100644 --- a/docs/interfaces/types.SessionStoreOptions.html +++ b/docs/interfaces/types.SessionStoreOptions.html @@ -1,4 +1,4 @@ -SessionStoreOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                      Interface SessionStoreOptions

                                                                                                                                                                                                                      interface SessionStoreOptions {
                                                                                                                                                                                                                          absoluteDuration?: number;
                                                                                                                                                                                                                          cookie?: SessionCookieOptions;
                                                                                                                                                                                                                          cookieOptions?: SessionCookieOptions;
                                                                                                                                                                                                                          inactivityDuration?: number;
                                                                                                                                                                                                                          rolling?: boolean;
                                                                                                                                                                                                                          secret: string;
                                                                                                                                                                                                                          store?: SessionDataStore;
                                                                                                                                                                                                                      }

                                                                                                                                                                                                                      Hierarchy (View Summary)

                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      absoluteDuration? +SessionStoreOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Interface SessionStoreOptions

                                                                                                                                                                                                                        interface SessionStoreOptions {
                                                                                                                                                                                                                            absoluteDuration?: number;
                                                                                                                                                                                                                            cookie?: SessionCookieOptions;
                                                                                                                                                                                                                            cookieOptions?: SessionCookieOptions;
                                                                                                                                                                                                                            inactivityDuration?: number;
                                                                                                                                                                                                                            rolling?: boolean;
                                                                                                                                                                                                                            secret: string;
                                                                                                                                                                                                                            store?: SessionDataStore;
                                                                                                                                                                                                                        }

                                                                                                                                                                                                                        Hierarchy (View Summary)

                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                        absoluteDuration?: number

                                                                                                                                                                                                                        The absolute duration after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                                        Once the absolute duration has been reached, the session will no longer be extended.

                                                                                                                                                                                                                        Default: 3 days.

                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        The options for the session cookie.

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        cookieOptions?: SessionCookieOptions
                                                                                                                                                                                                                        inactivityDuration?: number

                                                                                                                                                                                                                        The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        The options for the session cookie.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        cookieOptions?: SessionCookieOptions
                                                                                                                                                                                                                        inactivityDuration?: number

                                                                                                                                                                                                                        The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                                        The session will be extended as long as it was active before the inactivity duration has been reached.

                                                                                                                                                                                                                        Default: 1 day.

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        rolling?: boolean

                                                                                                                                                                                                                        A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        rolling?: boolean

                                                                                                                                                                                                                        A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                                        When enabled, the session will continue to be extended as long as it is used within the inactivity duration. Once the upper bound, set via the absoluteDuration, has been reached, the session will no longer be extended.

                                                                                                                                                                                                                        Default: true.

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        secret: string
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        secret: string
                                                                                                                                                                                                                        diff --git a/docs/interfaces/types.StartInteractiveLoginOptions.html b/docs/interfaces/types.StartInteractiveLoginOptions.html index a8fa7e615..d4afbbd70 100644 --- a/docs/interfaces/types.StartInteractiveLoginOptions.html +++ b/docs/interfaces/types.StartInteractiveLoginOptions.html @@ -1,5 +1,5 @@ -StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                          Interface StartInteractiveLoginOptions

                                                                                                                                                                                                                          interface StartInteractiveLoginOptions {
                                                                                                                                                                                                                              authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                                                                              returnTo?: string;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                          authorizationParameters? +StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                            Interface StartInteractiveLoginOptions

                                                                                                                                                                                                                            interface StartInteractiveLoginOptions {
                                                                                                                                                                                                                                authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                                                                                returnTo?: string;
                                                                                                                                                                                                                            }
                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                            authorizationParameters?: AuthorizationParameters

                                                                                                                                                                                                                            Authorization parameters to be passed to the authorization server.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            returnTo?: string

                                                                                                                                                                                                                            The URL to redirect to after a successful login.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            returnTo?: string

                                                                                                                                                                                                                            The URL to redirect to after a successful login.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            diff --git a/docs/interfaces/types.TokenSet.html b/docs/interfaces/types.TokenSet.html index 3a6b2e57e..d888216e5 100644 --- a/docs/interfaces/types.TokenSet.html +++ b/docs/interfaces/types.TokenSet.html @@ -1,4 +1,4 @@ -TokenSet | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                              Interface TokenSet

                                                                                                                                                                                                                              interface TokenSet {
                                                                                                                                                                                                                                  accessToken: string;
                                                                                                                                                                                                                                  audience?: string;
                                                                                                                                                                                                                                  expiresAt: number;
                                                                                                                                                                                                                                  idToken?: string;
                                                                                                                                                                                                                                  refreshToken?: string;
                                                                                                                                                                                                                                  requestedScope?: string;
                                                                                                                                                                                                                                  scope?: string;
                                                                                                                                                                                                                                  token_type?: string;
                                                                                                                                                                                                                              }
                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              accessToken +TokenSet | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                Interface TokenSet

                                                                                                                                                                                                                                interface TokenSet {
                                                                                                                                                                                                                                    accessToken: string;
                                                                                                                                                                                                                                    audience?: string;
                                                                                                                                                                                                                                    expiresAt: number;
                                                                                                                                                                                                                                    idToken?: string;
                                                                                                                                                                                                                                    refreshToken?: string;
                                                                                                                                                                                                                                    requestedScope?: string;
                                                                                                                                                                                                                                    scope?: string;
                                                                                                                                                                                                                                    token_type?: string;
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                accessToken: string
                                                                                                                                                                                                                                audience?: string
                                                                                                                                                                                                                                expiresAt: number
                                                                                                                                                                                                                                idToken?: string
                                                                                                                                                                                                                                refreshToken?: string
                                                                                                                                                                                                                                requestedScope?: string
                                                                                                                                                                                                                                scope?: string
                                                                                                                                                                                                                                token_type?: string
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                accessToken: string
                                                                                                                                                                                                                                audience?: string
                                                                                                                                                                                                                                expiresAt: number
                                                                                                                                                                                                                                idToken?: string
                                                                                                                                                                                                                                refreshToken?: string
                                                                                                                                                                                                                                requestedScope?: string
                                                                                                                                                                                                                                scope?: string
                                                                                                                                                                                                                                token_type?: string
                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.TransactionCookieOptions.html b/docs/interfaces/types.TransactionCookieOptions.html index de3fa9921..4a0d1d069 100644 --- a/docs/interfaces/types.TransactionCookieOptions.html +++ b/docs/interfaces/types.TransactionCookieOptions.html @@ -1,4 +1,4 @@ -TransactionCookieOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                  Interface TransactionCookieOptions

                                                                                                                                                                                                                                  interface TransactionCookieOptions {
                                                                                                                                                                                                                                      domain?: string;
                                                                                                                                                                                                                                      maxAge?: number;
                                                                                                                                                                                                                                      path?: string;
                                                                                                                                                                                                                                      prefix?: string;
                                                                                                                                                                                                                                      sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                                                      secure?: boolean;
                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  domain? +TransactionCookieOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                    Interface TransactionCookieOptions

                                                                                                                                                                                                                                    interface TransactionCookieOptions {
                                                                                                                                                                                                                                        domain?: string;
                                                                                                                                                                                                                                        maxAge?: number;
                                                                                                                                                                                                                                        path?: string;
                                                                                                                                                                                                                                        prefix?: string;
                                                                                                                                                                                                                                        sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                                                        secure?: boolean;
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    domain? maxAge? path? prefix? @@ -7,16 +7,16 @@

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    domain?: string

                                                                                                                                                                                                                                    Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    maxAge?: number

                                                                                                                                                                                                                                    The expiration time for transaction cookies in seconds. +

                                                                                                                                                                                                                                    maxAge?: number

                                                                                                                                                                                                                                    The expiration time for transaction cookies in seconds. If not provided, defaults to 1 hour (3600 seconds).

                                                                                                                                                                                                                                    3600
                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    path?: string

                                                                                                                                                                                                                                    The path attribute of the transaction cookie. Will be set to '/' by default.

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    prefix?: string

                                                                                                                                                                                                                                    The prefix of the cookie used to store the transaction state.

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    path?: string

                                                                                                                                                                                                                                    The path attribute of the transaction cookie. Will be set to '/' by default.

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    prefix?: string

                                                                                                                                                                                                                                    The prefix of the cookie used to store the transaction state.

                                                                                                                                                                                                                                    Default: __txn_{state}.

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                                                    The sameSite attribute of the transaction cookie.

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                                                    The sameSite attribute of the transaction cookie.

                                                                                                                                                                                                                                    Default: lax.

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    secure?: boolean

                                                                                                                                                                                                                                    The secure attribute of the transaction cookie.

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    secure?: boolean

                                                                                                                                                                                                                                    The secure attribute of the transaction cookie.

                                                                                                                                                                                                                                    Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    diff --git a/docs/interfaces/types.TransactionState.html b/docs/interfaces/types.TransactionState.html index 689b27343..1d75915d9 100644 --- a/docs/interfaces/types.TransactionState.html +++ b/docs/interfaces/types.TransactionState.html @@ -1,5 +1,5 @@ -TransactionState | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                      Interface TransactionState

                                                                                                                                                                                                                                      interface TransactionState {
                                                                                                                                                                                                                                          audience?: string;
                                                                                                                                                                                                                                          authSession?: string;
                                                                                                                                                                                                                                          codeVerifier: string;
                                                                                                                                                                                                                                          maxAge?: number;
                                                                                                                                                                                                                                          nonce?: string;
                                                                                                                                                                                                                                          responseType: RESPONSE_TYPES;
                                                                                                                                                                                                                                          returnTo: string;
                                                                                                                                                                                                                                          scope?: string;
                                                                                                                                                                                                                                          state: string;
                                                                                                                                                                                                                                          [propName: string]: unknown;
                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                      Hierarchy

                                                                                                                                                                                                                                      • JWTPayload
                                                                                                                                                                                                                                        • TransactionState

                                                                                                                                                                                                                                      Indexable

                                                                                                                                                                                                                                      • [propName: string]: unknown

                                                                                                                                                                                                                                        Any other JWT Claim Set member.

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      audience? +TransactionState | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        Interface TransactionState

                                                                                                                                                                                                                                        interface TransactionState {
                                                                                                                                                                                                                                            audience?: string;
                                                                                                                                                                                                                                            authSession?: string;
                                                                                                                                                                                                                                            codeVerifier: string;
                                                                                                                                                                                                                                            maxAge?: number;
                                                                                                                                                                                                                                            nonce?: string;
                                                                                                                                                                                                                                            responseType: RESPONSE_TYPES;
                                                                                                                                                                                                                                            returnTo: string;
                                                                                                                                                                                                                                            scope?: string;
                                                                                                                                                                                                                                            state: string;
                                                                                                                                                                                                                                            [propName: string]: unknown;
                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                        Hierarchy

                                                                                                                                                                                                                                        • JWTPayload
                                                                                                                                                                                                                                          • TransactionState

                                                                                                                                                                                                                                        Indexable

                                                                                                                                                                                                                                        • [propName: string]: unknown

                                                                                                                                                                                                                                          Any other JWT Claim Set member.

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        audience?: string

                                                                                                                                                                                                                                        The audience used for this transaction.

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        authSession?: string
                                                                                                                                                                                                                                        codeVerifier: string
                                                                                                                                                                                                                                        maxAge?: number
                                                                                                                                                                                                                                        nonce?: string
                                                                                                                                                                                                                                        responseType: RESPONSE_TYPES
                                                                                                                                                                                                                                        returnTo: string
                                                                                                                                                                                                                                        scope?: string

                                                                                                                                                                                                                                        The scope requested for this transaction.

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        state: string
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        authSession?: string
                                                                                                                                                                                                                                        codeVerifier: string
                                                                                                                                                                                                                                        maxAge?: number
                                                                                                                                                                                                                                        nonce?: string
                                                                                                                                                                                                                                        responseType: RESPONSE_TYPES
                                                                                                                                                                                                                                        returnTo: string
                                                                                                                                                                                                                                        scope?: string

                                                                                                                                                                                                                                        The scope requested for this transaction.

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        state: string
                                                                                                                                                                                                                                        diff --git a/docs/interfaces/types.TransactionStoreOptions.html b/docs/interfaces/types.TransactionStoreOptions.html index 720003eef..742fa4d93 100644 --- a/docs/interfaces/types.TransactionStoreOptions.html +++ b/docs/interfaces/types.TransactionStoreOptions.html @@ -1,10 +1,10 @@ -TransactionStoreOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                          Interface TransactionStoreOptions

                                                                                                                                                                                                                                          interface TransactionStoreOptions {
                                                                                                                                                                                                                                              cookieOptions?: TransactionCookieOptions;
                                                                                                                                                                                                                                              enableParallelTransactions?: boolean;
                                                                                                                                                                                                                                              secret: string;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                          cookieOptions? +TransactionStoreOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                            Interface TransactionStoreOptions

                                                                                                                                                                                                                                            interface TransactionStoreOptions {
                                                                                                                                                                                                                                                cookieOptions?: TransactionCookieOptions;
                                                                                                                                                                                                                                                enableParallelTransactions?: boolean;
                                                                                                                                                                                                                                                secret: string;
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                            cookieOptions?: TransactionCookieOptions
                                                                                                                                                                                                                                            enableParallelTransactions?: boolean

                                                                                                                                                                                                                                            Controls whether multiple parallel login transactions are allowed. +

                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                            cookieOptions?: TransactionCookieOptions
                                                                                                                                                                                                                                            enableParallelTransactions?: boolean

                                                                                                                                                                                                                                            Controls whether multiple parallel login transactions are allowed. When false, only one transaction cookie is maintained at a time. When true (default), multiple transaction cookies can coexist for multi-tab support.

                                                                                                                                                                                                                                            true
                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                            secret: string
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            secret: string
                                                                                                                                                                                                                                            diff --git a/docs/interfaces/types.User.html b/docs/interfaces/types.User.html index b66e90598..d00307ccf 100644 --- a/docs/interfaces/types.User.html +++ b/docs/interfaces/types.User.html @@ -1,4 +1,4 @@ -User | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                              Interface User

                                                                                                                                                                                                                                              interface User {
                                                                                                                                                                                                                                                  email?: string;
                                                                                                                                                                                                                                                  email_verified?: boolean;
                                                                                                                                                                                                                                                  family_name?: string;
                                                                                                                                                                                                                                                  given_name?: string;
                                                                                                                                                                                                                                                  name?: string;
                                                                                                                                                                                                                                                  nickname?: string;
                                                                                                                                                                                                                                                  org_id?: string;
                                                                                                                                                                                                                                                  picture?: string;
                                                                                                                                                                                                                                                  sub: string;
                                                                                                                                                                                                                                                  [key: string]: any;
                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                              Indexable

                                                                                                                                                                                                                                              • [key: string]: any
                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                              email? +User | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                Interface User

                                                                                                                                                                                                                                                interface User {
                                                                                                                                                                                                                                                    email?: string;
                                                                                                                                                                                                                                                    email_verified?: boolean;
                                                                                                                                                                                                                                                    family_name?: string;
                                                                                                                                                                                                                                                    given_name?: string;
                                                                                                                                                                                                                                                    name?: string;
                                                                                                                                                                                                                                                    nickname?: string;
                                                                                                                                                                                                                                                    org_id?: string;
                                                                                                                                                                                                                                                    picture?: string;
                                                                                                                                                                                                                                                    sub: string;
                                                                                                                                                                                                                                                    [key: string]: any;
                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                Indexable

                                                                                                                                                                                                                                                • [key: string]: any
                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                email?: string
                                                                                                                                                                                                                                                email_verified?: boolean
                                                                                                                                                                                                                                                family_name?: string
                                                                                                                                                                                                                                                given_name?: string
                                                                                                                                                                                                                                                name?: string
                                                                                                                                                                                                                                                nickname?: string
                                                                                                                                                                                                                                                org_id?: string

                                                                                                                                                                                                                                                The organization ID that the user belongs to. +

                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                email?: string
                                                                                                                                                                                                                                                email_verified?: boolean
                                                                                                                                                                                                                                                family_name?: string
                                                                                                                                                                                                                                                given_name?: string
                                                                                                                                                                                                                                                name?: string
                                                                                                                                                                                                                                                nickname?: string
                                                                                                                                                                                                                                                org_id?: string

                                                                                                                                                                                                                                                The organization ID that the user belongs to. This field is populated when the user logs in through an organization.

                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                picture?: string
                                                                                                                                                                                                                                                sub: string
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                picture?: string
                                                                                                                                                                                                                                                sub: string
                                                                                                                                                                                                                                                diff --git a/docs/modules.html b/docs/modules.html index 99c139682..da436728d 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3

                                                                                                                                                                                                                                                    Modules

                                                                                                                                                                                                                                                    client
                                                                                                                                                                                                                                                    errors
                                                                                                                                                                                                                                                    server
                                                                                                                                                                                                                                                    testing
                                                                                                                                                                                                                                                    types
                                                                                                                                                                                                                                                    +@auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                        Modules

                                                                                                                                                                                                                                                        client
                                                                                                                                                                                                                                                        errors
                                                                                                                                                                                                                                                        server
                                                                                                                                                                                                                                                        testing
                                                                                                                                                                                                                                                        types
                                                                                                                                                                                                                                                        diff --git a/docs/modules/client.html b/docs/modules/client.html index 0a745d2d2..715aedaa3 100644 --- a/docs/modules/client.html +++ b/docs/modules/client.html @@ -1 +1 @@ -client | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                          +client | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                            diff --git a/docs/modules/errors.html b/docs/modules/errors.html index 3e3f49061..076b85037 100644 --- a/docs/modules/errors.html +++ b/docs/modules/errors.html @@ -1 +1 @@ -errors | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                              +errors | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                diff --git a/docs/modules/server.html b/docs/modules/server.html index 09803c732..452cf17c1 100644 --- a/docs/modules/server.html +++ b/docs/modules/server.html @@ -1 +1 @@ -server | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                  +server | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                    diff --git a/docs/modules/testing.html b/docs/modules/testing.html index 0a8288802..ff5762cfa 100644 --- a/docs/modules/testing.html +++ b/docs/modules/testing.html @@ -1 +1 @@ -testing | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                      +testing | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                        diff --git a/docs/modules/types.html b/docs/modules/types.html index e90ccf3f9..807f64cef 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -1 +1 @@ -types | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                          +types | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                            diff --git a/docs/types/client.WithPageAuthRequired.html b/docs/types/client.WithPageAuthRequired.html index fe26a3bd2..cfda948e8 100644 --- a/docs/types/client.WithPageAuthRequired.html +++ b/docs/types/client.WithPageAuthRequired.html @@ -1,6 +1,6 @@ -WithPageAuthRequired | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                              Type Alias WithPageAuthRequired

                                                                                                                                                                                                                                                                              WithPageAuthRequired: <P extends object>(
                                                                                                                                                                                                                                                                                  Component: ComponentType<P & UserProps>,
                                                                                                                                                                                                                                                                                  options?: WithPageAuthRequiredOptions,
                                                                                                                                                                                                                                                                              ) => React.FC<P>
                                                                                                                                                                                                                                                                              const MyProtectedPage = withPageAuthRequired(MyPage);
                                                                                                                                                                                                                                                                              +WithPageAuthRequired | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                Type Alias WithPageAuthRequired

                                                                                                                                                                                                                                                                                WithPageAuthRequired: <P extends object>(
                                                                                                                                                                                                                                                                                    Component: ComponentType<P & UserProps>,
                                                                                                                                                                                                                                                                                    options?: WithPageAuthRequiredOptions,
                                                                                                                                                                                                                                                                                ) => React.FC<P>
                                                                                                                                                                                                                                                                                const MyProtectedPage = withPageAuthRequired(MyPage);
                                                                                                                                                                                                                                                                                 

                                                                                                                                                                                                                                                                                When you wrap your pages in this higher order component and an anonymous user visits your page, they will be redirected to the login page and then returned to the page they were redirected from (after login).

                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                diff --git a/docs/types/server.AppRouterPageRoute.html b/docs/types/server.AppRouterPageRoute.html index 20d95f5d6..48eb65e30 100644 --- a/docs/types/server.AppRouterPageRoute.html +++ b/docs/types/server.AppRouterPageRoute.html @@ -1,3 +1,3 @@ -AppRouterPageRoute | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                  Type Alias AppRouterPageRoute

                                                                                                                                                                                                                                                                                  AppRouterPageRoute: (obj: AppRouterPageRouteOpts) => Promise<unknown>

                                                                                                                                                                                                                                                                                  An app route that has been augmented with WithPageAuthRequired. +AppRouterPageRoute | @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Type Alias AppRouterPageRoute

                                                                                                                                                                                                                                                                                    AppRouterPageRoute: (obj: AppRouterPageRouteOpts) => Promise<unknown>

                                                                                                                                                                                                                                                                                    An app route that has been augmented with WithPageAuthRequired. Returns unknown to avoid React dependency while maintaining type safety.

                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                    diff --git a/docs/types/server.AppRouterPageRouteOpts.html b/docs/types/server.AppRouterPageRouteOpts.html index ff1a69e67..ad8d31743 100644 --- a/docs/types/server.AppRouterPageRouteOpts.html +++ b/docs/types/server.AppRouterPageRouteOpts.html @@ -1,4 +1,4 @@ -AppRouterPageRouteOpts | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Type Alias AppRouterPageRouteOpts

                                                                                                                                                                                                                                                                                      Objects containing the route parameters and search parameters of the page.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      type AppRouterPageRouteOpts = {
                                                                                                                                                                                                                                                                                          params?: Promise<Record<string, string | string[]>>;
                                                                                                                                                                                                                                                                                          searchParams?: Promise<{ [key: string]: string | string[] | undefined }>;
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      params? +AppRouterPageRouteOpts | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                        Type Alias AppRouterPageRouteOpts

                                                                                                                                                                                                                                                                                        Objects containing the route parameters and search parameters of the page.

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        type AppRouterPageRouteOpts = {
                                                                                                                                                                                                                                                                                            params?: Promise<Record<string, string | string[]>>;
                                                                                                                                                                                                                                                                                            searchParams?: Promise<{ [key: string]: string | string[] | undefined }>;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                        params?: Promise<Record<string, string | string[]>>
                                                                                                                                                                                                                                                                                        searchParams?: Promise<{ [key: string]: string | string[] | undefined }>
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                        params?: Promise<Record<string, string | string[]>>
                                                                                                                                                                                                                                                                                        searchParams?: Promise<{ [key: string]: string | string[] | undefined }>
                                                                                                                                                                                                                                                                                        diff --git a/docs/types/server.GetServerSidePropsResultWithSession.html b/docs/types/server.GetServerSidePropsResultWithSession.html index aec0e2eb7..67bb0922d 100644 --- a/docs/types/server.GetServerSidePropsResultWithSession.html +++ b/docs/types/server.GetServerSidePropsResultWithSession.html @@ -1,6 +1,6 @@ -GetServerSidePropsResultWithSession | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                          Type Alias GetServerSidePropsResultWithSession<P>

                                                                                                                                                                                                                                                                                          GetServerSidePropsResultWithSession: GetServerSidePropsResult<
                                                                                                                                                                                                                                                                                              P & { user: User },
                                                                                                                                                                                                                                                                                          >

                                                                                                                                                                                                                                                                                          If you wrap your getServerSideProps with WithPageAuthRequired your props object will be augmented with +GetServerSidePropsResultWithSession | @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                            Type Alias GetServerSidePropsResultWithSession<P>

                                                                                                                                                                                                                                                                                            GetServerSidePropsResultWithSession: GetServerSidePropsResult<
                                                                                                                                                                                                                                                                                                P & { user: User },
                                                                                                                                                                                                                                                                                            >

                                                                                                                                                                                                                                                                                            If you wrap your getServerSideProps with WithPageAuthRequired your props object will be augmented with the user property, which will be the User object.

                                                                                                                                                                                                                                                                                            // pages/profile.js
                                                                                                                                                                                                                                                                                            import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                            export default function Profile({ user }) {
                                                                                                                                                                                                                                                                                            return <div>Hello {user.name}</div>;
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            export const getServerSideProps = auth0.withPageAuthRequired();
                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                                                                                            • P = any
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                                                                                            • P = any
                                                                                                                                                                                                                                                                                            diff --git a/docs/types/server.PageRoute.html b/docs/types/server.PageRoute.html index 34c19bf1f..edf090496 100644 --- a/docs/types/server.PageRoute.html +++ b/docs/types/server.PageRoute.html @@ -1,2 +1,2 @@ -PageRoute | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                              Type Alias PageRoute<P, Q>

                                                                                                                                                                                                                                                                                              PageRoute: (
                                                                                                                                                                                                                                                                                                  ctx: GetServerSidePropsContext<Q>,
                                                                                                                                                                                                                                                                                              ) => Promise<GetServerSidePropsResultWithSession<P>>

                                                                                                                                                                                                                                                                                              A page route that has been augmented with WithPageAuthRequired.

                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                              • P
                                                                                                                                                                                                                                                                                              • Q extends ParsedUrlQuery = ParsedUrlQuery

                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                              +PageRoute | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                Type Alias PageRoute<P, Q>

                                                                                                                                                                                                                                                                                                PageRoute: (
                                                                                                                                                                                                                                                                                                    ctx: GetServerSidePropsContext<Q>,
                                                                                                                                                                                                                                                                                                ) => Promise<GetServerSidePropsResultWithSession<P>>

                                                                                                                                                                                                                                                                                                A page route that has been augmented with WithPageAuthRequired.

                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Type Parameters

                                                                                                                                                                                                                                                                                                • P
                                                                                                                                                                                                                                                                                                • Q extends ParsedUrlQuery = ParsedUrlQuery

                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                diff --git a/docs/types/server.WithPageAuthRequired.html b/docs/types/server.WithPageAuthRequired.html index 20ac1a544..e03181a7c 100644 --- a/docs/types/server.WithPageAuthRequired.html +++ b/docs/types/server.WithPageAuthRequired.html @@ -1,3 +1,3 @@ -WithPageAuthRequired | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                  Type Alias WithPageAuthRequired

                                                                                                                                                                                                                                                                                                  Protects Page router pages WithPageAuthRequiredPageRouter or +WithPageAuthRequired | @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/server.WithPageAuthRequiredAppRouter.html b/docs/types/server.WithPageAuthRequiredAppRouter.html index d94735030..fa0e0728f 100644 --- a/docs/types/server.WithPageAuthRequiredAppRouter.html +++ b/docs/types/server.WithPageAuthRequiredAppRouter.html @@ -1,4 +1,4 @@ -WithPageAuthRequiredAppRouter | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Type Alias WithPageAuthRequiredAppRouter

                                                                                                                                                                                                                                                                                                      WithPageAuthRequiredAppRouter: (
                                                                                                                                                                                                                                                                                                          fn: AppRouterPageRoute,
                                                                                                                                                                                                                                                                                                          opts?: WithPageAuthRequiredAppRouterOptions,
                                                                                                                                                                                                                                                                                                      ) => AppRouterPageRoute

                                                                                                                                                                                                                                                                                                      Wrap your Server Component with this method to make sure the user is authenticated before +WithPageAuthRequiredAppRouter | @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Type Alias WithPageAuthRequiredAppRouter

                                                                                                                                                                                                                                                                                                        WithPageAuthRequiredAppRouter: (
                                                                                                                                                                                                                                                                                                            fn: AppRouterPageRoute,
                                                                                                                                                                                                                                                                                                            opts?: WithPageAuthRequiredAppRouterOptions,
                                                                                                                                                                                                                                                                                                        ) => AppRouterPageRoute

                                                                                                                                                                                                                                                                                                        Wrap your Server Component with this method to make sure the user is authenticated before visiting the page.

                                                                                                                                                                                                                                                                                                        // app/protected-page/page.js
                                                                                                                                                                                                                                                                                                        import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                        const ProtectedPage = auth0.withPageAuthRequired(async function ProtectedPage() {
                                                                                                                                                                                                                                                                                                        return <div>Protected content</div>;
                                                                                                                                                                                                                                                                                                        }, { returnTo: '/protected-page' });

                                                                                                                                                                                                                                                                                                        export default ProtectedPage;
                                                                                                                                                                                                                                                                                                        @@ -14,4 +14,4 @@
                                                                                                                                                                                                                                                                                                        // app/protected-page/[slug]/page.js
                                                                                                                                                                                                                                                                                                        import { AppRouterPageRouteOpts } from '@auth0/nextjs-auth0/server';
                                                                                                                                                                                                                                                                                                        import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                        const ProtectedPage = auth0.withPageAuthRequired(async function ProtectedPage({
                                                                                                                                                                                                                                                                                                        params, searchParams
                                                                                                                                                                                                                                                                                                        }: AppRouterPageRouteOpts) {
                                                                                                                                                                                                                                                                                                        const slug = (await params)?.slug as string;
                                                                                                                                                                                                                                                                                                        return <div>Protected content for {slug}</div>;
                                                                                                                                                                                                                                                                                                        }, {
                                                                                                                                                                                                                                                                                                        returnTo({ params }) {
                                                                                                                                                                                                                                                                                                        return `/protected-page/${(await params)?.slug}`;
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                        });

                                                                                                                                                                                                                                                                                                        export default ProtectedPage;
                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/server.WithPageAuthRequiredAppRouterOptions.html b/docs/types/server.WithPageAuthRequiredAppRouterOptions.html index 287d75899..1328fdf93 100644 --- a/docs/types/server.WithPageAuthRequiredAppRouterOptions.html +++ b/docs/types/server.WithPageAuthRequiredAppRouterOptions.html @@ -1,4 +1,4 @@ -WithPageAuthRequiredAppRouterOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Type Alias WithPageAuthRequiredAppRouterOptions

                                                                                                                                                                                                                                                                                                          Specify the URL to returnTo - this is important in app router pages because the server component +WithPageAuthRequiredAppRouterOptions | @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                            Type Alias WithPageAuthRequiredAppRouterOptions

                                                                                                                                                                                                                                                                                                            Specify the URL to returnTo - this is important in app router pages because the server component won't know the URL of the page.

                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                            type WithPageAuthRequiredAppRouterOptions = {
                                                                                                                                                                                                                                                                                                                returnTo?:
                                                                                                                                                                                                                                                                                                                    | string
                                                                                                                                                                                                                                                                                                                    | ((obj: AppRouterPageRouteOpts) => Promise<string> | string);
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            returnTo?: string | ((obj: AppRouterPageRouteOpts) => Promise<string> | string)
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            type WithPageAuthRequiredAppRouterOptions = {
                                                                                                                                                                                                                                                                                                                returnTo?:
                                                                                                                                                                                                                                                                                                                    | string
                                                                                                                                                                                                                                                                                                                    | ((obj: AppRouterPageRouteOpts) => Promise<string> | string);
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            returnTo?: string | ((obj: AppRouterPageRouteOpts) => Promise<string> | string)
                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/server.WithPageAuthRequiredPageRouter.html b/docs/types/server.WithPageAuthRequiredPageRouter.html index 7d8ec1675..b8850640d 100644 --- a/docs/types/server.WithPageAuthRequiredPageRouter.html +++ b/docs/types/server.WithPageAuthRequiredPageRouter.html @@ -1,8 +1,8 @@ -WithPageAuthRequiredPageRouter | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                              Type Alias WithPageAuthRequiredPageRouter

                                                                                                                                                                                                                                                                                                              WithPageAuthRequiredPageRouter: <
                                                                                                                                                                                                                                                                                                                  P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                                  Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                              >(
                                                                                                                                                                                                                                                                                                                  opts?: WithPageAuthRequiredPageRouterOptions<P, Q>,
                                                                                                                                                                                                                                                                                                              ) => PageRoute<P, Q>

                                                                                                                                                                                                                                                                                                              Wrap your getServerSideProps with this method to make sure the user is authenticated before +WithPageAuthRequiredPageRouter | @auth0/nextjs-auth0 - v4.14.0

                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                Type Alias WithPageAuthRequiredPageRouter

                                                                                                                                                                                                                                                                                                                WithPageAuthRequiredPageRouter: <
                                                                                                                                                                                                                                                                                                                    P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                                    Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                                >(
                                                                                                                                                                                                                                                                                                                    opts?: WithPageAuthRequiredPageRouterOptions<P, Q>,
                                                                                                                                                                                                                                                                                                                ) => PageRoute<P, Q>

                                                                                                                                                                                                                                                                                                                Wrap your getServerSideProps with this method to make sure the user is authenticated before visiting the page.

                                                                                                                                                                                                                                                                                                                // pages/protected-page.js
                                                                                                                                                                                                                                                                                                                import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                                export default function ProtectedPage() {
                                                                                                                                                                                                                                                                                                                return <div>Protected content</div>;
                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                export const getServerSideProps = auth0.withPageAuthRequired();

                                                                                                                                                                                                                                                                                                                If the user visits /protected-page without a valid session, it will redirect the user to the login page. Then they will be returned to /protected-page after login.

                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/server.WithPageAuthRequiredPageRouterOptions.html b/docs/types/server.WithPageAuthRequiredPageRouterOptions.html index 14aedbf16..89e4f9757 100644 --- a/docs/types/server.WithPageAuthRequiredPageRouterOptions.html +++ b/docs/types/server.WithPageAuthRequiredPageRouterOptions.html @@ -1,10 +1,10 @@ -WithPageAuthRequiredPageRouterOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                  Type Alias WithPageAuthRequiredPageRouterOptions<P, Q>

                                                                                                                                                                                                                                                                                                                  If you have a custom returnTo url you should specify it in returnTo.

                                                                                                                                                                                                                                                                                                                  +WithPageAuthRequiredPageRouterOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                    Type Alias WithPageAuthRequiredPageRouterOptions<P, Q>

                                                                                                                                                                                                                                                                                                                    If you have a custom returnTo url you should specify it in returnTo.

                                                                                                                                                                                                                                                                                                                    You can pass in your own getServerSideProps method, the props returned from this will be merged with the user props. You can also access the user session data by calling getSession inside of this method. For example:

                                                                                                                                                                                                                                                                                                                    // pages/protected-page.js
                                                                                                                                                                                                                                                                                                                    import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                                    export default function ProtectedPage({ user, customProp }) {
                                                                                                                                                                                                                                                                                                                    return <div>Protected content</div>;
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                    export const getServerSideProps = auth0.withPageAuthRequired({
                                                                                                                                                                                                                                                                                                                    // returnTo: '/unauthorized',
                                                                                                                                                                                                                                                                                                                    async getServerSideProps(ctx) {
                                                                                                                                                                                                                                                                                                                    // access the user session if needed
                                                                                                                                                                                                                                                                                                                    // const session = await auth0.getSession(ctx.req);
                                                                                                                                                                                                                                                                                                                    return {
                                                                                                                                                                                                                                                                                                                    props: {
                                                                                                                                                                                                                                                                                                                    // customProp: 'bar',
                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                    });
                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                    type WithPageAuthRequiredPageRouterOptions<
                                                                                                                                                                                                                                                                                                                        P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                                        Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                                    > = {
                                                                                                                                                                                                                                                                                                                        getServerSideProps?: GetServerSideProps<P, Q>;
                                                                                                                                                                                                                                                                                                                        returnTo?: string;
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                                                                                                                    • P extends { [key: string]: any } = { [key: string]: any }
                                                                                                                                                                                                                                                                                                                    • Q extends ParsedUrlQuery = ParsedUrlQuery
                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                    type WithPageAuthRequiredPageRouterOptions<
                                                                                                                                                                                                                                                                                                                        P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                                        Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                                    > = {
                                                                                                                                                                                                                                                                                                                        getServerSideProps?: GetServerSideProps<P, Q>;
                                                                                                                                                                                                                                                                                                                        returnTo?: string;
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                                                                                                                    • P extends { [key: string]: any } = { [key: string]: any }
                                                                                                                                                                                                                                                                                                                    • Q extends ParsedUrlQuery = ParsedUrlQuery
                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                    getServerSideProps?: GetServerSideProps<P, Q>
                                                                                                                                                                                                                                                                                                                    returnTo?: string
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                    getServerSideProps?: GetServerSideProps<P, Q>
                                                                                                                                                                                                                                                                                                                    returnTo?: string
                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/testing.GenerateSessionCookieConfig.html b/docs/types/testing.GenerateSessionCookieConfig.html index 4a4ea5657..00b87d602 100644 --- a/docs/types/testing.GenerateSessionCookieConfig.html +++ b/docs/types/testing.GenerateSessionCookieConfig.html @@ -1,4 +1,4 @@ -GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                      Type Alias GenerateSessionCookieConfig

                                                                                                                                                                                                                                                                                                                      type GenerateSessionCookieConfig = {
                                                                                                                                                                                                                                                                                                                          secret: string;
                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                      secret +GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                        Type Alias GenerateSessionCookieConfig

                                                                                                                                                                                                                                                                                                                        type GenerateSessionCookieConfig = {
                                                                                                                                                                                                                                                                                                                            secret: string;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        secret: string

                                                                                                                                                                                                                                                                                                                        The secret used to derive an encryption key for the session cookie.

                                                                                                                                                                                                                                                                                                                        IMPORTANT: you must use the same value as in the SDK configuration.

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.BeforeSessionSavedHook.html b/docs/types/types.BeforeSessionSavedHook.html index 6abe3d7f5..da3b4fb5b 100644 --- a/docs/types/types.BeforeSessionSavedHook.html +++ b/docs/types/types.BeforeSessionSavedHook.html @@ -1 +1 @@ -BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                          Type Alias BeforeSessionSavedHook

                                                                                                                                                                                                                                                                                                                          BeforeSessionSavedHook: (
                                                                                                                                                                                                                                                                                                                              session: SessionData,
                                                                                                                                                                                                                                                                                                                              idToken: string | null,
                                                                                                                                                                                                                                                                                                                          ) => Promise<SessionData>

                                                                                                                                                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                                                                                                                                                          +BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                            Type Alias BeforeSessionSavedHook

                                                                                                                                                                                                                                                                                                                            BeforeSessionSavedHook: (
                                                                                                                                                                                                                                                                                                                                session: SessionData,
                                                                                                                                                                                                                                                                                                                                idToken: string | null,
                                                                                                                                                                                                                                                                                                                            ) => Promise<SessionData>

                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/types.GetAccessTokenOptions.html b/docs/types/types.GetAccessTokenOptions.html index 6acb9dbd5..15a50b851 100644 --- a/docs/types/types.GetAccessTokenOptions.html +++ b/docs/types/types.GetAccessTokenOptions.html @@ -1,7 +1,7 @@ -GetAccessTokenOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                              Type Alias GetAccessTokenOptions

                                                                                                                                                                                                                                                                                                                              type GetAccessTokenOptions = {
                                                                                                                                                                                                                                                                                                                                  audience?: string | null;
                                                                                                                                                                                                                                                                                                                                  refresh?: boolean | null;
                                                                                                                                                                                                                                                                                                                                  scope?: string | null;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                              audience? +GetAccessTokenOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                Type Alias GetAccessTokenOptions

                                                                                                                                                                                                                                                                                                                                type GetAccessTokenOptions = {
                                                                                                                                                                                                                                                                                                                                    audience?: string | null;
                                                                                                                                                                                                                                                                                                                                    refresh?: boolean | null;
                                                                                                                                                                                                                                                                                                                                    scope?: string | null;
                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                audience?: string | null

                                                                                                                                                                                                                                                                                                                                Please note: If you are passing audience, ensure that the used audiences and scopes are part of the Application's Refresh Token Policies in Auth0 when configuring Multi-Resource Refresh Tokens (MRRT). Auth0 Documentation on Multi-resource Refresh Tokens

                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                refresh?: boolean | null
                                                                                                                                                                                                                                                                                                                                scope?: string | null
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                refresh?: boolean | null
                                                                                                                                                                                                                                                                                                                                scope?: string | null
                                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.LogoutStrategy.html b/docs/types/types.LogoutStrategy.html index 88d6c9db7..63061789e 100644 --- a/docs/types/types.LogoutStrategy.html +++ b/docs/types/types.LogoutStrategy.html @@ -1,2 +1,2 @@ -LogoutStrategy | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                  Type Alias LogoutStrategy

                                                                                                                                                                                                                                                                                                                                  LogoutStrategy: "auto" | "oidc" | "v2"

                                                                                                                                                                                                                                                                                                                                  Logout strategy options for controlling logout endpoint selection.

                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                  +LogoutStrategy | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                    Type Alias LogoutStrategy

                                                                                                                                                                                                                                                                                                                                    LogoutStrategy: "auto" | "oidc" | "v2"

                                                                                                                                                                                                                                                                                                                                    Logout strategy options for controlling logout endpoint selection.

                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/types.LogoutToken.html b/docs/types/types.LogoutToken.html index 70ced9f1c..977204184 100644 --- a/docs/types/types.LogoutToken.html +++ b/docs/types/types.LogoutToken.html @@ -1,3 +1,3 @@ -LogoutToken | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                      Type Alias LogoutToken

                                                                                                                                                                                                                                                                                                                                      type LogoutToken = {
                                                                                                                                                                                                                                                                                                                                          sid?: string;
                                                                                                                                                                                                                                                                                                                                          sub?: string;
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                      sid? +LogoutToken | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                        Type Alias LogoutToken

                                                                                                                                                                                                                                                                                                                                        type LogoutToken = {
                                                                                                                                                                                                                                                                                                                                            sid?: string;
                                                                                                                                                                                                                                                                                                                                            sub?: string;
                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                        sid?: string
                                                                                                                                                                                                                                                                                                                                        sub?: string
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                        sid?: string
                                                                                                                                                                                                                                                                                                                                        sub?: string
                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.OnCallbackContext.html b/docs/types/types.OnCallbackContext.html index 0ee26ae9a..7935afb0b 100644 --- a/docs/types/types.OnCallbackContext.html +++ b/docs/types/types.OnCallbackContext.html @@ -1,8 +1,8 @@ -OnCallbackContext | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                          Type Alias OnCallbackContext

                                                                                                                                                                                                                                                                                                                                          type OnCallbackContext = {
                                                                                                                                                                                                                                                                                                                                              connectedAccount?: CompleteConnectAccountResponse;
                                                                                                                                                                                                                                                                                                                                              responseType?: RESPONSE_TYPES;
                                                                                                                                                                                                                                                                                                                                              returnTo?: string;
                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                          connectedAccount? +OnCallbackContext | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                            Type Alias OnCallbackContext

                                                                                                                                                                                                                                                                                                                                            type OnCallbackContext = {
                                                                                                                                                                                                                                                                                                                                                connectedAccount?: CompleteConnectAccountResponse;
                                                                                                                                                                                                                                                                                                                                                responseType?: RESPONSE_TYPES;
                                                                                                                                                                                                                                                                                                                                                returnTo?: string;
                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                            connectedAccount?: CompleteConnectAccountResponse

                                                                                                                                                                                                                                                                                                                                            The connected account information when the responseType is RESPONSE_TYPES.CONNECT_CODE

                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                            responseType?: RESPONSE_TYPES

                                                                                                                                                                                                                                                                                                                                            The type of response expected from the authorization server. +

                                                                                                                                                                                                                                                                                                                                            responseType?: RESPONSE_TYPES

                                                                                                                                                                                                                                                                                                                                            The type of response expected from the authorization server. One of RESPONSE_TYPES

                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                            returnTo?: string

                                                                                                                                                                                                                                                                                                                                            The URL or path the user should be redirected to after completing the transaction.

                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            returnTo?: string

                                                                                                                                                                                                                                                                                                                                            The URL or path the user should be redirected to after completing the transaction.

                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/types.OnCallbackHook.html b/docs/types/types.OnCallbackHook.html index a082a21bf..11f6c4d9a 100644 --- a/docs/types/types.OnCallbackHook.html +++ b/docs/types/types.OnCallbackHook.html @@ -1 +1 @@ -OnCallbackHook | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                              Type Alias OnCallbackHook

                                                                                                                                                                                                                                                                                                                                              OnCallbackHook: (
                                                                                                                                                                                                                                                                                                                                                  error: SdkError | null,
                                                                                                                                                                                                                                                                                                                                                  ctx: OnCallbackContext,
                                                                                                                                                                                                                                                                                                                                                  session: SessionData | null,
                                                                                                                                                                                                                                                                                                                                              ) => Promise<NextResponse>

                                                                                                                                                                                                                                                                                                                                              Type Declaration

                                                                                                                                                                                                                                                                                                                                              +OnCallbackHook | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                Type Alias OnCallbackHook

                                                                                                                                                                                                                                                                                                                                                OnCallbackHook: (
                                                                                                                                                                                                                                                                                                                                                    error: SdkError | null,
                                                                                                                                                                                                                                                                                                                                                    ctx: OnCallbackContext,
                                                                                                                                                                                                                                                                                                                                                    session: SessionData | null,
                                                                                                                                                                                                                                                                                                                                                ) => Promise<NextResponse>

                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.PagesRouterRequest.html b/docs/types/types.PagesRouterRequest.html index f49994652..76e648722 100644 --- a/docs/types/types.PagesRouterRequest.html +++ b/docs/types/types.PagesRouterRequest.html @@ -1 +1 @@ -PagesRouterRequest | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                  Type Alias PagesRouterRequest

                                                                                                                                                                                                                                                                                                                                                  PagesRouterRequest: IncomingMessage | NextApiRequest
                                                                                                                                                                                                                                                                                                                                                  +PagesRouterRequest | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                    Type Alias PagesRouterRequest

                                                                                                                                                                                                                                                                                                                                                    PagesRouterRequest: IncomingMessage | NextApiRequest
                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/types.PagesRouterResponse.html b/docs/types/types.PagesRouterResponse.html index f2eedee09..3a824fc63 100644 --- a/docs/types/types.PagesRouterResponse.html +++ b/docs/types/types.PagesRouterResponse.html @@ -1 +1 @@ -PagesRouterResponse | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                      Type Alias PagesRouterResponse

                                                                                                                                                                                                                                                                                                                                                      PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
                                                                                                                                                                                                                                                                                                                                                      +PagesRouterResponse | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                        Type Alias PagesRouterResponse

                                                                                                                                                                                                                                                                                                                                                        PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.ProxyOptions.html b/docs/types/types.ProxyOptions.html index 89d855852..20ba6719c 100644 --- a/docs/types/types.ProxyOptions.html +++ b/docs/types/types.ProxyOptions.html @@ -1,5 +1,5 @@ -ProxyOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                          Type Alias ProxyOptions

                                                                                                                                                                                                                                                                                                                                                          type ProxyOptions = {
                                                                                                                                                                                                                                                                                                                                                              audience: string;
                                                                                                                                                                                                                                                                                                                                                              proxyPath: string;
                                                                                                                                                                                                                                                                                                                                                              scope: string | null;
                                                                                                                                                                                                                                                                                                                                                              targetBaseUrl: string;
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                          audience +ProxyOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                            Type Alias ProxyOptions

                                                                                                                                                                                                                                                                                                                                                            type ProxyOptions = {
                                                                                                                                                                                                                                                                                                                                                                audience: string;
                                                                                                                                                                                                                                                                                                                                                                proxyPath: string;
                                                                                                                                                                                                                                                                                                                                                                scope: string | null;
                                                                                                                                                                                                                                                                                                                                                                targetBaseUrl: string;
                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                            audience: string
                                                                                                                                                                                                                                                                                                                                                            proxyPath: string
                                                                                                                                                                                                                                                                                                                                                            scope: string | null
                                                                                                                                                                                                                                                                                                                                                            targetBaseUrl: string
                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                            audience: string
                                                                                                                                                                                                                                                                                                                                                            proxyPath: string
                                                                                                                                                                                                                                                                                                                                                            scope: string | null
                                                                                                                                                                                                                                                                                                                                                            targetBaseUrl: string
                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/types.ReadonlyRequestCookies.html b/docs/types/types.ReadonlyRequestCookies.html index cd0a887ee..2a5c4357a 100644 --- a/docs/types/types.ReadonlyRequestCookies.html +++ b/docs/types/types.ReadonlyRequestCookies.html @@ -1 +1 @@ -ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                              Type Alias ReadonlyRequestCookies

                                                                                                                                                                                                                                                                                                                                                              ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
                                                                                                                                                                                                                                                                                                                                                                  ResponseCookies,
                                                                                                                                                                                                                                                                                                                                                                  "set"
                                                                                                                                                                                                                                                                                                                                                                  | "delete",
                                                                                                                                                                                                                                                                                                                                                              >
                                                                                                                                                                                                                                                                                                                                                              +ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                Type Alias ReadonlyRequestCookies

                                                                                                                                                                                                                                                                                                                                                                ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
                                                                                                                                                                                                                                                                                                                                                                    ResponseCookies,
                                                                                                                                                                                                                                                                                                                                                                    "set"
                                                                                                                                                                                                                                                                                                                                                                    | "delete",
                                                                                                                                                                                                                                                                                                                                                                >
                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.RoutesOptions.html b/docs/types/types.RoutesOptions.html index c46c84d6f..0281196db 100644 --- a/docs/types/types.RoutesOptions.html +++ b/docs/types/types.RoutesOptions.html @@ -1 +1 @@ -RoutesOptions | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                  Type Alias RoutesOptions

                                                                                                                                                                                                                                                                                                                                                                  RoutesOptions: Partial<
                                                                                                                                                                                                                                                                                                                                                                      Pick<
                                                                                                                                                                                                                                                                                                                                                                          Routes,
                                                                                                                                                                                                                                                                                                                                                                          "login"
                                                                                                                                                                                                                                                                                                                                                                          | "callback"
                                                                                                                                                                                                                                                                                                                                                                          | "logout"
                                                                                                                                                                                                                                                                                                                                                                          | "backChannelLogout"
                                                                                                                                                                                                                                                                                                                                                                          | "connectAccount",
                                                                                                                                                                                                                                                                                                                                                                      >,
                                                                                                                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                                                                                                                  +RoutesOptions | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                    Type Alias RoutesOptions

                                                                                                                                                                                                                                                                                                                                                                    RoutesOptions: Partial<
                                                                                                                                                                                                                                                                                                                                                                        Pick<
                                                                                                                                                                                                                                                                                                                                                                            Routes,
                                                                                                                                                                                                                                                                                                                                                                            "login"
                                                                                                                                                                                                                                                                                                                                                                            | "callback"
                                                                                                                                                                                                                                                                                                                                                                            | "logout"
                                                                                                                                                                                                                                                                                                                                                                            | "backChannelLogout"
                                                                                                                                                                                                                                                                                                                                                                            | "connectAccount",
                                                                                                                                                                                                                                                                                                                                                                        >,
                                                                                                                                                                                                                                                                                                                                                                    >
                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/variables/client.withPageAuthRequired.html b/docs/variables/client.withPageAuthRequired.html index 3e848d59a..c86d18876 100644 --- a/docs/variables/client.withPageAuthRequired.html +++ b/docs/variables/client.withPageAuthRequired.html @@ -1 +1 @@ -withPageAuthRequired | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                      Variable withPageAuthRequiredConst

                                                                                                                                                                                                                                                                                                                                                                      withPageAuthRequired: WithPageAuthRequired = ...
                                                                                                                                                                                                                                                                                                                                                                      +withPageAuthRequired | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                        Variable withPageAuthRequiredConst

                                                                                                                                                                                                                                                                                                                                                                        withPageAuthRequired: WithPageAuthRequired = ...
                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html b/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html index 943a3da4f..c861074ba 100644 --- a/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html +++ b/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html @@ -1,2 +1,2 @@ -DEFAULT_ID_TOKEN_CLAIMS | @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.13.3
                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                          Variable DEFAULT_ID_TOKEN_CLAIMSConst

                                                                                                                                                                                                                                                                                                                                                                          DEFAULT_ID_TOKEN_CLAIMS: string[] = ...

                                                                                                                                                                                                                                                                                                                                                                          Default claims for the ID token.

                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                          +DEFAULT_ID_TOKEN_CLAIMS | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                            Variable DEFAULT_ID_TOKEN_CLAIMSConst

                                                                                                                                                                                                                                                                                                                                                                            DEFAULT_ID_TOKEN_CLAIMS: string[] = ...

                                                                                                                                                                                                                                                                                                                                                                            Default claims for the ID token.

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html b/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html new file mode 100644 index 000000000..dbb164411 --- /dev/null +++ b/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html @@ -0,0 +1,3 @@ +GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE | @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.14.0
                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                              Variable GRANT_TYPE_CUSTOM_TOKEN_EXCHANGEConst

                                                                                                                                                                                                                                                                                                                                                                              GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange"

                                                                                                                                                                                                                                                                                                                                                                              Grant type for Custom Token Exchange as per RFC 8693.

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              diff --git a/package.json b/package.json index 10d9da06d..7aded774e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "4.13.3", + "version": "4.14.0", "description": "Auth0 Next.js SDK", "type": "module", "scripts": {