通过Rest进行Firebase身份验证 [英] Firebase authentication via Rest

查看:159
本文介绍了通过Rest进行Firebase身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当编写一个C#的Windows应用程序使用休息API的Firebase是所有可能的使用Firebases的Facebook身份验证?或者仅限于使用自定义身份验证方法。

解决方案

在调用REST API时,您负责传递有效JSON Web令牌在 auth 参数中。它没有内置的身份验证方法。

您可以从支持的身份提供商那里获得一个令牌,或者您可以自己创建一个令牌。


When coding a c# windows app using the Rest API for firebase is it at all possible to use Firebases facebook authentication ? or are we limited to using only the Custom authentication approach.

解决方案

When calling the REST API, you are responsible for passing a valid JSON Web Token in the auth parameter. It has no built-in authentication methods.

You can either get a token from one the supported Identity Providers or you can mint one yourself.

这篇关于通过Rest进行Firebase身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆