diff --git a/.version b/.version index dfe33e04..adaf2bf4 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v4.5.1 \ No newline at end of file +v4.6.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b4ca73d2..75becbc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Change Log +## [v4.6.0](https://github.com/auth0/nextjs-auth0/tree/v4.6.0) (2025-05-21) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.5.1...v4.6.0) + +**Added** +- feature/conditionally update session handleAccessToken [\#2054](https://github.com/auth0/nextjs-auth0/pull/2054) ([tusharpandey13](https://github.com/tusharpandey13)) +- Add missing support for legacy chunked cookies [\#2071](https://github.com/auth0/nextjs-auth0/pull/2071) ([tusharpandey13](https://github.com/tusharpandey13)) + +**Changed** +- Update middleware combination example to prevent unintended backend execution [\#2076](https://github.com/auth0/nextjs-auth0/pull/2076) ([tusharpandey13](https://github.com/tusharpandey13)) +- Bump eslint-plugin-react from 7.37.4 to 7.37.5 [\#2091](https://github.com/auth0/nextjs-auth0/pull/2091) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump @playwright/test from 1.50.1 to 1.52.0 [\#2092](https://github.com/auth0/nextjs-auth0/pull/2092) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump @vitest/coverage-v8 from 2.1.4 to 2.1.9 [\#2093](https://github.com/auth0/nextjs-auth0/pull/2093) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump typescript-eslint from 8.32.0 to 8.32.1 [\#2094](https://github.com/auth0/nextjs-auth0/pull/2094) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump eslint-config-prettier from 10.0.1 to 10.1.5 [\#2090](https://github.com/auth0/nextjs-auth0/pull/2090) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump oauth4webapi from 3.1.4 to 3.5.1 [\#2085](https://github.com/auth0/nextjs-auth0/pull/2085) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore(deps): bump @eslint/plugin-kit from 0.2.2 to 0.2.7 in /examples/with-shadcn [\#1995](https://github.com/auth0/nextjs-auth0/pull/1995) ([dependabot[bot]](https://github.com/apps/dependabot)) +- build(deps): bump jose from 5.9.6 to 5.10.0 [\#1956](https://github.com/auth0/nextjs-auth0/pull/1956) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump codecov/codecov-action from 5.3.1 to 5.4.2 [\#2058](https://github.com/auth0/nextjs-auth0/pull/2058) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump swr from 2.3.2 to 2.3.3 [\#2086](https://github.com/auth0/nextjs-auth0/pull/2086) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump typescript-eslint from 8.24.0 to 8.32.0 [\#2084](https://github.com/auth0/nextjs-auth0/pull/2084) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore(deps): bump next from 15.0.2 to 15.2.3 in /examples/with-shadcn [\#1986](https://github.com/auth0/nextjs-auth0/pull/1986) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump next from 15.0.3 to 15.2.4 in /examples/with-next-intl [\#2029](https://github.com/auth0/nextjs-auth0/pull/2029) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Update deleteByLogoutToken arg type in EXAMPLES.md [\#2067](https://github.com/auth0/nextjs-auth0/pull/2067) ([ammubhave](https://github.com/ammubhave)) +- Bump @auth0/nextjs-auth0 from 4.0.1 to 4.5.1 in /examples/with-shadcn [\#2073](https://github.com/auth0/nextjs-auth0/pull/2073) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump @eslint/js from 9.20.0 to 9.26.0 [\#2078](https://github.com/auth0/nextjs-auth0/pull/2078) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump vite from 5.4.14 to 5.4.19 [\#2075](https://github.com/auth0/nextjs-auth0/pull/2075) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump typedoc from 0.27.7 to 0.28.4 [\#2079](https://github.com/auth0/nextjs-auth0/pull/2079) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore(deps-dev): bump globals from 15.14.0 to 15.15.0 [\#1969](https://github.com/auth0/nextjs-auth0/pull/1969) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore(deps-dev): bump prettier from 3.4.2 to 3.5.3 [\#1967](https://github.com/auth0/nextjs-auth0/pull/1967) ([dependabot[bot]](https://github.com/apps/dependabot)) + +**Fixed** +- Usability upgrades to V4 Migration Guide [\#2095](https://github.com/auth0/nextjs-auth0/pull/2095) ([nandan-bhat](https://github.com/nandan-bhat)) +- Bugfix: Add clockTolerance to cookie decryption [\#2097](https://github.com/auth0/nextjs-auth0/pull/2097) ([tusharpandey13](https://github.com/tusharpandey13)) +- Fix stacking transaction cookies [\#2077](https://github.com/auth0/nextjs-auth0/pull/2077) ([tusharpandey13](https://github.com/tusharpandey13)) + ## [v4.5.1](https://github.com/auth0/nextjs-auth0/tree/v4.5.1) (2025-04-29) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.5.0...v4.5.1) diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index 74b09726..a7a49da0 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -15,10 +15,10 @@ --dark-hl-6: #C586C0; --light-hl-7: #001080; --dark-hl-7: #9CDCFE; - --light-hl-8: #267F99; - --dark-hl-8: #4EC9B0; - --light-hl-9: #008000; - --dark-hl-9: #6A9955; + --light-hl-8: #008000; + --dark-hl-8: #6A9955; + --light-hl-9: #267F99; + --dark-hl-9: #4EC9B0; --light-hl-10: #800000; --dark-hl-10: #808080; --light-hl-11: #800000; diff --git a/docs/assets/search.js b/docs/assets/search.js index 95ebdeff..916cb439 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy9XW1z27ay/i/yV50cLvieb2matpnTNp0658yd8XQ8jATbPJZFXZJynZvpf79DkJQWwIJcUnQ/JSMDuwvgwWKxDwB+W5XFn9Xq7c231WO+367e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ewp89bk3MgtHhbKTPMTX2vByTycS2CyEJpEipXx8FyPuJhSQrdZnemy8F5vqiT7qJy2H5kizhIVY4/jnVZALpzPQkleCzc74oJQz+zgnJ3XTzum5zGCQpwjYqJOkff9gmVGXzEOvnrOEriugP7cIl5bcRa1P1PWXEWYLZ46X4eGiJmE6L6kjC3FPizltt8ENWApPVksmHv/6vhFG2vsELrVmcl39t8UwZ2E4ljmAVIqAY33qh1YeINZn79WZrMkMXYGTHRYAglkpNj9MZdUJNdGCWajIWEOBhZoACbRjl30voG5OTMFk+4L7zuYaRQl1zqa6GFT+3MtwDwt236qHotDwlgSjG8L45mruVfeIB8r8yAN3p51w8BzJcdKmtIiNHM5G4o/1qtDfpC7fC9Xb2/++Ouv/weCpNv4"; \ No newline at end of file +window.searchData = "eJy9XV1v3Diy/S/tV29WRX3nLZPJzga7OxmMs4sLBAND6aZtbdqtvpLak9xg/vuFKMldJItUSS3PU4I2WVUkD6vIOiT1fVNXvzeb15++b76Uh93mtbjeHIpHuXm92e5LeWg315tTvd+83jxWu9NeNn/tf3710D7uN9eb7b5oGtlsXm82f1zbMtpvR9lYItSvfglx8izjY/VFHm7k2ZLy0Mr6rtg+SxpLECKvN8ei7pox2nLWAYGInpUU261sGiWIqeeqr9IOVTw6n+u5lJe7WYrL3RpKm211lFyVY+FLFNbyrpbNw6ymDnXWaK/8eixr2bzh4uhqqFC08xVj+L6tDge5bcvqMA1ku+xLQ9qhcQa4ifYtQ5zLFA72+EYwYOAyhAsIvjHb55LzrdHqLjYHI/VGNk1ZHX4s2sJtDip0ATZPjaz5Oq6G4r5WYuMdStvJ+WcpVlUaOTXiDOVK16HYz1COqlyofGtBoJlhx7n22B3NIpMcWLtpq9rjFsyS81Angih7VnrPHPuznqv7OWPft8ShvJmvfBbwvMp3ci/buZ189VxrPRN++PbP6r46tRNhyWfP5297JYITnLzG5SnE56UqZZcSMpiE/n6B42tOn1nSr25v1R9UcV8LccW+jlN1uZulWhVfrBpP9n97vX3315V61C37aron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DH8umKQ/3nkUmMjQd1sQZDxWjbCIIx8jUdEg/ZNzGK6mOmYSmesxzQFYgxgFpdBbMWXkot18sedjz8xz/8K1BDBfMaDDzZ1XHEwi7i5A9MW/FUh2o0J1itxqM2yXmfvgsclsdWvlVn/PYvzJJtLNAKzmP7WRmz6r6/lZP1OLAy9zdHIt72dQ9v9GzmZpZeLYCb0ZpEvsPL2oisVMBrpGtviEPcOePqV5Ixv8wifNjuW1Pun8SaByYuy17I5DjlG3MgwaxHssxJiIeJo6n5kHuNPKNIqkTFPXy0X8I3pSthw/iDnK347dzsSfA2zWmy6zlrqzltr091aUWyvBKizciQ5ywd6poBcMUhD8ciqMYXk3mvH3L+cubqHEIx+E4DtGYr2Iy1nW133evrGsTBM+yMXcOKQ+LavLqhxqwaw/GPHc4zjfmEqOXS3HhOI0OPBieP0KOm43HJX7OpY7/SXmTqP9OEN4Y4UUZ0zs320oHDc4ZD/YMSypmvrPZfbEDJVpNx0wxFheX4iV5MHaWGIc5GYGZPRMmI4XCDKTjF9vxSGGdI8kDIzsHzFTh8IkePKMQUpk+k1j6pTjuMXewz5m8LodHbvGwUCZtQHwFBycH8TKQSZ5qEim+KMBzPeFiSgndFW2hy8J7vbmSiEN8OKzMEWeJSrHHCZ4jIM8/YqEk44abnXBBqGd2cM4uGKcds83GohDniJioU8cKxoBlrr5SvPga2VRgpuQdn/jEsRVnZcfTbt09jcXiqZN/aIiYSYjh693YUuzDcm77TVADlpI886fM9p4+a2ONk4tDdGYm+MdvteBOQmGPebSVSkBjJzWAhde49vwVOJt1SbEzYKLDEkggI8fujxlSkVwbJZgnh4w5GFigAZhMOxAy+gbm5swUTLovvO9gplGUXOvQZIBNHU/cAPMcr/oEkiYOCWNJML5njWeu5l55g3xqzCM+eHs2DAPPlZwaaUpL0MzlbCh+u94cy6Pclwe5ef3ptz/++H9RJaGe"; \ No newline at end of file diff --git a/docs/classes/errors.AccessTokenError.html b/docs/classes/errors.AccessTokenError.html index fcfd2497..1198812e 100644 --- a/docs/classes/errors.AccessTokenError.html +++ b/docs/classes/errors.AccessTokenError.html @@ -1,3 +1,3 @@ -AccessTokenError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +AccessTokenError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string
+

Constructors

Properties

code: string
diff --git a/docs/classes/errors.AccessTokenForConnectionError.html b/docs/classes/errors.AccessTokenForConnectionError.html index 90402e5b..3fee0e77 100644 --- a/docs/classes/errors.AccessTokenForConnectionError.html +++ b/docs/classes/errors.AccessTokenForConnectionError.html @@ -1,11 +1,11 @@ -AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.5.1

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

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

-

Hierarchy (View Summary)

Constructors

Hierarchy (View Summary)

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 d0c7ebb1..e5491b33 100644 --- a/docs/classes/errors.AuthorizationCodeGrantError.html +++ b/docs/classes/errors.AuthorizationCodeGrantError.html @@ -1,4 +1,4 @@ -AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "authorization_code_grant_error"
+

Constructors

Properties

code: string = "authorization_code_grant_error"
diff --git a/docs/classes/errors.AuthorizationError.html b/docs/classes/errors.AuthorizationError.html index 6d9498ce..85c50141 100644 --- a/docs/classes/errors.AuthorizationError.html +++ b/docs/classes/errors.AuthorizationError.html @@ -1,4 +1,4 @@ -AuthorizationError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +AuthorizationError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "authorization_error"
+

Constructors

Properties

code: string = "authorization_error"
diff --git a/docs/classes/errors.BackchannelLogoutError.html b/docs/classes/errors.BackchannelLogoutError.html index c9385736..aca17300 100644 --- a/docs/classes/errors.BackchannelLogoutError.html +++ b/docs/classes/errors.BackchannelLogoutError.html @@ -1,3 +1,3 @@ -BackchannelLogoutError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +BackchannelLogoutError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "backchannel_logout_error"
+

Constructors

Properties

code: string = "backchannel_logout_error"
diff --git a/docs/classes/errors.DiscoveryError.html b/docs/classes/errors.DiscoveryError.html index 97adec63..95ad1266 100644 --- a/docs/classes/errors.DiscoveryError.html +++ b/docs/classes/errors.DiscoveryError.html @@ -1,3 +1,3 @@ -DiscoveryError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +DiscoveryError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "discovery_error"
+

Constructors

Properties

code: string = "discovery_error"
diff --git a/docs/classes/errors.InvalidStateError.html b/docs/classes/errors.InvalidStateError.html index be058024..ffa8a46d 100644 --- a/docs/classes/errors.InvalidStateError.html +++ b/docs/classes/errors.InvalidStateError.html @@ -1,3 +1,3 @@ -InvalidStateError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +InvalidStateError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

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 b7162556..03daf13e 100644 --- a/docs/classes/errors.MissingStateError.html +++ b/docs/classes/errors.MissingStateError.html @@ -1,3 +1,3 @@ -MissingStateError | @auth0/nextjs-auth0 - v4.5.1

Hierarchy (View Summary)

Constructors

constructor +MissingStateError | @auth0/nextjs-auth0 - v4.6.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "missing_state"
+

Constructors

Properties

code: string = "missing_state"
diff --git a/docs/classes/errors.OAuth2Error.html b/docs/classes/errors.OAuth2Error.html index 47a461da..8ed90648 100644 --- a/docs/classes/errors.OAuth2Error.html +++ b/docs/classes/errors.OAuth2Error.html @@ -1,5 +1,5 @@ -OAuth2Error | @auth0/nextjs-auth0 - v4.5.1

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.6.0

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)

Constructors

Hierarchy (View Summary)

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 0bf8a14f..04263e7a 100644 --- a/docs/classes/errors.SdkError.html +++ b/docs/classes/errors.SdkError.html @@ -1,3 +1,3 @@ -SdkError | @auth0/nextjs-auth0 - v4.5.1

Class SdkErrorAbstract

Hierarchy (View Summary)

Constructors

constructor +SdkError | @auth0/nextjs-auth0 - v4.6.0

Class SdkErrorAbstract

Hierarchy (View Summary)

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 fb121592..720656e1 100644 --- a/docs/classes/server.AbstractSessionStore.html +++ b/docs/classes/server.AbstractSessionStore.html @@ -1,4 +1,4 @@ -AbstractSessionStore | @auth0/nextjs-auth0 - v4.5.1

Class AbstractSessionStoreAbstract

Constructors

constructor +AbstractSessionStore | @auth0/nextjs-auth0 - v4.6.0

Class AbstractSessionStoreAbstract

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 8adbbc52..a0a3ae1e 100644 --- a/docs/classes/server.Auth0Client.html +++ b/docs/classes/server.Auth0Client.html @@ -1,31 +1,31 @@ -Auth0Client | @auth0/nextjs-auth0 - v4.5.1

Constructors

constructor +Auth0Client | @auth0/nextjs-auth0 - v4.6.0

Constructors

Methods

  • Parameters

    • Optionaloptions: GetAccessTokenOptions

      Optional configuration for getting the access token.

      +

Constructors

Methods

  • Parameters

    • Optionaloptions: GetAccessTokenOptions

      Optional configuration for getting the access token.

      • refresh

        Force a refresh of the access token.

        -

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

  • getAccessToken returns the access token.

    +

Returns Promise<{ expiresAt: number; scope?: string; token: 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.

    • Optionaloptions: GetAccessTokenOptions

      Optional configuration for getting the access token.

      • refresh

        Force a refresh of the access token.

        -

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

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

    +

    Parameters

    Returns Promise<void>

    diff --git a/docs/classes/server.AuthClient.html b/docs/classes/server.AuthClient.html index 7a36a68a..66aac0c8 100644 --- a/docs/classes/server.AuthClient.html +++ b/docs/classes/server.AuthClient.html @@ -1,4 +1,4 @@ -AuthClient | @auth0/nextjs-auth0 - v4.5.1

    Constructors

    constructor +AuthClient | @auth0/nextjs-auth0 - v4.6.0

    Constructors

    Methods

    Constructors

    Methods

    • Exchanges a refresh token for an access token for a connection.

      This method performs a token exchange using the provided refresh token and connection details. It first checks if the refresh token is present in the tokenSet. If not, it returns an error. Then, it constructs the necessary parameters for the token exchange request and performs @@ -19,6 +19,6 @@ The second element is either null if an error occurred, or a ConnectionTokenSet object containing the access token, expiration time, and scope if the request was successful.

      If the refresh token is missing or if there is an error during the token exchange process.

      -
    +

    Parameters

    Returns Promise<[SdkError, null] | [null, TokenSet]>

    diff --git a/docs/classes/server.TransactionStore.html b/docs/classes/server.TransactionStore.html index f6856c03..194edf8a 100644 --- a/docs/classes/server.TransactionStore.html +++ b/docs/classes/server.TransactionStore.html @@ -1,8 +1,12 @@ -TransactionStore | @auth0/nextjs-auth0 - v4.5.1

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

    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.

    -

    Constructors

    Constructors

    Methods

    • Parameters

      • resCookies: ResponseCookies
      • state: string

      Returns Promise<void>

    +

    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>

    diff --git a/docs/enums/errors.AccessTokenErrorCode.html b/docs/enums/errors.AccessTokenErrorCode.html index 45d2aea1..6ac57070 100644 --- a/docs/enums/errors.AccessTokenErrorCode.html +++ b/docs/enums/errors.AccessTokenErrorCode.html @@ -1,4 +1,4 @@ -AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.5.1

    Enumeration AccessTokenErrorCode

    Enumeration Members

    FAILED_TO_REFRESH_TOKEN +AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.6.0

    Enumeration AccessTokenErrorCode

    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 ac0caf8c..a827ca22 100644 --- a/docs/enums/errors.AccessTokenForConnectionErrorCode.html +++ b/docs/enums/errors.AccessTokenForConnectionErrorCode.html @@ -1,8 +1,8 @@ -AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.5.1

    Enumeration AccessTokenForConnectionErrorCode

    Enum representing error codes related to access tokens for connections.

    -

    Enumeration Members

    FAILED_TO_EXCHANGE +AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.6.0

    Enumeration AccessTokenForConnectionErrorCode

    Enum representing error codes related to access tokens for connections.

    +

    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/functions/client.Auth0Provider.html b/docs/functions/client.Auth0Provider.html index d1d1838e..5057430e 100644 --- a/docs/functions/client.Auth0Provider.html +++ b/docs/functions/client.Auth0Provider.html @@ -1 +1 @@ -Auth0Provider | @auth0/nextjs-auth0 - v4.5.1
    +Auth0Provider | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/functions/client.getAccessToken.html b/docs/functions/client.getAccessToken.html index c909bb64..0238b178 100644 --- a/docs/functions/client.getAccessToken.html +++ b/docs/functions/client.getAccessToken.html @@ -1 +1 @@ -getAccessToken | @auth0/nextjs-auth0 - v4.5.1
    +getAccessToken | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/functions/client.useUser.html b/docs/functions/client.useUser.html index 9b22e1a7..8066ee42 100644 --- a/docs/functions/client.useUser.html +++ b/docs/functions/client.useUser.html @@ -1 +1 @@ -useUser | @auth0/nextjs-auth0 - v4.5.1
    • Returns
          | {
              error: Error;
              invalidate: () => Promise<undefined | User>;
              isLoading: boolean;
              user: null;
          }
          | {
              error: null;
              invalidate: () => Promise<undefined | User>;
              isLoading: boolean;
              user: User;
          }
          | {
              error: undefined;
              invalidate: () => Promise<undefined | User>;
              isLoading: boolean;
              user: undefined;
          }

    +useUser | @auth0/nextjs-auth0 - v4.6.0
    • Returns
          | {
              error: Error;
              invalidate: () => Promise<undefined | User>;
              isLoading: boolean;
              user: null;
          }
          | {
              error: null;
              invalidate: () => Promise<undefined | User>;
              isLoading: boolean;
              user: User;
          }
          | {
              error: undefined;
              invalidate: () => Promise<undefined | User>;
              isLoading: boolean;
              user: undefined;
          }

    diff --git a/docs/functions/testing.generateSessionCookie.html b/docs/functions/testing.generateSessionCookie.html index d7a8c440..eb8f0cd7 100644 --- a/docs/functions/testing.generateSessionCookie.html +++ b/docs/functions/testing.generateSessionCookie.html @@ -1 +1 @@ -generateSessionCookie | @auth0/nextjs-auth0 - v4.5.1
    +generateSessionCookie | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 4b5c8d7b..af95084f 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.5.1

    @auth0/nextjs-auth0 - v4.5.1

    Hierarchy Summary

    +@auth0/nextjs-auth0 - v4.6.0

    @auth0/nextjs-auth0 - v4.6.0

    Hierarchy Summary

    diff --git a/docs/index.html b/docs/index.html index 1af2ac65..9a25b2e3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -@auth0/nextjs-auth0 - v4.5.1

    @auth0/nextjs-auth0 - v4.5.1

    Auth0 Next.js SDK Banner

    +@auth0/nextjs-auth0 - v4.6.0

    @auth0/nextjs-auth0 - v4.6.0

    Auth0 Next.js SDK Banner

    The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications.

    Auth0 Next.js SDK Release Auth0 Next.js SDK Downloads @@ -37,14 +37,14 @@

    Create a middleware.ts file in the root of your project's directory:

    -
    import type { NextRequest } from "next/server"

    import { auth0 } from "./lib/auth0"

    export async function middleware(request: NextRequest) {
    return await auth0.middleware(request)
    }

    export const config = {
    matcher: [
    /*
    * Match all request paths except for the ones starting with:
    * - _next/static (static files)
    * - _next/image (image optimization files)
    * - favicon.ico, sitemap.xml, robots.txt (metadata files)
    */
    "/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)",
    ],
    } +
    import type { NextRequest } from "next/server"

    import { auth0 } from "./lib/auth0" // Adjust path if your auth0 client is elsewhere

    export async function middleware(request: NextRequest) {
    return await auth0.middleware(request)
    }

    export const config = {
    matcher: [
    /*
    * Match all request paths except for the ones starting with:
    * - _next/static (static files)
    * - _next/image (image optimization files)
    * - favicon.ico, sitemap.xml, robots.txt (metadata files)
    */
    "/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)",
    ],
    }
    Note


    If you're using a src/ directory, the middleware.ts file must be created inside the src/ directory.

    You can now begin to authenticate your users by redirecting them to your application's /auth/login route:

    -
    import { auth0 } from "@/lib/auth0"

    export default async function Home() {
    const session = await auth0.getSession()

    if (!session) {
    return (
    <main>
    <a href="/auth/login?screen_hint=signup">Sign up</a>
    <a href="/auth/login">Log in</a>
    </main>
    )
    }

    return (
    <main>
    <h1>Welcome, {session.user.name}!</h1>
    </main>
    )
    } +
    import { auth0 } from "./lib/auth0" // Adjust path if your auth0 client is elsewhere

    export default async function Home() {
    const session = await auth0.getSession()

    if (!session) {
    return (
    <main>
    <a href="/auth/login?screen_hint=signup">Sign up</a>
    <a href="/auth/login">Log in</a>
    </main>
    )
    }

    return (
    <main>
    <h1>Welcome, {session.user.name}!</h1>
    </main>
    )
    }
    Important


    @@ -207,4 +207,4 @@

    This project is licensed under the MIT license. See the LICENSE file for more info. -

    +

    diff --git a/docs/interfaces/types.AccessTokenForConnectionOptions.html b/docs/interfaces/types.AccessTokenForConnectionOptions.html index 6409bd00..dddb969b 100644 --- a/docs/interfaces/types.AccessTokenForConnectionOptions.html +++ b/docs/interfaces/types.AccessTokenForConnectionOptions.html @@ -1,6 +1,6 @@ -AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface AccessTokenForConnectionOptions

    Options for retrieving a connection access token.

    -
    interface AccessTokenForConnectionOptions {
        connection: string;
        login_hint?: string;
    }

    Properties

    connection +AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface AccessTokenForConnectionOptions

    Options for retrieving a connection access token.

    +
    interface AccessTokenForConnectionOptions {
        connection: string;
        login_hint?: string;
    }

    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.

    -
    +
    login_hint?: string

    An optional login hint to pass to the authorization server.

    +
    diff --git a/docs/interfaces/types.Auth0ClientOptions.html b/docs/interfaces/types.Auth0ClientOptions.html index 28569c63..38c40496 100644 --- a/docs/interfaces/types.Auth0ClientOptions.html +++ b/docs/interfaces/types.Auth0ClientOptions.html @@ -1,4 +1,4 @@ -Auth0ClientOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface Auth0ClientOptions

    interface Auth0ClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl?: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId?: string;
        clientSecret?: string;
        domain?: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        httpTimeout?: number;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret?: string;
        session?: SessionConfiguration;
        sessionStore?: SessionDataStore;
        signInReturnToPath?: string;
        transactionCookie?: TransactionCookieOptions;
    }

    Properties

    allowInsecureRequests? +Auth0ClientOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface Auth0ClientOptions

    interface Auth0ClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl?: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId?: string;
        clientSecret?: string;
        domain?: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        httpTimeout?: number;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret?: string;
        session?: SessionConfiguration;
        sessionStore?: SessionDataStore;
        signInReturnToPath?: string;
        transactionCookie?: TransactionCookieOptions;
    }

    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.

    -
    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

    -
    enableTelemetry?: boolean

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

    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.

    -
    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">,
    >

    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">,
    >

    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.

    -
    +
    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.

    +
    diff --git a/docs/interfaces/types.AuthClientOptions.html b/docs/interfaces/types.AuthClientOptions.html index d61e303a..2a5f41c5 100644 --- a/docs/interfaces/types.AuthClientOptions.html +++ b/docs/interfaces/types.AuthClientOptions.html @@ -1,4 +1,4 @@ -AuthClientOptions | @auth0/nextjs-auth0 - v4.5.1
    interface AuthClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId: string;
        clientSecret?: string;
        domain: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        httpTimeout?: number;
        jwksCache?: JWKSCacheInput;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret: string;
        sessionStore: AbstractSessionStore;
        signInReturnToPath?: string;
        transactionStore: TransactionStore;
    }

    Properties

    allowInsecureRequests? +AuthClientOptions | @auth0/nextjs-auth0 - v4.6.0
    interface AuthClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId: string;
        clientSecret?: string;
        domain: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        httpTimeout?: number;
        jwksCache?: JWKSCacheInput;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret: string;
        sessionStore: AbstractSessionStore;
        signInReturnToPath?: string;
        transactionStore: TransactionStore;
    }

    Properties

    allowInsecureRequests?: boolean
    appBaseUrl: string
    authorizationParameters?: AuthorizationParameters
    beforeSessionSaved?: BeforeSessionSavedHook
    clientAssertionSigningAlg?: string
    clientAssertionSigningKey?: string | CryptoKey
    clientId: string
    clientSecret?: string
    domain: string
    enableAccessTokenEndpoint?: boolean
    enableTelemetry?: boolean
    fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, 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
    enableAccessTokenEndpoint?: boolean
    enableTelemetry?: boolean
    fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Type declaration

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

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

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

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

        Returns Promise<Response>

    httpTimeout?: number
    jwksCache?: JWKSCacheInput
    onCallback?: OnCallbackHook
    pushedAuthorizationRequests?: boolean
    routes?: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    secret: string
    sessionStore: AbstractSessionStore
    signInReturnToPath?: string
    transactionStore: TransactionStore
    +

    Parameters

    Returns Promise<Response>

    httpTimeout?: number
    jwksCache?: JWKSCacheInput
    onCallback?: OnCallbackHook
    pushedAuthorizationRequests?: boolean
    routes?: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    secret: string
    sessionStore: AbstractSessionStore
    signInReturnToPath?: string
    transactionStore: TransactionStore
    diff --git a/docs/interfaces/types.AuthorizationParameters.html b/docs/interfaces/types.AuthorizationParameters.html index cbba703d..9faa08e7 100644 --- a/docs/interfaces/types.AuthorizationParameters.html +++ b/docs/interfaces/types.AuthorizationParameters.html @@ -1,11 +1,11 @@ -AuthorizationParameters | @auth0/nextjs-auth0 - v4.5.1

    Interface AuthorizationParameters

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

    Indexable

    • [key: string]: unknown

      Additional authorization parameters.

      -

    Properties

    audience? +AuthorizationParameters | @auth0/nextjs-auth0 - v4.6.0

    Interface AuthorizationParameters

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

    Indexable

    • [key: string]: unknown

      Additional authorization parameters.

      +

    Properties

    audience?: null | string

    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.

    -
    redirect_uri?: null | string

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

    -
    scope?: null | string

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

    max_age?: number

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

    +
    redirect_uri?: null | string

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

    +
    scope?: null | string

    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.ConnectionTokenSet.html b/docs/interfaces/types.ConnectionTokenSet.html index dca30acd..92797efb 100644 --- a/docs/interfaces/types.ConnectionTokenSet.html +++ b/docs/interfaces/types.ConnectionTokenSet.html @@ -1,5 +1,5 @@ -ConnectionTokenSet | @auth0/nextjs-auth0 - v4.5.1

    Interface ConnectionTokenSet

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

    Indexable

    • [key: string]: unknown

    Properties

    accessToken +ConnectionTokenSet | @auth0/nextjs-auth0 - v4.6.0

    Interface ConnectionTokenSet

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

    Indexable

    • [key: string]: unknown

    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 8dc69428..3704f23b 100644 --- a/docs/interfaces/types.CookieOptions.html +++ b/docs/interfaces/types.CookieOptions.html @@ -1,8 +1,8 @@ -CookieOptions | @auth0/nextjs-auth0 - v4.5.1
    interface CookieOptions {
        domain?: string;
        httpOnly: boolean;
        maxAge?: number;
        path: string;
        sameSite: "lax" | "strict" | "none";
        secure: boolean;
        transient?: boolean;
    }

    Properties

    domain? +CookieOptions | @auth0/nextjs-auth0 - v4.6.0
    interface CookieOptions {
        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
    +

    Properties

    domain?: string
    httpOnly: boolean
    maxAge?: number
    path: string
    sameSite: "lax" | "strict" | "none"
    secure: boolean
    transient?: boolean
    diff --git a/docs/interfaces/types.Routes.html b/docs/interfaces/types.Routes.html index f920c4e9..418a156e 100644 --- a/docs/interfaces/types.Routes.html +++ b/docs/interfaces/types.Routes.html @@ -1,7 +1,7 @@ -Routes | @auth0/nextjs-auth0 - v4.5.1
    interface Routes {
        accessToken: string;
        backChannelLogout: string;
        callback: string;
        login: string;
        logout: string;
        profile: string;
    }

    Properties

    accessToken +Routes | @auth0/nextjs-auth0 - v4.6.0
    interface Routes {
        accessToken: string;
        backChannelLogout: string;
        callback: string;
        login: string;
        logout: string;
        profile: string;
    }

    Properties

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

    Properties

    accessToken: string
    backChannelLogout: string
    callback: string
    login: string
    logout: string
    profile: string
    diff --git a/docs/interfaces/types.SessionConfiguration.html b/docs/interfaces/types.SessionConfiguration.html index 7e08a2ec..9dcdb5c4 100644 --- a/docs/interfaces/types.SessionConfiguration.html +++ b/docs/interfaces/types.SessionConfiguration.html @@ -1,16 +1,16 @@ -SessionConfiguration | @auth0/nextjs-auth0 - v4.5.1

    Interface SessionConfiguration

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

    Hierarchy (View Summary)

    Properties

    absoluteDuration? +SessionConfiguration | @auth0/nextjs-auth0 - v4.6.0

    Interface SessionConfiguration

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

    Hierarchy (View Summary)

    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 0e246b22..f3dda123 100644 --- a/docs/interfaces/types.SessionCookieOptions.html +++ b/docs/interfaces/types.SessionCookieOptions.html @@ -1,4 +1,4 @@ -SessionCookieOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface SessionCookieOptions

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

    Properties

    domain? +SessionCookieOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface SessionCookieOptions

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

    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 ab871e39..089d52bc 100644 --- a/docs/interfaces/types.SessionData.html +++ b/docs/interfaces/types.SessionData.html @@ -1,5 +1,5 @@ -SessionData | @auth0/nextjs-auth0 - v4.5.1
    interface SessionData {
        connectionTokenSets?: ConnectionTokenSet[];
        internal: { createdAt: number; sid: string };
        tokenSet: TokenSet;
        user: User;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

    Properties

    connectionTokenSets? +SessionData | @auth0/nextjs-auth0 - v4.6.0
    interface SessionData {
        connectionTokenSets?: ConnectionTokenSet[];
        internal: { createdAt: number; sid: string };
        tokenSet: TokenSet;
        user: User;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

    Properties

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

    Properties

    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 459ec497..b74321d1 100644 --- a/docs/interfaces/types.SessionDataStore.html +++ b/docs/interfaces/types.SessionDataStore.html @@ -1,9 +1,9 @@ -SessionDataStore | @auth0/nextjs-auth0 - v4.5.1
    interface SessionDataStore {
        delete(id: string): Promise<void>;
        deleteByLogoutToken(logoutToken: LogoutToken): Promise<void>;
        get(id: string): Promise<null | SessionData>;
        set(id: string, session: SessionData): Promise<void>;
    }

    Methods

    delete +SessionDataStore | @auth0/nextjs-auth0 - v4.6.0
    interface SessionDataStore {
        delete(id: string): Promise<void>;
        deleteByLogoutToken(logoutToken: LogoutToken): Promise<void>;
        get(id: string): Promise<null | SessionData>;
        set(id: string, session: SessionData): Promise<void>;
    }

    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 637765b6..db92abc2 100644 --- a/docs/interfaces/types.SessionStoreOptions.html +++ b/docs/interfaces/types.SessionStoreOptions.html @@ -1,4 +1,4 @@ -SessionStoreOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface SessionStoreOptions

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

    Hierarchy (View Summary)

    Properties

    absoluteDuration? +SessionStoreOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface SessionStoreOptions

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

    Hierarchy (View Summary)

    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 0d4c5d87..9f672de3 100644 --- a/docs/interfaces/types.StartInteractiveLoginOptions.html +++ b/docs/interfaces/types.StartInteractiveLoginOptions.html @@ -1,5 +1,5 @@ -StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface StartInteractiveLoginOptions

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

    Properties

    authorizationParameters? +StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface StartInteractiveLoginOptions

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

    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 039d315d..42eded77 100644 --- a/docs/interfaces/types.TokenSet.html +++ b/docs/interfaces/types.TokenSet.html @@ -1,6 +1,6 @@ -TokenSet | @auth0/nextjs-auth0 - v4.5.1
    interface TokenSet {
        accessToken: string;
        expiresAt: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
    }

    Properties

    accessToken +TokenSet | @auth0/nextjs-auth0 - v4.6.0
    interface TokenSet {
        accessToken: string;
        expiresAt: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
    }

    Properties

    accessToken: string
    expiresAt: number
    idToken?: string
    refreshToken?: string
    scope?: string
    +

    Properties

    accessToken: string
    expiresAt: number
    idToken?: string
    refreshToken?: string
    scope?: string
    diff --git a/docs/interfaces/types.TransactionCookieOptions.html b/docs/interfaces/types.TransactionCookieOptions.html index 48da30ad..4b3c0dd0 100644 --- a/docs/interfaces/types.TransactionCookieOptions.html +++ b/docs/interfaces/types.TransactionCookieOptions.html @@ -1,12 +1,12 @@ -TransactionCookieOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface TransactionCookieOptions

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

    Properties

    path? +TransactionCookieOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface TransactionCookieOptions

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

    Properties

    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.

    +
    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 cba94d31..4761e166 100644 --- a/docs/interfaces/types.TransactionState.html +++ b/docs/interfaces/types.TransactionState.html @@ -1,8 +1,8 @@ -TransactionState | @auth0/nextjs-auth0 - v4.5.1
    interface TransactionState {
        codeVerifier: string;
        maxAge?: number;
        nonce: string;
        responseType: string;
        returnTo: string;
        state: string;
        [propName: string]: unknown;
    }

    Hierarchy

    • JWTPayload
      • TransactionState

    Indexable

    • [propName: string]: unknown

      Any other JWT Claim Set member.

      -

    Properties

    codeVerifier +TransactionState | @auth0/nextjs-auth0 - v4.6.0
    interface TransactionState {
        codeVerifier: string;
        maxAge?: number;
        nonce: string;
        responseType: string;
        returnTo: string;
        state: string;
        [propName: string]: unknown;
    }

    Hierarchy

    • JWTPayload
      • TransactionState

    Indexable

    • [propName: string]: unknown

      Any other JWT Claim Set member.

      +

    Properties

    codeVerifier: string
    maxAge?: number
    nonce: string
    responseType: string
    returnTo: string
    state: string
    +

    Properties

    codeVerifier: string
    maxAge?: number
    nonce: string
    responseType: string
    returnTo: string
    state: string
    diff --git a/docs/interfaces/types.TransactionStoreOptions.html b/docs/interfaces/types.TransactionStoreOptions.html index 522785cc..cf569add 100644 --- a/docs/interfaces/types.TransactionStoreOptions.html +++ b/docs/interfaces/types.TransactionStoreOptions.html @@ -1,3 +1,3 @@ -TransactionStoreOptions | @auth0/nextjs-auth0 - v4.5.1

    Interface TransactionStoreOptions

    interface TransactionStoreOptions {
        cookieOptions?: TransactionCookieOptions;
        secret: string;
    }

    Properties

    cookieOptions? +TransactionStoreOptions | @auth0/nextjs-auth0 - v4.6.0

    Interface TransactionStoreOptions

    interface TransactionStoreOptions {
        cookieOptions?: TransactionCookieOptions;
        secret: string;
    }

    Properties

    cookieOptions?: TransactionCookieOptions
    secret: string
    +

    Properties

    cookieOptions?: TransactionCookieOptions
    secret: string
    diff --git a/docs/interfaces/types.User.html b/docs/interfaces/types.User.html index f54e7d90..6dbe88da 100644 --- a/docs/interfaces/types.User.html +++ b/docs/interfaces/types.User.html @@ -1,4 +1,4 @@ -User | @auth0/nextjs-auth0 - v4.5.1
    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

    Properties

    email? +User | @auth0/nextjs-auth0 - v4.6.0
    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

    Properties

    email?: string
    email_verified?: boolean
    family_name?: string
    given_name?: string
    name?: string
    nickname?: string
    org_id?: string
    picture?: string
    sub: string
    +

    Properties

    email?: string
    email_verified?: boolean
    family_name?: string
    given_name?: string
    name?: string
    nickname?: string
    org_id?: string
    picture?: string
    sub: string
    diff --git a/docs/modules.html b/docs/modules.html index 1c230c8c..e3ed71fb 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.5.1

    @auth0/nextjs-auth0 - v4.5.1

    Modules

    client
    errors
    server
    testing
    types
    +@auth0/nextjs-auth0 - v4.6.0

    @auth0/nextjs-auth0 - v4.6.0

    Modules

    client
    errors
    server
    testing
    types
    diff --git a/docs/modules/client.html b/docs/modules/client.html index f9aadc0d..2e4cb9f0 100644 --- a/docs/modules/client.html +++ b/docs/modules/client.html @@ -1 +1 @@ -client | @auth0/nextjs-auth0 - v4.5.1
    +client | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/modules/errors.html b/docs/modules/errors.html index 9bab8732..5268de07 100644 --- a/docs/modules/errors.html +++ b/docs/modules/errors.html @@ -1 +1 @@ -errors | @auth0/nextjs-auth0 - v4.5.1
    +errors | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/modules/server.html b/docs/modules/server.html index 99049cb3..4a227a24 100644 --- a/docs/modules/server.html +++ b/docs/modules/server.html @@ -1 +1 @@ -server | @auth0/nextjs-auth0 - v4.5.1
    +server | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/modules/testing.html b/docs/modules/testing.html index 3a89c200..79ea1bda 100644 --- a/docs/modules/testing.html +++ b/docs/modules/testing.html @@ -1 +1 @@ -testing | @auth0/nextjs-auth0 - v4.5.1
    +testing | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/modules/types.html b/docs/modules/types.html index 2ead8af4..2e7975fe 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -1 +1 @@ -types | @auth0/nextjs-auth0 - v4.5.1
    +types | @auth0/nextjs-auth0 - v4.6.0
    diff --git a/docs/types/testing.GenerateSessionCookieConfig.html b/docs/types/testing.GenerateSessionCookieConfig.html index f8d030fe..7c734198 100644 --- a/docs/types/testing.GenerateSessionCookieConfig.html +++ b/docs/types/testing.GenerateSessionCookieConfig.html @@ -1,3 +1,3 @@ -GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.5.1

    Type Alias GenerateSessionCookieConfig

    GenerateSessionCookieConfig: { secret: string }

    Type declaration

    • secret: string

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

      +GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.6.0

      Type Alias GenerateSessionCookieConfig

      GenerateSessionCookieConfig: { secret: string }

      Type declaration

      • 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 8ba0e940..54076ea0 100644 --- a/docs/types/types.BeforeSessionSavedHook.html +++ b/docs/types/types.BeforeSessionSavedHook.html @@ -1 +1 @@ -BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.5.1

    Type Alias BeforeSessionSavedHook

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

    Type declaration

    +BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.6.0

    Type Alias BeforeSessionSavedHook

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

    Type declaration

    diff --git a/docs/types/types.LogoutToken.html b/docs/types/types.LogoutToken.html index db292410..76ea673c 100644 --- a/docs/types/types.LogoutToken.html +++ b/docs/types/types.LogoutToken.html @@ -1 +1 @@ -LogoutToken | @auth0/nextjs-auth0 - v4.5.1
    LogoutToken: { sid?: string; sub?: string }

    Type declaration

    • Optionalsid?: string
    • Optionalsub?: string
    +LogoutToken | @auth0/nextjs-auth0 - v4.6.0
    LogoutToken: { sid?: string; sub?: string }

    Type declaration

    • Optionalsid?: string
    • Optionalsub?: string
    diff --git a/docs/types/types.OnCallbackContext.html b/docs/types/types.OnCallbackContext.html index 6a3494d7..4f65485d 100644 --- a/docs/types/types.OnCallbackContext.html +++ b/docs/types/types.OnCallbackContext.html @@ -1 +1 @@ -OnCallbackContext | @auth0/nextjs-auth0 - v4.5.1

    Type Alias OnCallbackContext

    OnCallbackContext: { returnTo?: string }

    Type declaration

    • OptionalreturnTo?: string
    +OnCallbackContext | @auth0/nextjs-auth0 - v4.6.0

    Type Alias OnCallbackContext

    OnCallbackContext: { returnTo?: string }

    Type declaration

    • OptionalreturnTo?: string
    diff --git a/docs/types/types.OnCallbackHook.html b/docs/types/types.OnCallbackHook.html index 1192348f..6972d047 100644 --- a/docs/types/types.OnCallbackHook.html +++ b/docs/types/types.OnCallbackHook.html @@ -1 +1 @@ -OnCallbackHook | @auth0/nextjs-auth0 - v4.5.1
    OnCallbackHook: (
        error: SdkError | null,
        ctx: OnCallbackContext,
        session: SessionData | null,
    ) => Promise<NextResponse>

    Type declaration

    +OnCallbackHook | @auth0/nextjs-auth0 - v4.6.0
    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 8bbf10aa..a05e99da 100644 --- a/docs/types/types.PagesRouterRequest.html +++ b/docs/types/types.PagesRouterRequest.html @@ -1 +1 @@ -PagesRouterRequest | @auth0/nextjs-auth0 - v4.5.1

    Type Alias PagesRouterRequest

    PagesRouterRequest: IncomingMessage | NextApiRequest
    +PagesRouterRequest | @auth0/nextjs-auth0 - v4.6.0

    Type Alias PagesRouterRequest

    PagesRouterRequest: IncomingMessage | NextApiRequest
    diff --git a/docs/types/types.PagesRouterResponse.html b/docs/types/types.PagesRouterResponse.html index 188aae76..d0cfebb8 100644 --- a/docs/types/types.PagesRouterResponse.html +++ b/docs/types/types.PagesRouterResponse.html @@ -1 +1 @@ -PagesRouterResponse | @auth0/nextjs-auth0 - v4.5.1

    Type Alias PagesRouterResponse

    PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
    +PagesRouterResponse | @auth0/nextjs-auth0 - v4.6.0

    Type Alias PagesRouterResponse

    PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
    diff --git a/docs/types/types.ReadonlyRequestCookies.html b/docs/types/types.ReadonlyRequestCookies.html index edd05317..fa662896 100644 --- a/docs/types/types.ReadonlyRequestCookies.html +++ b/docs/types/types.ReadonlyRequestCookies.html @@ -1 +1 @@ -ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.5.1

    Type Alias ReadonlyRequestCookies

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

    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 ecaa8677..85da2a04 100644 --- a/docs/types/types.RoutesOptions.html +++ b/docs/types/types.RoutesOptions.html @@ -1 +1 @@ -RoutesOptions | @auth0/nextjs-auth0 - v4.5.1
    RoutesOptions: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    +RoutesOptions | @auth0/nextjs-auth0 - v4.6.0
    RoutesOptions: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    diff --git a/package.json b/package.json index c8c38c85..949bfe92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "4.5.1", + "version": "4.6.0", "description": "Auth0 Next.js SDK", "scripts": { "build": "tsc",