应用程序中的Dropbox认证 [英] Dropbox authentication within application

查看:169
本文介绍了应用程序中的Dropbox认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在iPhone应用程序为Dropbox的范围内对用户进行认证?

Is there any way to authenticate the user within the app for Dropbox in iPhone ?

我使用 Dropbox的IOS 集成Dropbox的指令。

I using Dropbox IOS instruction for integrating Dropbox.

但作为应用程序退出Safari浏览器,以验证用户的Dropbox帐户我的申请得到了由苹果拒绝。

But my application got rejected by apple as "the app exits to Safari in order to authenticate the user's Dropbox account".

请给我一些解决方案,这样我就可以在应用程序中进行身份验证的Dropbox。

Please give me some solution so I can authenticate Dropbox within application.

推荐答案

是的,你可以投寄箱的application.The新的API内完成身份验证的保管箱内的应用程序进行身份验证。

yes you can authenticate dropbox within the application.The new API of dropbox authenticates within the app.

下面的方法是,当你想打开dropbox.so只写方法和分配的行动按钮,并委托methos你可以找到的 https://www.dropbox.com/developers/start/authentication#ios 链接

Below method is when you want to open dropbox.so just write that method and assign that action to button, and rest of the delegate methos you can find on https://www.dropbox.com/developers/start/authentication#ios link

  -(IBAction)goDropBox
  {

  //DBSession* dbSession =    [[DBSession sharedSession] unlinkAll];
 // if (![[DBSession sharedSession] isLinked])
  // {
       [[DBSession sharedSession] linkFromController:self];
  // }
  }

编码快乐!!!!!!

Happy Coding!!!!!!

这篇关于应用程序中的Dropbox认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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