Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleInstalledApplicationAuthorizationOptions

Namespace OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Assembly OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Source revision a039964de4cc with working tree changes
Modifiers sealed

Settings for interactive authorization of a desktop or other installed application.

Inheritance

  • Object
  • GoogleInstalledApplicationAuthorizationOptions

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public GoogleInstalledApplicationAuthorizationOptions() #

Properties

public ClientSecrets? ClientSecrets { get; set; } #

Gets or sets the installed-application OAuth client identifier and secret.

public IReadOnlyList<String> Scopes { get; set; } #

Gets or sets the Google API scopes requested during authorization.

public String? UserId { get; set; } #

Gets or sets the stable local user key used for token persistence.

public String? Account { get; set; } #

Gets or sets a legacy informational account label. Installed-application authorization does not use it as identity evidence; verified identity comes from GoogleInstalledApplicationAuthorizationOptions.CredentialBindingResolver.

public GoogleWorkspaceCredentialBindingResolver? CredentialBindingResolver { get; set; } #

Required by GoogleInstalledApplicationAuthorization.AuthorizeAsync; resolves the authorized token's provider-issued identity and grants. Read-only callers can use GoogleInstalledApplicationAuthorization.AuthorizeCredentialAsync without a resolver.

public IGoogleWorkspaceTokenStore? TokenStore { get; set; } #

Gets or sets the required application-owned secure OAuth token store.

public ICodeReceiver? CodeReceiver { get; set; } #

Gets or sets the receiver used to obtain the authorization code from the user agent.