MonoCloud Authentication SDK
    Preparing search index...

    Type Alias ProtectApiPageOptions

    ProtectApiPageOptions: { onAccessDenied?: PageRouterApiOnAccessDeniedHandler } & GroupOptions

    Options for Page Router protectApi()

    Type Declaration

    • OptionalonAccessDenied?: PageRouterApiOnAccessDeniedHandler

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