列出 App Services 管理员身份验证提供程序 已弃用

获取 /auth/providers

响应

  • 200 application/json

    已成功枚举可用的身份验证提供者。

    隐藏响应属性 显示响应属性 对象
    • 名称 字符串 必需

      身份验证提供程序的名称。该值必须与 type 的值相同。

    • 类型 字符串 必需

      取值为 anon-userlocal-userpassapi-keyoauth2-appleoauth2-googleoauth2-facebookcustom-tokencustom-function

    • 残疾人 布尔

      如果为 true,则禁用身份验证提供商。在启用提供商之前,用户无法通过提供商登录。

GET /auth/providers
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/auth/providers'
响应示例 (200)
[
  {
    "name": "string",
    "type": "anon-user",
    "disabled": true
  }
]