Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleInstalledApplicationAuthorizationOptions

OfficeIMO.GoogleWorkspace.Auth.GoogleApis

Namespace
OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Assembly
OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Source revision
be6c300e4ab1 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.