MonoCloud Authentication SDK
    Preparing search index...
    ProtectApiAppOptions: { onAccessDenied?: AppRouterApiOnAccessDeniedHandler } & GroupOptions

    Options for App Router protectApi()

    Type Declaration

    • OptionalonAccessDenied?: AppRouterApiOnAccessDeniedHandler

      Alternate app router api handler called when the user is not authenticated or is not a member of the specified groups.