C# Класс 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.
Наследование: IAuthorizationCodeInstalledApp
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AuthorizationCodeInstalledApp() публичный Метод

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
Результат System.Threading

AuthorizeAsync() публичный Метод

public AuthorizeAsync ( string userId, CancellationToken taskCancellationToken ) : Task
userId string
taskCancellationToken System.Threading.CancellationToken
Результат Task