title: Saving AccessToken to Keychain for Google Drive API
body: <p>I am using the Google-API-Client and the gtm-oauth2 libraries. When the logon successfully completes </p>
  
  <pre><code>- (void)viewController:(GTMOAuth2ViewControllerTouch *)viewController
    finishedWithAuth:(GTMOAuth2Authentication *)authResult
               error:(NSError *)error {
  </code></pre>
  
  <p>I am handed back an access token in authResult.authResult</p>
  
  <p>However if I look at what is saved to my keychain either automatically or using </p>
  
  <pre><code>[GTMOAuth2ViewControllerTouch saveParamsToKeychainForName:kGoogleKeychainItemName authentication:authResult];
  </code></pre>
  
  <p>I do not see that the access token is saved once I retrieve it. Only the refresh token is saved</p>
  
  <p>If I immediately or any other time do</p>
  
  <pre><code>GTMOAuth2Authentication *auth =     
      [GTMOAuth2ViewControllerTouch authForGoogleFromKeychainForName:kGoogleKeychainItemName
                                                            clientID:kGoogleClientID
                                                        clientSecret:kGoogleClientSecret error:&amp;error];
  </code></pre>
  
  <p>My access Token is nil</p>
  
  <p>I assume that this is deliberate but I cannot see any documentation on this. Why does this happen and what is the thinking behind it.</p>