From dce1917bd3c7e208527b0881342bbfc750a0fe5e Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Fri, 9 Dec 2022 10:48:15 +0000 Subject: [PATCH] Release v2.0.1 --- CHANGELOG.md | 7 ++++ .../classes/client_use_user.requesterror.html | 4 +- docs/classes/index.applicationerror.html | 2 +- docs/classes/index.identityprovidererror.html | 6 +-- .../index.missingstatecookieerror.html | 4 +- .../classes/index.missingstateparamerror.html | 4 +- docs/classes/index.sessioncache.html | 18 ++++---- docs/classes/session_session.default.html | 14 +++---- .../utils_errors.accesstokenerror.html | 10 ++--- docs/classes/utils_errors.autherror.html | 10 ++--- .../utils_errors.callbackhandlererror.html | 12 +++--- docs/classes/utils_errors.handlererror.html | 10 ++--- .../utils_errors.loginhandlererror.html | 12 +++--- .../utils_errors.logouthandlererror.html | 12 +++--- .../utils_errors.profilehandlererror.html | 12 +++--- .../utils_errors.accesstokenerrorcode.html | 12 +++--- .../client_use_user.userprofile.html | 16 +++---- ...ent_with_page_auth_required.userprops.html | 2 +- ..._required.withpageauthrequiredoptions.html | 6 +-- .../config.authorizationparameters.html | 6 +-- docs/interfaces/config.baseconfig.html | 34 +++++++-------- docs/interfaces/config.cookieconfig.html | 12 +++--- docs/interfaces/config.nextconfig.html | 6 +-- docs/interfaces/config.sessionconfig.html | 14 +++---- .../handlers_callback.callbackoptions.html | 8 ++-- .../handlers_login.authorizationparams.html | 16 +++---- .../handlers_login.loginoptions.html | 6 +-- .../handlers_logout.logoutoptions.html | 4 +- docs/interfaces/index.auth0server.html | 20 ++++----- ...n_get_access_token.accesstokenrequest.html | 8 ++-- ...get_access_token.getaccesstokenresult.html | 2 +- docs/modules/client_use_user.html | 8 ++-- .../client_with_page_auth_required.html | 2 +- docs/modules/config.html | 2 +- docs/modules/edge.html | 12 +++--- docs/modules/handlers_auth.html | 6 +-- docs/modules/handlers_callback.html | 14 +++---- docs/modules/handlers_login.html | 8 ++-- docs/modules/handlers_logout.html | 6 +-- docs/modules/handlers_profile.html | 10 ++--- docs/modules/helpers_testing.html | 4 +- .../helpers_with_api_auth_required.html | 2 +- ...helpers_with_middleware_auth_required.html | 2 +- .../helpers_with_page_auth_required.html | 8 ++-- docs/modules/index.html | 42 +++++++++---------- docs/modules/session_get_access_token.html | 4 +- docs/modules/session_get_session.html | 2 +- docs/modules/session_update_session.html | 6 +-- docs/modules/version.html | 2 +- package-lock.json | 4 +- package.json | 2 +- src/version.ts | 2 +- 52 files changed, 232 insertions(+), 225 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b54aee54f..e03c49b79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## [v2.0.1](https://github.com/auth0/nextjs-auth0/tree/v2.0.1) (2022-12-09) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.0.0...v2.0.1) + +**Fixed** +- afterCallback return type fix [\#954](https://github.com/auth0/nextjs-auth0/pull/954) ([alexmalev](https://github.com/alexmalev)) +- fix/rerenders: useMemo to avoid unnecessary rerenders [\#945](https://github.com/auth0/nextjs-auth0/pull/945) ([stavros-liaskos](https://github.com/stavros-liaskos)) + ## [v2.0.0](https://github.com/auth0/nextjs-auth0/tree/v2.0.0) (2022-12-01) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.2...v2.0.0) diff --git a/docs/classes/client_use_user.requesterror.html b/docs/classes/client_use_user.requesterror.html index 0efb66ff0..59f7e3277 100644 --- a/docs/classes/client_use_user.requesterror.html +++ b/docs/classes/client_use_user.requesterror.html @@ -122,7 +122,7 @@

constructor

Parameters

@@ -144,7 +144,7 @@

status

status: number
diff --git a/docs/classes/index.applicationerror.html b/docs/classes/index.applicationerror.html index 05bf0eb8a..c7884d135 100644 --- a/docs/classes/index.applicationerror.html +++ b/docs/classes/index.applicationerror.html @@ -105,7 +105,7 @@

constructor

diff --git a/docs/classes/index.identityprovidererror.html b/docs/classes/index.identityprovidererror.html index a0b7acc0f..538539d9a 100644 --- a/docs/classes/index.identityprovidererror.html +++ b/docs/classes/index.identityprovidererror.html @@ -112,7 +112,7 @@

constructor

@@ -140,7 +140,7 @@

Optional error

error: string
@@ -157,7 +157,7 @@

Optional errorDescription
errorDescription: string
diff --git a/docs/classes/index.missingstatecookieerror.html b/docs/classes/index.missingstatecookieerror.html index 29035ccfc..935d390db 100644 --- a/docs/classes/index.missingstatecookieerror.html +++ b/docs/classes/index.missingstatecookieerror.html @@ -111,7 +111,7 @@

constructor

Returns MissingStateCookieError

@@ -127,7 +127,7 @@

Static message

message: string = 'Missing state cookie from login request (check login URL, callback URL and cookie config).'
diff --git a/docs/classes/index.missingstateparamerror.html b/docs/classes/index.missingstateparamerror.html index 8861b62c0..a723f12a7 100644 --- a/docs/classes/index.missingstateparamerror.html +++ b/docs/classes/index.missingstateparamerror.html @@ -111,7 +111,7 @@

constructor

Returns MissingStateParamError

@@ -127,7 +127,7 @@

Static message

message: string = 'Missing state parameter in Authorization Response.'
diff --git a/docs/classes/index.sessioncache.html b/docs/classes/index.sessioncache.html index d4255a2c0..159b60526 100644 --- a/docs/classes/index.sessioncache.html +++ b/docs/classes/index.sessioncache.html @@ -129,7 +129,7 @@

constructor

  • Type parameters

    @@ -168,7 +168,7 @@

    create

    Parameters

    @@ -198,7 +198,7 @@

    delete

    Parameters

    @@ -225,7 +225,7 @@

    fromTokenSet

    Parameters

    @@ -248,7 +248,7 @@

    get

  • Parameters

    @@ -275,7 +275,7 @@

    getIdToken

    Parameters

    @@ -302,7 +302,7 @@

    isAuthenticated

    Parameters

    @@ -328,7 +328,7 @@

    save

  • Parameters

    @@ -354,7 +354,7 @@

    set

  • Parameters

    diff --git a/docs/classes/session_session.default.html b/docs/classes/session_session.default.html index 657c9514e..34810c246 100644 --- a/docs/classes/session_session.default.html +++ b/docs/classes/session_session.default.html @@ -126,7 +126,7 @@

    constructor

  • Parameters

    @@ -148,7 +148,7 @@

    Optional accessToken

    accessToken: string
    @@ -163,7 +163,7 @@

    Optional accessToken
    accessTokenExpiresAt: number
    @@ -178,7 +178,7 @@

    Optional accessToken
    accessTokenScope: string
    @@ -193,7 +193,7 @@

    Optional idToken

    idToken: string
    @@ -208,7 +208,7 @@

    Optional refreshToken

    refreshToken: string
    @@ -225,7 +225,7 @@

    user

    user: Claims
    diff --git a/docs/classes/utils_errors.accesstokenerror.html b/docs/classes/utils_errors.accesstokenerror.html index f6e6d8dab..c268daa2a 100644 --- a/docs/classes/utils_errors.accesstokenerror.html +++ b/docs/classes/utils_errors.accesstokenerror.html @@ -132,7 +132,7 @@

    constructor

    Parameters

    @@ -161,7 +161,7 @@

    Optional

    Inherited from AuthError.cause

    @@ -181,7 +181,7 @@

    Readonly code

    @@ -200,7 +200,7 @@

    Readonly name

    @@ -216,7 +216,7 @@

    Optional

    Inherited from AuthError.status

    diff --git a/docs/classes/utils_errors.autherror.html b/docs/classes/utils_errors.autherror.html index a909281c2..cf9fe60ee 100644 --- a/docs/classes/utils_errors.autherror.html +++ b/docs/classes/utils_errors.autherror.html @@ -135,7 +135,7 @@

    constructor

    Parameters

    @@ -157,7 +157,7 @@

    Optional cause: Error

    @@ -176,7 +176,7 @@

    Readonly code

    code: string
    @@ -195,7 +195,7 @@

    Readonly name

    @@ -210,7 +210,7 @@

    Optional status: number

    diff --git a/docs/classes/utils_errors.callbackhandlererror.html b/docs/classes/utils_errors.callbackhandlererror.html index 8eacdb910..bdae86883 100644 --- a/docs/classes/utils_errors.callbackhandlererror.html +++ b/docs/classes/utils_errors.callbackhandlererror.html @@ -139,7 +139,7 @@

    constructor

    Parameters

    @@ -162,7 +162,7 @@

    Optional

    Inherited from HandlerError.cause

    @@ -182,7 +182,7 @@

    Readonly code

    @@ -201,7 +201,7 @@

    Readonly name

    @@ -217,7 +217,7 @@

    Optional

    Inherited from HandlerError.status

    @@ -232,7 +232,7 @@

    Static code: string = 'ERR_CALLBACK_HANDLER_FAILURE'

    diff --git a/docs/classes/utils_errors.handlererror.html b/docs/classes/utils_errors.handlererror.html index 88f0c5b1d..e1ad9830d 100644 --- a/docs/classes/utils_errors.handlererror.html +++ b/docs/classes/utils_errors.handlererror.html @@ -152,7 +152,7 @@

    constructor

    Parameters

    @@ -175,7 +175,7 @@

    Optional

    Inherited from AuthError.cause

    @@ -195,7 +195,7 @@

    Readonly code

    @@ -214,7 +214,7 @@

    Readonly name

    @@ -230,7 +230,7 @@

    Optional

    Inherited from AuthError.status

    diff --git a/docs/classes/utils_errors.loginhandlererror.html b/docs/classes/utils_errors.loginhandlererror.html index 7b431ab8a..e8d98f246 100644 --- a/docs/classes/utils_errors.loginhandlererror.html +++ b/docs/classes/utils_errors.loginhandlererror.html @@ -127,7 +127,7 @@

    constructor

    Parameters

    @@ -150,7 +150,7 @@

    Optional

    Inherited from HandlerError.cause

    @@ -170,7 +170,7 @@

    Readonly code

    @@ -189,7 +189,7 @@

    Readonly name

    @@ -205,7 +205,7 @@

    Optional

    Inherited from HandlerError.status

    @@ -220,7 +220,7 @@

    Static code: string = 'ERR_LOGIN_HANDLER_FAILURE'

    diff --git a/docs/classes/utils_errors.logouthandlererror.html b/docs/classes/utils_errors.logouthandlererror.html index 3ac9770d0..2a33e6a77 100644 --- a/docs/classes/utils_errors.logouthandlererror.html +++ b/docs/classes/utils_errors.logouthandlererror.html @@ -127,7 +127,7 @@

    constructor

    Parameters

    @@ -150,7 +150,7 @@

    Optional

    Inherited from HandlerError.cause

    @@ -170,7 +170,7 @@

    Readonly code

    @@ -189,7 +189,7 @@

    Readonly name

    @@ -205,7 +205,7 @@

    Optional

    Inherited from HandlerError.status

    @@ -220,7 +220,7 @@

    Static code: string = 'ERR_LOGOUT_HANDLER_FAILURE'

    diff --git a/docs/classes/utils_errors.profilehandlererror.html b/docs/classes/utils_errors.profilehandlererror.html index 379fc1ee0..9ac8e0fd9 100644 --- a/docs/classes/utils_errors.profilehandlererror.html +++ b/docs/classes/utils_errors.profilehandlererror.html @@ -127,7 +127,7 @@

    constructor

    Parameters

    @@ -150,7 +150,7 @@

    Optional

    Inherited from HandlerError.cause

    @@ -170,7 +170,7 @@

    Readonly code

    @@ -189,7 +189,7 @@

    Readonly name

    @@ -205,7 +205,7 @@

    Optional

    Inherited from HandlerError.status

    @@ -220,7 +220,7 @@

    Static code: string = 'ERR_PROFILE_HANDLER_FAILURE'

    diff --git a/docs/enums/utils_errors.accesstokenerrorcode.html b/docs/enums/utils_errors.accesstokenerrorcode.html index 5d993ca87..8fa004d68 100644 --- a/docs/enums/utils_errors.accesstokenerrorcode.html +++ b/docs/enums/utils_errors.accesstokenerrorcode.html @@ -99,7 +99,7 @@

    EXPIRED_ACCESS_TOKEN

    EXPIRED_ACCESS_TOKEN: = "ERR_EXPIRED_ACCESS_TOKEN"
    @@ -109,7 +109,7 @@

    FAILED_REFRESH_GRANT

    FAILED_REFRESH_GRANT: = "ERR_FAILED_REFRESH_GRANT"
    @@ -119,7 +119,7 @@

    INSUFFICIENT_SCOPE

    INSUFFICIENT_SCOPE: = "ERR_INSUFFICIENT_SCOPE"
    @@ -129,7 +129,7 @@

    MISSING_ACCESS_TOKEN

    MISSING_ACCESS_TOKEN: = "ERR_MISSING_ACCESS_TOKEN"
    @@ -139,7 +139,7 @@

    MISSING_REFRESH_TOKEN

    MISSING_REFRESH_TOKEN: = "ERR_MISSING_REFRESH_TOKEN"
    @@ -149,7 +149,7 @@

    MISSING_SESSION

    MISSING_SESSION: = "ERR_MISSING_SESSION"
    diff --git a/docs/interfaces/client_use_user.userprofile.html b/docs/interfaces/client_use_user.userprofile.html index 54abda603..8d4033dfc 100644 --- a/docs/interfaces/client_use_user.userprofile.html +++ b/docs/interfaces/client_use_user.userprofile.html @@ -118,7 +118,7 @@

    Optional email

    email: null | string
    @@ -128,7 +128,7 @@

    Optional email_verifiedemail_verified: null | boolean

    @@ -138,7 +138,7 @@

    Optional name

    name: null | string
    @@ -148,7 +148,7 @@

    Optional nickname

    nickname: null | string
    @@ -158,7 +158,7 @@

    Optional org_id

    org_id: null | string
    @@ -168,7 +168,7 @@

    Optional picture

    picture: null | string
    @@ -178,7 +178,7 @@

    Optional sub

    sub: null | string
    @@ -188,7 +188,7 @@

    Optional updated_at

    updated_at: null | string
    diff --git a/docs/interfaces/client_with_page_auth_required.userprops.html b/docs/interfaces/client_with_page_auth_required.userprops.html index a9fbeefdc..f2240415f 100644 --- a/docs/interfaces/client_with_page_auth_required.userprops.html +++ b/docs/interfaces/client_with_page_auth_required.userprops.html @@ -95,7 +95,7 @@

    user

    diff --git a/docs/interfaces/client_with_page_auth_required.withpageauthrequiredoptions.html b/docs/interfaces/client_with_page_auth_required.withpageauthrequiredoptions.html index c79e80504..57ae9be09 100644 --- a/docs/interfaces/client_with_page_auth_required.withpageauthrequiredoptions.html +++ b/docs/interfaces/client_with_page_auth_required.withpageauthrequiredoptions.html @@ -104,7 +104,7 @@

    Optional onError

    onError: (error: Error) => Element
    @@ -144,7 +144,7 @@

    Optional onRedirectingonRedirecting: () => Element

    @@ -178,7 +178,7 @@

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/config.authorizationparameters.html b/docs/interfaces/config.authorizationparameters.html index 85e6ca58f..c3ac109b1 100644 --- a/docs/interfaces/config.authorizationparameters.html +++ b/docs/interfaces/config.authorizationparameters.html @@ -111,7 +111,7 @@

    response_mode

    @@ -122,7 +122,7 @@

    response_type

    @@ -133,7 +133,7 @@

    scope

    diff --git a/docs/interfaces/config.baseconfig.html b/docs/interfaces/config.baseconfig.html index f49b2b5cf..a51447963 100644 --- a/docs/interfaces/config.baseconfig.html +++ b/docs/interfaces/config.baseconfig.html @@ -111,7 +111,7 @@

    auth0Logout

    auth0Logout: boolean
    @@ -127,7 +127,7 @@

    authorizationParams

    authorizationParams: AuthorizationParameters
    @@ -160,7 +160,7 @@

    baseURL

    baseURL: string
    @@ -178,7 +178,7 @@

    clientID

    clientID: string
    @@ -194,7 +194,7 @@

    Optional clientSecret

    clientSecret: string
    @@ -211,7 +211,7 @@

    clockTolerance

    clockTolerance: number
    @@ -226,7 +226,7 @@

    enableTelemetry

    enableTelemetry: boolean
    @@ -243,7 +243,7 @@

    getLoginState

    getLoginState: (req: IncomingMessage, options: LoginOptions) => Record<string, any>
    @@ -294,7 +294,7 @@

    httpTimeout

    httpTimeout: number
    @@ -311,7 +311,7 @@

    idTokenSigningAlg

    idTokenSigningAlg: string
    @@ -327,7 +327,7 @@

    identityClaimFilter

    identityClaimFilter: string[]
    @@ -344,7 +344,7 @@

    idpLogout

    idpLogout: boolean
    @@ -360,7 +360,7 @@

    issuerBaseURL

    issuerBaseURL: string
    @@ -377,7 +377,7 @@

    legacySameSiteCookie

    legacySameSiteCookie: boolean
    @@ -394,7 +394,7 @@

    routes

    routes: { callback: string; postLogoutRedirect: string }
    @@ -435,7 +435,7 @@

    secret

    secret: string | string[]
    @@ -454,7 +454,7 @@

    session

    session: SessionConfig
    diff --git a/docs/interfaces/config.cookieconfig.html b/docs/interfaces/config.cookieconfig.html index e480ff56d..cc11fcec5 100644 --- a/docs/interfaces/config.cookieconfig.html +++ b/docs/interfaces/config.cookieconfig.html @@ -107,7 +107,7 @@

    Optional domain

    domain: string
    @@ -123,7 +123,7 @@

    httpOnly

    httpOnly: boolean
    @@ -140,7 +140,7 @@

    Optional path

    path: string
    @@ -158,7 +158,7 @@

    sameSite

    sameSite: "lax" | "strict" | "none"
    @@ -175,7 +175,7 @@

    Optional secure

    secure: boolean
    @@ -192,7 +192,7 @@

    transient

    transient: boolean
    diff --git a/docs/interfaces/config.nextconfig.html b/docs/interfaces/config.nextconfig.html index 4f9bdcde5..ada995a79 100644 --- a/docs/interfaces/config.nextconfig.html +++ b/docs/interfaces/config.nextconfig.html @@ -103,7 +103,7 @@

    identityClaimFilter

    @@ -120,7 +120,7 @@

    Optional organization

    organization: string
    @@ -138,7 +138,7 @@

    routes

    routes: { callback: string; login: string; unauthorized: string }
    diff --git a/docs/interfaces/config.sessionconfig.html b/docs/interfaces/config.sessionconfig.html index ebcedbaa8..3c18bacda 100644 --- a/docs/interfaces/config.sessionconfig.html +++ b/docs/interfaces/config.sessionconfig.html @@ -107,7 +107,7 @@

    absoluteDuration

    absoluteDuration: number | boolean
    @@ -126,7 +126,7 @@

    cookie

    cookie: CookieConfig
    @@ -136,7 +136,7 @@

    name

    name: string
    @@ -154,7 +154,7 @@

    rolling

    rolling: boolean
    @@ -174,7 +174,7 @@

    rollingDuration

    rollingDuration: number | false
    @@ -193,14 +193,14 @@

    storeIDToken

    storeIDToken: boolean

    Boolean value to store the ID token in the session. Storing it can make the session cookie too large. - Defaults to false.

    + Defaults to true.

    diff --git a/docs/interfaces/handlers_callback.callbackoptions.html b/docs/interfaces/handlers_callback.callbackoptions.html index 020bfdb32..de7267734 100644 --- a/docs/interfaces/handlers_callback.callbackoptions.html +++ b/docs/interfaces/handlers_callback.callbackoptions.html @@ -110,7 +110,7 @@

    Optional afterCallbackafterCallback: AfterCallback

    @@ -120,7 +120,7 @@

    Optional authorizationPar
    authorizationParams: Partial<AuthorizationParameters>
    @@ -136,7 +136,7 @@

    Optional organization

    organization: string
    @@ -152,7 +152,7 @@

    Optional redirectUri

    redirectUri: string
    diff --git a/docs/interfaces/handlers_login.authorizationparams.html b/docs/interfaces/handlers_login.authorizationparams.html index 424a4473a..eee30c5eb 100644 --- a/docs/interfaces/handlers_login.authorizationparams.html +++ b/docs/interfaces/handlers_login.authorizationparams.html @@ -114,7 +114,7 @@

    Optional connection

    connection: string
    @@ -146,7 +146,7 @@

    Optional connection_scope
    connection_scope: string
    @@ -178,7 +178,7 @@

    Optional invitation

    invitation: string
    @@ -217,7 +217,7 @@

    Optional organization

    organization: string
    @@ -234,7 +234,7 @@

    Optional response_mode

    Inherited from Partial.response_mode

    @@ -245,7 +245,7 @@

    Optional response_type

    Inherited from Partial.response_type

    @@ -256,7 +256,7 @@

    Optional scope

    @@ -266,7 +266,7 @@

    Optional screen_hint

    screen_hint: string
    diff --git a/docs/interfaces/handlers_login.loginoptions.html b/docs/interfaces/handlers_login.loginoptions.html index c64620be9..96b0cb160 100644 --- a/docs/interfaces/handlers_login.loginoptions.html +++ b/docs/interfaces/handlers_login.loginoptions.html @@ -109,7 +109,7 @@

    Optional authorizationPar
    authorizationParams: AuthorizationParams
    @@ -124,7 +124,7 @@

    Optional getLoginSta
    getLoginState: GetLoginState
    @@ -139,7 +139,7 @@

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/handlers_logout.logoutoptions.html b/docs/interfaces/handlers_logout.logoutoptions.html index 3ece6f77d..7a743eda9 100644 --- a/docs/interfaces/handlers_logout.logoutoptions.html +++ b/docs/interfaces/handlers_logout.logoutoptions.html @@ -108,7 +108,7 @@

    Optional logoutParams

    logoutParams: {}
    @@ -131,7 +131,7 @@

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/index.auth0server.html b/docs/interfaces/index.auth0server.html index 379953dac..1442bd595 100644 --- a/docs/interfaces/index.auth0server.html +++ b/docs/interfaces/index.auth0server.html @@ -113,7 +113,7 @@

    getAccessToken

    getAccessToken: GetAccessToken
    @@ -128,7 +128,7 @@

    getSession

    getSession: GetSession
    @@ -143,7 +143,7 @@

    handleAuth

    handleAuth: HandleAuth
    @@ -158,7 +158,7 @@

    handleCallback

    handleCallback: HandleCallback
    @@ -173,7 +173,7 @@

    handleLogin

    handleLogin: HandleLogin
    @@ -188,7 +188,7 @@

    handleLogout

    handleLogout: HandleLogout
    @@ -203,7 +203,7 @@

    handleProfile

    handleProfile: HandleProfile
    @@ -218,7 +218,7 @@

    updateSession

    updateSession: UpdateSession
    @@ -233,7 +233,7 @@

    withApiAuthRequired

    withApiAuthRequired: WithApiAuthRequired
    @@ -248,7 +248,7 @@

    withPageAuthRequired

    withPageAuthRequired: WithPageAuthRequired
    diff --git a/docs/interfaces/session_get_access_token.accesstokenrequest.html b/docs/interfaces/session_get_access_token.accesstokenrequest.html index 0ae5b3d5c..e45b2c1b4 100644 --- a/docs/interfaces/session_get_access_token.accesstokenrequest.html +++ b/docs/interfaces/session_get_access_token.accesstokenrequest.html @@ -105,7 +105,7 @@

    Optional afterRefresh

    afterRefresh: AfterRefresh
    @@ -146,7 +146,7 @@

    Optional authorizationPar
    authorizationParams: Partial<AuthorizationParameters>
    @@ -161,7 +161,7 @@

    Optional refresh

    refresh: boolean
    @@ -179,7 +179,7 @@

    Optional scopes

    scopes: string[]
    diff --git a/docs/interfaces/session_get_access_token.getaccesstokenresult.html b/docs/interfaces/session_get_access_token.getaccesstokenresult.html index 753289191..25cf9a3d9 100644 --- a/docs/interfaces/session_get_access_token.getaccesstokenresult.html +++ b/docs/interfaces/session_get_access_token.getaccesstokenresult.html @@ -102,7 +102,7 @@

    Optional accessToken

    accessToken: string
    diff --git a/docs/modules/client_use_user.html b/docs/modules/client_use_user.html index 395aa520e..b5f0909d9 100644 --- a/docs/modules/client_use_user.html +++ b/docs/modules/client_use_user.html @@ -110,7 +110,7 @@

    UserContext

    UserContext: { checkSession: () => Promise<void>; error?: Error; isLoading: boolean; user?: UserProfile }
    @@ -154,7 +154,7 @@

    UserProvider

    UserProvider: (props: UserProviderProps) => ReactElement<UserContext>
    @@ -190,7 +190,7 @@

    UserProviderProps

    UserProviderProps: React.PropsWithChildren<{ fetcher?: UserFetcher; profileUrl?: string; user?: UserProfile } & ConfigContext>
    @@ -269,7 +269,7 @@

    Const useUser

  • diff --git a/docs/modules/client_with_page_auth_required.html b/docs/modules/client_with_page_auth_required.html index 5a97bb7ab..01cbdacdc 100644 --- a/docs/modules/client_with_page_auth_required.html +++ b/docs/modules/client_with_page_auth_required.html @@ -94,7 +94,7 @@

    WithPageAuthRequired

    WithPageAuthRequired: <P>(Component: ComponentType<P & UserProps>, options?: WithPageAuthRequiredOptions) => React.FC<P>
    diff --git a/docs/modules/config.html b/docs/modules/config.html index 148ef3792..0b9a24a17 100644 --- a/docs/modules/config.html +++ b/docs/modules/config.html @@ -97,7 +97,7 @@

    ConfigParameters

    ConfigParameters: DeepPartial<BaseConfig & NextConfig>
    diff --git a/docs/modules/edge.html b/docs/modules/edge.html index d54691efa..5de7af557 100644 --- a/docs/modules/edge.html +++ b/docs/modules/edge.html @@ -108,7 +108,7 @@

    Auth0Edge

    Auth0Edge: { getSession: GetSession; withMiddlewareAuthRequired: WithMiddlewareAuthRequired }
    @@ -129,7 +129,7 @@

    GetSession

    GetSession: (req: NextRequest, res: NextResponse) => Promise<default | null | undefined>
    @@ -163,7 +163,7 @@

    InitAuth0

    InitAuth0: (params?: ConfigParameters) => Auth0Edge
    @@ -201,7 +201,7 @@

    Const getSession

  • Parameters

    @@ -227,7 +227,7 @@

    Const initAuth0

  • Parameters

    @@ -250,7 +250,7 @@

    Const withMiddlewareAut
  • Parameters

    diff --git a/docs/modules/handlers_auth.html b/docs/modules/handlers_auth.html index 32bb00e36..edf28dbf1 100644 --- a/docs/modules/handlers_auth.html +++ b/docs/modules/handlers_auth.html @@ -86,7 +86,7 @@

    HandleAuth

    HandleAuth: (userHandlers?: Handlers) => NextApiHandler
    @@ -137,7 +137,7 @@

    Handlers

    Handlers: ApiHandlers | ErrorHandlers
    @@ -192,7 +192,7 @@

    OnError

    OnError: (req: NextApiRequest, res: NextApiResponse, error: HandlerError) => Promise<void> | void
    diff --git a/docs/modules/handlers_callback.html b/docs/modules/handlers_callback.html index 5bfcc5b65..b0435f953 100644 --- a/docs/modules/handlers_callback.html +++ b/docs/modules/handlers_callback.html @@ -90,10 +90,10 @@

    Server Type aliases

    AfterCallback

    -
    AfterCallback: (req: NextApiRequest, res: NextApiResponse, session: default, state?: {}) => Promise<default> | default | undefined
    +
    AfterCallback: (req: NextApiRequest, res: NextApiResponse, session: default, state?: {}) => Promise<default | undefined> | default | undefined
    @@ -181,7 +181,7 @@

    Type declaration