I've been looking at the Oauth .Net Google Apis in order to authenticate via OAuth and use the Google drive Apis.
Specifically, I want to use a refresh token I already have stored in order to use it to instantiate a GoogleDrive service.
I've found samples like https://code.google.com/p/google-api-dotnet-client/source/browse/Tasks.SimpleOAuth2/Program.cs?repo=samples
That seem to use "GoogleWebAuthorizationBroker.AuthorizeAsync" but I'm not sure how I can use that method with a refresh token rather than the client secrets you seem to be feeding it in this example.
See Question&Answers more detail:os