Sign in

Handler Type: ProtectedAppServerComponentProps

Props injected into an App Router Server Component wrapped by protectPage().

Includes the authenticated user and optional route/search parameters provided by Next.js.

Properties

PropertyTypeDescription
params?Record<string, string | string[]>Dynamic route parameters provided by the App Router.
searchParams?Record<string, string | string[] | undefined>URL search parameters provided by the App Router.
userMonoCloudUserThe authenticated user resolved from the current session.
© 2024 MonoCloud. All rights reserved.