@accelerated-software-development/caddy-api-client - v0.4.3
    Preparing search index...

    Variable SecurityHandlerSchemaConst

    SecurityHandlerSchema: ZodDiscriminatedUnion<
        "handler",
        [
            ZodObject<
                {
                    handler: ZodLiteral<"authenticator">;
                    portal_name: ZodOptional<ZodString>;
                    route_matcher: ZodOptional<ZodString>;
                },
                "strip",
                ZodTypeAny,
                {
                    handler: "authenticator";
                    portal_name?: string;
                    route_matcher?: string;
                },
                {
                    handler: "authenticator";
                    portal_name?: string;
                    route_matcher?: string;
                },
            >,
            ZodObject<
                {
                    handler: ZodLiteral<"authentication">;
                    providers: ZodObject<
                        {
                            authorizer: ZodObject<
                                {
                                    gatekeeper_name: ZodOptional<ZodString>;
                                    route_matcher: ZodOptional<ZodString>;
                                },
                                "strip",
                                ZodTypeAny,
                                { gatekeeper_name?: string; route_matcher?: string },
                                { gatekeeper_name?: string; route_matcher?: string },
                            >;
                        },
                        "strip",
                        ZodTypeAny,
                        { authorizer: { gatekeeper_name?: string; route_matcher?: string } },
                        { authorizer: { gatekeeper_name?: string; route_matcher?: string } },
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    handler: "authentication";
                    providers: {
                        authorizer: { gatekeeper_name?: string; route_matcher?: string };
                    };
                },
                {
                    handler: "authentication";
                    providers: {
                        authorizer: { gatekeeper_name?: string; route_matcher?: string };
                    };
                },
            >,
        ],
    > = ...

    Combined security handler schema (discriminated union)

    • authenticator - Portal handler that serves login UI
    • authentication - Caddy's handler with the authorizer provider for token validation