C# (CSharp) Google.Apis.Auth.OAuth2 Namespace

Nested Namespaces

Google.Apis.Auth.OAuth2.Flows
Google.Apis.Auth.OAuth2.Mvc
Google.Apis.Auth.OAuth2.Requests
Google.Apis.Auth.OAuth2.Responses

Classes

Name Description
AuthorizationCodeBroker OAuth 2.0 verification code receiver for Windows 8 application that opens an embedded Google account form to enter the user's credentials and accepts the application access to its token.
AuthorizationCodeInstalledApp Thread-safe OAuth 2.0 authorization code flow for an installed application that persists end-user credentials.
AuthorizationCodeWPInstalledApp Thread-safe OAuth 2.0 authorization code flow for a Windows Phone installed application that persists end-user credentials. The AuthorizeAsync method MUST be called from the dispatcher thread! This installed app class uses an internal AuthorizationCodeInstalledApp with a Google.Apis.Auth.OAuth2.AuthorizationCodeBroker for retrieving the authorization code.
AuthorizationCodeWinRTInstalledApp OAuth 2.0 authorization code flow for a Windows 8 installed applications that persists end-user credentials. This installed app class uses an internal AuthorizationCodeInstalledApp with a Google.Apis.Auth.OAuth2.AuthorizationCodeBroker for retrieving the authorization code.
BearerTokenTests
GoogleWebAuthorizationBroker A helper utility to manage the authorization code flow.
UserCredential OAuth 2.0 credential for accessing protected resources using an access token, as well as optionally refreshing the access token when it expires using a refresh token.