Method | Description | |
---|---|---|
AuthorizeAsync ( Google.Apis.Auth.OAuth2.ClientSecrets clientSecrets, IEnumerable |
Asynchronously authorizes the specified user. It uses Google.Apis.Util.Store.StorageDataStore as the flow's data store by default. |
|
AuthorizeAsync ( Stream clientSecretsStream, IEnumerable |
Asynchronously authorizes the specified user. It uses Google.Apis.Util.Store.StorageDataStore as the flow's data store by default. |
|
AuthorizeAsync ( |
Asynchronously authorizes the specified user. It uses Google.Apis.Util.Store.StroageDataStore as the flow's data store by default. |
Method | Description | |
---|---|---|
AuthorizeAsyncCore ( Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow initializer, IEnumerable |
The core logic for asynchronously authorizing the specified user.
|
|
LoadClientSecrets ( |
Loads the client secrets from the given URI.
|
public static AuthorizeAsync ( Google.Apis.Auth.OAuth2.ClientSecrets clientSecrets, IEnumerable |
||
clientSecrets | Google.Apis.Auth.OAuth2.ClientSecrets | The client secrets. |
scopes | IEnumerable |
/// The scopes which indicate the Google API access your application is requesting. /// |
user | string | The user to authorize. |
taskCancellationToken | Cancellation token to cancel an operation. | |
return | Task |
public static AuthorizeAsync ( Stream clientSecretsStream, IEnumerable |
||
clientSecretsStream | Stream |
/// The client secrets stream. The AuthorizationCodeFlow constructor is responsible for disposing the stream.
/// Note that it's more secured to use the authenticate method which gets |
scopes | IEnumerable |
/// The scopes which indicate the Google API access your application is requesting. /// |
user | string | The user to authorize. |
taskCancellationToken | Cancellation token to cancel an operation. | |
return | Task |
public static AuthorizeAsync ( |
||
clientSecretsUri | The client secrets URI. | |
scopes | IEnumerable |
/// The scopes which indicate the Google API access your application is requesting. /// |
user | string | The user to authorize. |
taskCancellationToken | Cancellation token to cancel an operation. | |
return | Task |