Table of Contents

Class ConnectionOptionsGoogleApps

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

Options for the 'google-apps' connection

[Serializable]
public record ConnectionOptionsGoogleApps : IJsonOnDeserialized, IJsonOnSerializing, IEquatable<ConnectionOptionsGoogleApps>
Inheritance
ConnectionOptionsGoogleApps
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public AdditionalProperties AdditionalProperties { get; set; }

Property Value

AdditionalProperties

AdminAccessToken

[JsonPropertyName("admin_access_token")]
public string? AdminAccessToken { get; set; }

Property Value

string

AdminAccessTokenExpiresin

[JsonPropertyName("admin_access_token_expiresin")]
public DateTime? AdminAccessTokenExpiresin { get; set; }

Property Value

DateTime?

AdminRefreshToken

[JsonPropertyName("admin_refresh_token")]
public string? AdminRefreshToken { get; set; }

Property Value

string

AllowSettingLoginScopes

When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated.

[JsonPropertyName("allow_setting_login_scopes")]
public bool? AllowSettingLoginScopes { get; set; }

Property Value

bool?

ApiEnableGroups

[JsonPropertyName("api_enable_groups")]
public bool? ApiEnableGroups { get; set; }

Property Value

bool?

ApiEnableUsers

[JsonPropertyName("api_enable_users")]
public bool? ApiEnableUsers { get; set; }

Property Value

bool?

ClientId

[JsonPropertyName("client_id")]
public required string ClientId { get; set; }

Property Value

string

ClientSecret

[JsonPropertyName("client_secret")]
public string? ClientSecret { get; set; }

Property Value

string

Domain

[JsonPropertyName("domain")]
public string? Domain { get; set; }

Property Value

string

DomainAliases

[JsonPropertyName("domain_aliases")]
public IEnumerable<string>? DomainAliases { get; set; }

Property Value

IEnumerable<string>

Email

Whether the OAuth flow requests the email scope.

[JsonPropertyName("email")]
public bool? Email { get; set; }

Property Value

bool?

ExtAgreedTerms

[JsonPropertyName("ext_agreed_terms")]
public bool? ExtAgreedTerms { get; set; }

Property Value

bool?

ExtGroups

[JsonPropertyName("ext_groups")]
public bool? ExtGroups { get; set; }

Property Value

bool?

ExtGroupsExtended

Controls whether enriched group entries include id, email, name (true) or only the group name (false); can only be set when ext_groups is true.

[JsonPropertyName("ext_groups_extended")]
public bool? ExtGroupsExtended { get; set; }

Property Value

bool?

ExtIsAdmin

[JsonPropertyName("ext_is_admin")]
public bool? ExtIsAdmin { get; set; }

Property Value

bool?

ExtIsSuspended

[JsonPropertyName("ext_is_suspended")]
public bool? ExtIsSuspended { get; set; }

Property Value

bool?

FederatedConnectionsAccessTokens

[JsonPropertyName("federated_connections_access_tokens")]
public Optional<ConnectionFederatedConnectionsAccessTokens?> FederatedConnectionsAccessTokens { get; set; }

Property Value

Optional<ConnectionFederatedConnectionsAccessTokens>

HandleLoginFromSocial

[JsonPropertyName("handle_login_from_social")]
public bool? HandleLoginFromSocial { get; set; }

Property Value

bool?

IconUrl

[JsonPropertyName("icon_url")]
public string? IconUrl { get; set; }

Property Value

string

MapUserIdToId

Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward.

[JsonPropertyName("map_user_id_to_id")]
public bool? MapUserIdToId { get; set; }

Property Value

bool?

NonPersistentAttrs

[JsonPropertyName("non_persistent_attrs")]
public IEnumerable<string>? NonPersistentAttrs { get; set; }

Property Value

IEnumerable<string>

Profile

Whether the OAuth flow requests the profile scope.

[JsonPropertyName("profile")]
public bool? Profile { get; set; }

Property Value

bool?

Scope

[JsonPropertyName("scope")]
public IEnumerable<string>? Scope { get; set; }

Property Value

IEnumerable<string>

SetUserRootAttributes

[JsonPropertyName("set_user_root_attributes")]
public ConnectionSetUserRootAttributesEnum? SetUserRootAttributes { get; set; }

Property Value

ConnectionSetUserRootAttributesEnum?

TenantDomain

[JsonPropertyName("tenant_domain")]
public string? TenantDomain { get; set; }

Property Value

string

UpstreamParams

[JsonPropertyName("upstream_params")]
public Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties?>?> UpstreamParams { get; set; }

Property Value

Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties>>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.