MonoCloud Authentication SDK
    Preparing search index...

    Interface ProtectPageGetServerSidePropsContext<Q>

    Next.js getServerSideProps context extended with the authenticated user when using protectPage().

    interface ProtectPageGetServerSidePropsContext<
        Q extends ParsedUrlQuery = ParsedUrlQuery,
    > {
        user: MonoCloudUser;
    }

    Type Parameters

    • Q extends ParsedUrlQuery = ParsedUrlQuery

    Hierarchy

    • GetServerSidePropsContext<Q>
      • ProtectPageGetServerSidePropsContext
    Index

    Properties

    Properties

    The authenticated user resolved from the current session.