API Reference
GoogleInstalledApplicationAuthorizationOptions
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
Constructors
public GoogleInstalledApplicationAuthorizationOptions() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.