oag-mcp
    Preparing search index...

    Interface CredentialProvider

    Provider boundary for upstream credentials.

    interface CredentialProvider {
        id: string;
        apply(
            scheme: SecuritySchemeInfo,
            scopes: string[],
            ctx: CredentialContext,
        ): Promise<AppliedCredential>;
        has(schemeName: string): boolean;
        invalidate(schemeName: string, ctx: CredentialContext): void;
    }

    Implemented by

    Index
    id: string
    • Whether credentials are configured for the scheme.

      Parameters

      • schemeName: string

      Returns boolean