Bluemix Mobile 客户端访问的自定义登录是否类似于 OAuth?

Is Bluemix Mobile client access's custom login similar to OAuth?

我看到 Bluemix Mobile 客户端访问服务允许我使用 Google、Facebook 和自定义 ID 登录移动应用程序。

自定义 ID 登录选项是否类似于 OAuth?文档轻描淡写地提到了这一点,但我在这里不清楚。

谢谢, 柴坦尼亚

MCA 使用 OAuth2 协议。

From the docs:

The Mobile Client Access integration enables any web application, regardless of the technology it implements, to take advantage of the OAuth2 protocol.

这里是 Node.js OAuth SDK 和两个自定义身份提供商示例,它们可能有助于解决问题:

https://github.com/ibm-bluemix-mobile-services/bms-mca-custom-identity-provider-sample

https://github.com/ibm-bluemix-mobile-services/bms-mca-custom-identity-provider-with-user-management


当您编写自己的自定义身份验证时,MCA 使用 OAuth2 协议和您的自定义身份验证代码作为令牌端点。在您 authenticate/sign 反对您的自定义实施后,MCA 会提供一个令牌,您可以使用它来访问 MCA 的授权端点。