授权方式为Facebook两次调用Android上 [英] authorize method called twice for Facebook on Android

查看:104
本文介绍了授权方式为Facebook两次调用Android上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打电话发一个有效的会话期间批准的错误。
我很惊讶地看到,第二个电话没有显示出Facebook的登录表单,它只是重复使用的令牌。

I made the mistake of calling authorize during a valid session. I was very surprised to see that second call didn't show the Facebook login form, it just reused the token.

这是正常的行为?

推荐答案

是的,这是正常的行为。

Yes this is normal behaviour.

如果你打电话登录,并有一个有效的凭证,那么你将跳过登录表单,并直接进入的onComplete回调。

If you call login and have a valid token then you will skip the login form and go straight to the onComplete callback.

这篇关于授权方式为Facebook两次调用Android上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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