I'm starting to feel dumb - I simply cannot get the Google API Client
to work in my VB.NET
web application. I can't get beyond the Authorization stage. I'm unclear if I should using a NativeApplicationClient
or WebServerClient
. I don't want to be tied to SessionState
(something I see in all the WebServerClient examples) and I simply want to load a refreshToken
(if we have one on file for the user) or generate a URL to get authorization (if we have no token.)
Nothing seems to allow this. Honestly - It doesn't seem like the GetAuthorization
function is even being run when I use:
Dim auth As OAuth2Authenticator(Of WebServerClient) = New OAuth2Authenticator(Of WebServerClient)(provider, (AddressOf GetAuthorization)) With { _
.NoCaching = True _
}
Is there any simple documentation for ASP.NET Web Applications? I'm trying to transition from the older Google Data API - which made this simple - to the Google API Client
but dotNotOpenAuth is giving me the fits.
Any help? I see some comments on VB.NET not behaving - but I've tried a C#.NET Class Library with no luck.
Thanks, Bill