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

    Interface SecurityAuthorizationHandler

    Authorization handler using Caddy's authentication handler with the authorizer provider

    The authorize directive in Caddyfile creates a standard Caddy authentication handler with the caddy-security authorizer provider configured.

    Module ID: http.handlers.authentication (Caddy core) Provider Module ID: http.authentication.providers.authorizer (caddy-security)

    const handler: SecurityAuthorizationHandler = {
    handler: "authentication",
    providers: {
    authorizer: {
    gatekeeper_name: "mygatekeeper",
    route_matcher: "*",
    },
    },
    };
    interface SecurityAuthorizationHandler {
        handler: "authentication";
        providers: { authorizer: SecurityAuthorizerProvider };
    }
    Index

    Properties

    Properties

    handler: "authentication"
    providers: { authorizer: SecurityAuthorizerProvider }

    Authentication providers - for authorization, use the authorizer provider