C# Class Google.Apis.Auth.OAuth2.AuthorizationCodeInstalledApp

Thread-safe OAuth 2.0 authorization code flow for an installed application that persists end-user credentials.
Incremental authorization (https://developers.google.com/+/web/api/rest/oauth) is currently not supported for Installed Apps.
Inheritance: IAuthorizationCodeInstalledApp
Mostrar archivo Open project: Gainedge/BetterExplorer

Public Methods

Method Description
AuthorizationCodeInstalledApp ( IAuthorizationCodeFlow flow, ICodeReceiver codeReceiver ) : System.Threading

Constructs a new authorization code installed application with the given flow and code receiver.

AuthorizeAsync ( string userId, CancellationToken taskCancellationToken ) : Task

Method Details

AuthorizationCodeInstalledApp() public method

Constructs a new authorization code installed application with the given flow and code receiver.
public AuthorizationCodeInstalledApp ( IAuthorizationCodeFlow flow, ICodeReceiver codeReceiver ) : System.Threading
flow IAuthorizationCodeFlow
codeReceiver ICodeReceiver
return System.Threading

AuthorizeAsync() public method

public AuthorizeAsync ( string userId, CancellationToken taskCancellationToken ) : Task
userId string
taskCancellationToken System.Threading.CancellationToken
return Task