iOS: Google Authentication Code

后端 未结 5 2201
刺人心
刺人心 2021-02-09 10:49

I am working with authenticating user to use the google account he is associated with. The problem is that everytime the user logs in through my app, the \"Allow Access\" always

5条回答
  •  迷失自我
    2021-02-09 11:37

    from the docs:

    The keychain item name is used to save the token on the user’s keychain, and should identify both your application name and the service name(s). If keychainItemName is nil, the token will not be saved, and the user will have to sign in again the next time the application is run.

    http://code.google.com/p/gtm-oauth2/wiki/Introduction

    So, from your code, it depends on what kKeychainItemName is set to.

    Just thought I'd comment on this as I was reading the docs.

提交回复
热议问题