OnCallbackHook | @auth0/nextjs-auth0 - v4.6.1
Description: Documentation for @auth0/nextjs-auth0

# Type Alias OnCallbackHook

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

#### Type declaration

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

  - #### Parameters

    - error: SdkError | null
    - ctx: OnCallbackContext
    - session: SessionData | null

    #### Returns Promise<NextResponse>

- Defined in src/server/auth-client.ts:48