oag-mcp
    Preparing search index...

    Interface HttpAuthenticator

    Authenticator for HTTP requests.

    interface HttpAuthenticator {
        mode: "oauth" | "static-bearer" | "none";
        authenticate(req: Request, logs: Logs): Promise<AuthResult>;
        metadata(req: Request): Response | undefined;
    }
    Index
    mode: "oauth" | "static-bearer" | "none"
    • Serve discovery metadata, or undefined when the path is not metadata.

      Parameters

      • req: Request

      Returns Response | undefined