jjzjj

GTMOAuth2

全部标签

ios - 4 月份 google/gtm-oauth2/GTMOAuth2ViewControllerTouch 将如何运作?

我正在使用gtm-oauth2(作为https://github.com/google/google-api-objectivec-client的一部分)并且我开始收到关于2017年4月不支持登录webviews的警告。我猜他们想让我搬到https://developers.google.com/identity/sign-in/ios/,但我找不到如何将登录sdk与https://github.com/google/google-api-objectivec-client-for-rest集成的示例或https://github.com/google/google-api-objec

ios - 架构 arm64 的 112 个重复符号

duplicatesymbol_OBJC_METACLASS_$_GTMOAuth2Keychainin:/Users/anand/Library/Developer/Xcode/DerivedData/NIDA_Rooms-bawdeawpyzqrkjazbcspzbsqgrht/Build/Products/Release-iphoneos/GTMOAuth2/libGTMOAuth2.a(GTMOAuth2ViewControllerTouch.o)/Users/anand/Documents/Anand_ios_Project/ROC&NIDAROOMS/ROCAPP3/Goo

ios - 谷歌 gtl 框架集成给模拟器带来错误,但与设备一起工作

我正在尝试将Googlegtl框架与我的应用程序集成。但它给出如下错误。Ignoringfile/Users/mani/Documents/Example/GooglePlusExample/SampleApp/Security.framework/Security,missingrequiredarchitecturei386infile/Users/mani/Documents/Example/GooglePlusExample/SampleApp/Security.framework/Security(2slices)"_SecItemAdd",referencedfrom:-[

ios - 将 AccessToken 保存到 Google Drive API 的钥匙串(keychain)

我正在使用Google-API-Client和gtm-oauth2库。当登录成功完成时-(void)viewController:(GTMOAuth2ViewControllerTouch*)viewControllerfinishedWithAuth:(GTMOAuth2Authentication*)authResulterror:(NSError*)error{我在authResult.authResult中返回了一个访问token但是,如果我自动或使用查看保存到钥匙串(keychain)中的内容[GTMOAuth2ViewControllerTouchsaveParamsToK

iphone - gdata-objectivec-client api + oauth2 ios 框架中的错误

伙计们,我正在我的iPhone应用程序中集成Google文档,我使用了来自http://code.google.com/p/gdata-objectivec-client/的gdata-objectivec-client|并使用以下步骤配置我的项目http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/当我使用以下代码创建GTMOAuth2ViewControllerTouch.h实例时GTMOAuth2ViewControllerTouch*viewController;vi

ios - 在 iOS 上使用 Flattr API v2

我目前正在构建一个iOS应用程序,并希望在Flattr-APIv2上包含Flattr-Support。我已经在https://flattr.com/apps/创建了我的应用程序并得到了key和secret。问题是即使我选择“客户端”作为应用程序类型,我也必须在flattr的应用程序设置中提供回调URL。此外,输入字段中似乎只允许使用http://...回调URL,因此我无法设置回调URL来打开我的应用程序(类似于myApp://...)如何为客户端应用程序实现FlattroAuth流程?是否有任何详细说明如何使用非基于Web的/iOS应用程序实现flattr身份验证?我计划使用JDGO

ios - 使用 GTMOAuth2ViewControllerTouch 进​​行身份验证时执行 moments.insert

我正在尝试使用google-api-objectivec-clientlibrary向用户的Google+帐户中插入“时刻”.我认为身份验证过程正常工作。这主要与我设置YouTube身份验证的方式相同,但具有正确的范围和钥匙串(keychain)名称。但是,当我尝试运行查询以插入时,出现以下错误:ErrorDomain=com.google.GTLJSONRPCErrorDomainCode=401"Theoperationcouldn’tbecompleted.(Unauthorized)"在更仔细地查看了Google的文档(here)之后,我发现了以下评论:Whenauthenti

ios - 在 iOS 中保持登录到 Google OAuth 2.0 服务

我正在编写一个应显示当前AdSense数据的应用程序,我的问题是每次打开应用程序时都会提示我使用GTMAuth2ViewControllerTouch,所以熟悉的GoogleOAuth2.0登录屏幕(我使用this进行登录东西)。我怎样才能登录一次,然后用户就永远登录了?教程中有一个kKeychainItemName,但它只是一个字符串,我如何使用它来自动登录用户?查看ViewDidLoad。这是我使用的代码:#import"ViewController.h"#import"GTMOAuth2Authentication.h"#import"GTMOAuth2ViewControlle

ios - 如何在 iOS 中使用 GIDSignIn 和 GTMOAuth2Authentication 获取刷新 token ?

我正在编写一个iOS应用程序,它使用Google的GIDSignIn[1]来登录用户并使用GTLServiceYoutube来执行针对Youtube的查询(上传视频和检索Youtube视频列表)。这在用户首次登录时工作正常,但大约一小时后,访问token过期并且由于401错误(无效凭据),用户无法再使用GTLServiceYoutube执行查询。成功登录后,我使用以下代码设置GTMOAuth2Authentication:-(void)signIn:(GIDSignIn*)signIndidSignInForUser:(GIDGoogleUser*)userwithError:(NSE

ios - Swift - 使用未声明的类型 'GTMOAuth2Authentication'

我正在将一个应用程序从Obj-C切换到Swift,并在其中实现了Google+登录。我有GoogleOpenSource.framework和GooglePlus.framework在我的项目中,以及桥接header中的以下几行:#import#import不幸的是,我仍然收到错误Useofundeclaredtype'GTMOAuth2Authentication'尝试实现-(void)finishedWithAuth:(GTMOAuth2Authentication*)autherror:(NSError*)error时在GPPSignInDelegate上.我使用的是G+SDK1
12