<legend id='lpXYc'><style id='lpXYc'><dir id='lpXYc'><q id='lpXYc'></q></dir></style></legend>

  1. <small id='lpXYc'></small><noframes id='lpXYc'>

    <i id='lpXYc'><tr id='lpXYc'><dt id='lpXYc'><q id='lpXYc'><span id='lpXYc'><b id='lpXYc'><form id='lpXYc'><ins id='lpXYc'></ins><ul id='lpXYc'></ul><sub id='lpXYc'></sub></form><legend id='lpXYc'></legend><bdo id='lpXYc'><pre id='lpXYc'><center id='lpXYc'></center></pre></bdo></b><th id='lpXYc'></th></span></q></dt></tr></i><div id='lpXYc'><tfoot id='lpXYc'></tfoot><dl id='lpXYc'><fieldset id='lpXYc'></fieldset></dl></div>
      <tfoot id='lpXYc'></tfoot>
      • <bdo id='lpXYc'></bdo><ul id='lpXYc'></ul>

    1. 从 Iphone Native Client 使用 Google App Engine 进行身份验证

      Authenticate with Google App Engine from an Iphone Native Client(从 Iphone Native Client 使用 Google App Engine 进行身份验证)
      <legend id='X1CUG'><style id='X1CUG'><dir id='X1CUG'><q id='X1CUG'></q></dir></style></legend>
    2. <i id='X1CUG'><tr id='X1CUG'><dt id='X1CUG'><q id='X1CUG'><span id='X1CUG'><b id='X1CUG'><form id='X1CUG'><ins id='X1CUG'></ins><ul id='X1CUG'></ul><sub id='X1CUG'></sub></form><legend id='X1CUG'></legend><bdo id='X1CUG'><pre id='X1CUG'><center id='X1CUG'></center></pre></bdo></b><th id='X1CUG'></th></span></q></dt></tr></i><div id='X1CUG'><tfoot id='X1CUG'></tfoot><dl id='X1CUG'><fieldset id='X1CUG'></fieldset></dl></div>

      <tfoot id='X1CUG'></tfoot>

          • <bdo id='X1CUG'></bdo><ul id='X1CUG'></ul>
                <tbody id='X1CUG'></tbody>

                <small id='X1CUG'></small><noframes id='X1CUG'>

              1. 本文介绍了从 Iphone Native Client 使用 Google App Engine 进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我想创建一个 Iphone 游戏,用户可以在其中使用他们的 facebook 凭据登录并使用我在 Google App Engine 上运行的服务器进行身份验证.我已经让 Facebook 连接在 iPhone 和 Google App Engine 上工作.但是,iPhone 版 Facebook 连接似乎仅通过 Facebook 的服务器对您进行身份验证,并允许您从 访问 Facebook Api.

                I want to create an Iphone game where users can log in with their facebook credentials and authenticate with my server running on Google App Engine. I have gotten Facebook connect working on both the iPhone and Google App Engine. However, it seems that Facebook connect for the iPhone only authenticates you with Facebook's server and allows you to access the Facebook Api from .

                我想这样做的原因是,我可以在 GAE 上存储与用户帐户关联的额外用户数据,同时让他们使用他们的 Facebook 凭据登录.

                The reason I want to do this, is so that I can store extra user data associated with a user account on GAE, but also have them log in with their Facebook credentials.

                是否可以使用 iPhone 本地客户端使用他们的 Facebook 凭据对用户进行身份验证,但通过我的服务器进行身份验证?iPhone 版的 Farmville 似乎做了类似的事情.

                Is it possible to authenticate the user using their Facebook credentials using an iPhone native client, but authenticate with my server? It seems like Farmville for the iPhone does something like this.

                任何想法如何做到这一点?

                Any ideas how this is done?

                推荐答案

                这可以通过 GAE 应用上的中间 Facebook API 代理来实现.

                This is possible via an intermediate Facebook API proxy on your GAE app.

                浏览我的一些代码,我使用客户端提供的 auth_tokengenerate_session_secret 调用经典 API 的 auth.getSession,当然 formatXML.

                Skimming through some code I have that does this, I call the classic API's auth.getSession with auth_token and generate_session_secret provided by the client, and of course format is XML.

                http://developers.facebook.com/docs/reference/rest/auth.getSession/

                基本上发生的情况是客户端登录,获取身份验证令牌,将其发布到中间代理,然后使用该令牌向 Facebook 请求会话,将其返回给 Connect 客户端.

                Essentially what happens is that the client logs in, gets an authentication token, posts that to the intermediate proxy which then asks Facebook for a session using that token, returning that to the Connect client.

                这篇关于从 Iphone Native Client 使用 Google App Engine 进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)
                Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)
                Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))
                Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)
                Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)
                [ios.cocos2d+box2d]how to disable auto-rotation?([ios.cocos2d+box2d]如何禁用自动旋转?)
                  <tbody id='AEyIJ'></tbody>
                <tfoot id='AEyIJ'></tfoot>

                <legend id='AEyIJ'><style id='AEyIJ'><dir id='AEyIJ'><q id='AEyIJ'></q></dir></style></legend>

                      <small id='AEyIJ'></small><noframes id='AEyIJ'>

                        <bdo id='AEyIJ'></bdo><ul id='AEyIJ'></ul>
                        <i id='AEyIJ'><tr id='AEyIJ'><dt id='AEyIJ'><q id='AEyIJ'><span id='AEyIJ'><b id='AEyIJ'><form id='AEyIJ'><ins id='AEyIJ'></ins><ul id='AEyIJ'></ul><sub id='AEyIJ'></sub></form><legend id='AEyIJ'></legend><bdo id='AEyIJ'><pre id='AEyIJ'><center id='AEyIJ'></center></pre></bdo></b><th id='AEyIJ'></th></span></q></dt></tr></i><div id='AEyIJ'><tfoot id='AEyIJ'></tfoot><dl id='AEyIJ'><fieldset id='AEyIJ'></fieldset></dl></div>