搜索示例:“error_code”、“204”、“创建新的API密钥”、“名称”、“获取有关当前登录用户的信息”
已成功枚举可用的身份验证提供者。
身份验证提供程序的名称。该值必须与 type 的值相同。
type
取值为 anon-user、local-userpass、api-key、oauth2-apple、oauth2-google、oauth2-facebook、custom-token 或 custom-function。
anon-user
local-userpass
api-key
oauth2-apple
oauth2-google
oauth2-facebook
custom-token
custom-function
如果为 true,则禁用身份验证提供商。在启用提供商之前,用户无法通过提供商登录。
true
curl \ --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/auth/providers'
[ { "name": "string", "type": "anon-user", "disabled": true } ]