Closed k2ly2n closed 11 years ago
I do show the example of using it with OAuthWebSecurity
, but that is just the easiest thing to do. It is not required. You should be able to use this anywhere you would work with DotNetOpenAuth.
This particular library is focused strictly on authentication. I don't get into the rest of the google APIs. You certainly can do that, but you would probably use something like this instead.
You might want to get an auth token with my library and then use it with the other one. That certainly is possible. You'll need to pass the appropriate scopes in the constructor to the GoogleOAuth2Client
class.
I've been told by others that you may need a "refresh token" if you intend to come back later to get more data. I don't yet have a facility to obtain one in this library. I would be happy to accept a pull request to anyone that wants to add that feature.
Hi Johnson,
Thank you for your work. I would like to use this class in normal asp.net application to pull the Gmail contacts of visitors for invitations purpose. And also would like to store access token into database for later usage. Is it possible? Please advise.
Thank you Kalyan