MonoCloud Authentication SDK
    Preparing search index...

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

    interface ProtectedAppServerComponentProps {
        params?: Record<string, string | string[]>;
        searchParams?: Record<string, string | string[] | undefined>;
        user: MonoCloudUser;
    }
    Index

    Properties

    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.

    The authenticated user resolved from the current session.