Hi!
I want to use signin for drive API
To work with Drive, I must have GoogleCredential object
If I use google-signin with offline propertie, it's ok :
example :
public String getRefreshToken(String code) throws IOException {
GoogleTokenResponse response = new GoogleAuthorizationCodeTokenRequest(new NetHttpTransport(),
new JacksonFactory(), clientid, clientsecret, code, redirectUrl).execute();
return response.getRefreshToken();
}
BUT... how get GoogleCredential without offline... for web applications ????
I can't find documentation
thank you in advance for your ideas !