API Reference
Class
GoogleInstalledApplicationAuthorization
Runs Google's installed-application authorization flow with PKCE always enabled.
Inheritance
- Object
- GoogleInstalledApplicationAuthorization
Methods
public static async Task<GoogleApisCredentialSource> AuthorizeAsync(GoogleInstalledApplicationAuthorizationOptions options, CancellationToken cancellationToken = null) #Returns:
Task<GoogleApisCredentialSource>Authorizes and returns a credential source with provider-verified identity evidence. This convenience method always requires CredentialBindingResolver; use CancellationToken) for a resolver-free read-only credential.
Parameters
- options OfficeIMO.GoogleWorkspace.Auth.GoogleApis.GoogleInstalledApplicationAuthorizationOptions
- cancellationToken System.Threading.CancellationToken = null
public static async Task<UserCredential> AuthorizeCredentialAsync(GoogleInstalledApplicationAuthorizationOptions options, CancellationToken cancellationToken = null) #Returns:
Task<UserCredential>Parameters
- options GoogleInstalledApplicationAuthorizationOptions
- cancellationToken CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object