tliebeck
tliebeck

Reputation: 836

What is the "AuthTokenType" value for Google Drive on an Android app?

What should I use as the "AuthTokenType" value to request access to a user's Google Drive from an Android application?

For example, here are some AuthTokenType values for other services: What is "authTokenType" parameter in Google data API?

I intend to use the provided Java Client API for interfacing with Google Drive, i.e.: http://code.google.com/p/google-api-java-client/wiki/APIs#Drive_API

Upvotes: 3

Views: 909

Answers (1)

Nikolay Elenkov
Nikolay Elenkov

Reputation: 52936

ClientLogin is now officially deprecated, so you should use OAuth. The scope is listed as https://developers.google.com/drive/register on the SDK reference. However, apparently you need to register your app in the Chrome Web store, so it seems only Web apps are currently supported, and it is very likely that you cannot use it from an Android app (yet). Do post here if you manage to get it working.

Upvotes: 4

Related Questions