ADK for TypeScript: API Reference
    Preparing search index...

    Enumeration AuthSchemeType

    OpenAPI 的安全方案类型为……(The OpenAPI security scheme type is……) AuthScheme 可以声明(can declare)。

    这些值就是 OpenAPI 中所使用的确切字符串。 type 因此,该成员可以与另一个值进行比较(即判断这两个值是否相等)。 authScheme.type 并且可以在运行时对其进行枚举(即列出所有的值)。 Object.values(AuthSchemeType).

    API_KEY: "apiKey"
    HTTP: "http"
    OAUTH2: "oauth2"
    OPEN_ID_CONNECT: "openIdConnect"