# GoogleInstalledApplicationAuthorizationOptions

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

Class 

`OfficeIMO.GoogleWorkspace.Auth.GoogleApis`

**Namespace**

`OfficeIMO.GoogleWorkspace.Auth.GoogleApis`

**Assembly**

`OfficeIMO.GoogleWorkspace.Auth.GoogleApis`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[GoogleInstalledApplicationAuthorization.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L12)

**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.

### Accepted by parameters 2

- Method [GoogleInstalledApplicationAuthorization.AuthorizeAsync](/api/google-workspace-auth/officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorization/#method-authorizeasync-officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorizationoptions-threading-cancellationtoken) parameter `options`
- Method [GoogleInstalledApplicationAuthorization.AuthorizeCredentialAsync](/api/google-workspace-auth/officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorization/#method-authorizecredentialasync-officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorizationoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public GoogleInstalledApplicationAuthorizationOptions()` [#](#constructor-ctor)

[GoogleInstalledApplicationAuthorization.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L12)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ClientSecrets? ClientSecrets { get; set; }` [#](#property-clientsecrets)

[GoogleInstalledApplicationAuthorization.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L10)

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

`public IReadOnlyList<string> Scopes { get; set; }` [#](#property-scopes)

[GoogleInstalledApplicationAuthorization.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L12)

Gets or sets the Google API scopes requested during authorization.

`public string? UserId { get; set; }` [#](#property-userid)

[GoogleInstalledApplicationAuthorization.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L14)

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

`public string? Account { get; set; }` [#](#property-account)

[GoogleInstalledApplicationAuthorization.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L16)

Gets or sets a legacy informational account label. Installed-application authorization does not use it as identity evidence; verified identity comes from [GoogleInstalledApplicationAuthorizationOptions.CredentialBindingResolver](/api/google-workspace-auth/officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorizationoptions/).

`public GoogleWorkspaceCredentialBindingResolver? CredentialBindingResolver { get; set; }` [#](#property-credentialbindingresolver)

[GoogleInstalledApplicationAuthorization.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L22)

Required by [GoogleInstalledApplicationAuthorization.AuthorizeAsync](/api/google-workspace-auth/officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorization/); resolves the authorized token's provider-issued identity and grants. Read-only callers can use [GoogleInstalledApplicationAuthorization.AuthorizeCredentialAsync](/api/google-workspace-auth/officeimo-googleworkspace-auth-googleapis-googleinstalledapplicationauthorization/) without a resolver.

`public IGoogleWorkspaceTokenStore? TokenStore { get; set; }` [#](#property-tokenstore)

[GoogleInstalledApplicationAuthorization.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L24)

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

`public ICodeReceiver? CodeReceiver { get; set; }` [#](#property-codereceiver)

[GoogleInstalledApplicationAuthorization.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Auth.GoogleApis/GoogleInstalledApplicationAuthorization.cs#L26)

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

<!-- PowerForge markdown artifact sha256:53F2DD1B4B4500A9F74F3DC6B306D99919B577C8DC993FE17D0024FF63BDA044 -->
