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
Afficher le fichier Open project: Gainedge/BetterExplorer

Méthodes publiques

Méthode 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 méthode

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
Résultat System.Threading

AuthorizeAsync() public méthode

public AuthorizeAsync ( string userId, CancellationToken taskCancellationToken ) : Task
userId string
taskCancellationToken System.Threading.CancellationToken
Résultat Task