Table of Contents

Class ConnectionOptionsGoogleOAuth2

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

Options for the 'google-oauth2' connection

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

Properties

AdditionalProperties

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

Property Value

AdditionalProperties

AdsenseManagement

View and manage user's ad applications, ad units, and channels in AdSense

[JsonPropertyName("adsense_management")]
public bool? AdsenseManagement { get; set; }

Property Value

bool?

AllowedAudiences

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

Property Value

IEnumerable<string>

Analytics

View user's configuration information and reports

[JsonPropertyName("analytics")]
public bool? Analytics { get; set; }

Property Value

bool?

Blogger

View and manage user's posts and blogs on Blogger and Blogger comments

[JsonPropertyName("blogger")]
public bool? Blogger { get; set; }

Property Value

bool?

Calendar

See, edit, share, and permanently delete all the calendars you can access using Google Calendar

[JsonPropertyName("calendar")]
public bool? Calendar { get; set; }

Property Value

bool?

CalendarAddonsExecute

Run as a Calendar add-on

[JsonPropertyName("calendar_addons_execute")]
public bool? CalendarAddonsExecute { get; set; }

Property Value

bool?

CalendarEvents

View and edit events on all your calendars

[JsonPropertyName("calendar_events")]
public bool? CalendarEvents { get; set; }

Property Value

bool?

CalendarEventsReadonly

View events on all your calendars

[JsonPropertyName("calendar_events_readonly")]
public bool? CalendarEventsReadonly { get; set; }

Property Value

bool?

CalendarSettingsReadonly

View your Calendar settings

[JsonPropertyName("calendar_settings_readonly")]
public bool? CalendarSettingsReadonly { get; set; }

Property Value

bool?

ChromeWebStore

Read access to user's chrome web store

[JsonPropertyName("chrome_web_store")]
public bool? ChromeWebStore { get; set; }

Property Value

bool?

ClientId

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

Property Value

string

ClientSecret

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

Property Value

string

Contacts

Full access to the authenticated user's contacts

[JsonPropertyName("contacts")]
public bool? Contacts { get; set; }

Property Value

bool?

ContactsNew

Full access to the authenticated user's contacts

[JsonPropertyName("contacts_new")]
public bool? ContactsNew { get; set; }

Property Value

bool?

ContactsOtherReadonly

Read-only access to the authenticated user's 'Other contacts'

[JsonPropertyName("contacts_other_readonly")]
public bool? ContactsOtherReadonly { get; set; }

Property Value

bool?

ContactsReadonly

Read-only access to the authenticated user's contacts

[JsonPropertyName("contacts_readonly")]
public bool? ContactsReadonly { get; set; }

Property Value

bool?

ContentApiForShopping

View and manage user's products, feeds, and subaccounts

[JsonPropertyName("content_api_for_shopping")]
public bool? ContentApiForShopping { get; set; }

Property Value

bool?

Coordinate

Grants read and write access to the Coordinate API

[JsonPropertyName("coordinate")]
public bool? Coordinate { get; set; }

Property Value

bool?

CoordinateReadonly

Grants read access to the Coordinate API

[JsonPropertyName("coordinate_readonly")]
public bool? CoordinateReadonly { get; set; }

Property Value

bool?

DirectoryReadonly

Read-only access to the authenticated user's corporate directory (if applicable)

[JsonPropertyName("directory_readonly")]
public bool? DirectoryReadonly { get; set; }

Property Value

bool?

DocumentList

Access to Google Docs document list feed

[JsonPropertyName("document_list")]
public bool? DocumentList { get; set; }

Property Value

bool?

Drive

Full access to all files and folders in the user's Google Drive

[JsonPropertyName("drive")]
public bool? Drive { get; set; }

Property Value

bool?

DriveActivity

View and add to the activity record of files in your Drive

[JsonPropertyName("drive_activity")]
public bool? DriveActivity { get; set; }

Property Value

bool?

DriveActivityReadonly

View the activity record of files in your Drive

[JsonPropertyName("drive_activity_readonly")]
public bool? DriveActivityReadonly { get; set; }

Property Value

bool?

DriveAppdata

Access to the application's configuration data in the user's Google Drive

[JsonPropertyName("drive_appdata")]
public bool? DriveAppdata { get; set; }

Property Value

bool?

DriveAppsReadonly

View apps authorized to access your Drive

[JsonPropertyName("drive_apps_readonly")]
public bool? DriveAppsReadonly { get; set; }

Property Value

bool?

DriveFile

Access to files created or opened by the app

[JsonPropertyName("drive_file")]
public bool? DriveFile { get; set; }

Property Value

bool?

DriveMetadata

Access to file metadata, including listing files and folders

[JsonPropertyName("drive_metadata")]
public bool? DriveMetadata { get; set; }

Property Value

bool?

DriveMetadataReadonly

Read-only access to file metadata

[JsonPropertyName("drive_metadata_readonly")]
public bool? DriveMetadataReadonly { get; set; }

Property Value

bool?

DrivePhotosReadonly

Read-only access to the user's Google Photos

[JsonPropertyName("drive_photos_readonly")]
public bool? DrivePhotosReadonly { get; set; }

Property Value

bool?

DriveReadonly

Read-only access to all files and folders in the user's Google Drive

[JsonPropertyName("drive_readonly")]
public bool? DriveReadonly { get; set; }

Property Value

bool?

DriveScripts

Modify the behavior of Google Apps Scripts

[JsonPropertyName("drive_scripts")]
public bool? DriveScripts { get; set; }

Property Value

bool?

Email

Email and verified email flag

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

Property Value

bool?

FreeformScopes

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

Property Value

IEnumerable<string>

Gmail

Full access to the account's mailboxes, including permanent deletion of threads and messages

[JsonPropertyName("gmail")]
public bool? Gmail { get; set; }

Property Value

bool?

GmailCompose

Read all resources and their metadata—no write operations

[JsonPropertyName("gmail_compose")]
public bool? GmailCompose { get; set; }

Property Value

bool?

GmailInsert

Insert and import messages only

[JsonPropertyName("gmail_insert")]
public bool? GmailInsert { get; set; }

Property Value

bool?

GmailLabels

Create, read, update, and delete labels only

[JsonPropertyName("gmail_labels")]
public bool? GmailLabels { get; set; }

Property Value

bool?

GmailMetadata

Read resources metadata including labels, history records, and email message headers, but not the message body or attachments

[JsonPropertyName("gmail_metadata")]
public bool? GmailMetadata { get; set; }

Property Value

bool?

GmailModify

All read/write operations except immediate, permanent deletion of threads and messages, bypassing Trash

[JsonPropertyName("gmail_modify")]
public bool? GmailModify { get; set; }

Property Value

bool?

GmailNew

Full access to the account's mailboxes, including permanent deletion of threads and messages

[JsonPropertyName("gmail_new")]
public bool? GmailNew { get; set; }

Property Value

bool?

GmailReadonly

Read all resources and their metadata—no write operations

[JsonPropertyName("gmail_readonly")]
public bool? GmailReadonly { get; set; }

Property Value

bool?

GmailSend

Send messages only. No read or modify privileges on mailbox

[JsonPropertyName("gmail_send")]
public bool? GmailSend { get; set; }

Property Value

bool?

GmailSettingsBasic

Manage basic mail settings

[JsonPropertyName("gmail_settings_basic")]
public bool? GmailSettingsBasic { get; set; }

Property Value

bool?

GmailSettingsSharing

Manage sensitive mail settings, including forwarding rules and aliases. Note: Operations guarded by this scope are restricted to administrative use only

[JsonPropertyName("gmail_settings_sharing")]
public bool? GmailSettingsSharing { get; set; }

Property Value

bool?

GoogleAffiliateNetwork

View and manage user's publisher data in the Google Affiliate Network

[JsonPropertyName("google_affiliate_network")]
public bool? GoogleAffiliateNetwork { get; set; }

Property Value

bool?

GoogleBooks

View and manage user's books and library in Google Books

[JsonPropertyName("google_books")]
public bool? GoogleBooks { get; set; }

Property Value

bool?

GoogleCloudStorage

View and manage user's data stored in Google Cloud Storage

[JsonPropertyName("google_cloud_storage")]
public bool? GoogleCloudStorage { get; set; }

Property Value

bool?

GoogleDrive

Full access to all files and folders in the user's Google Drive

[JsonPropertyName("google_drive")]
public bool? GoogleDrive { get; set; }

Property Value

bool?

GoogleDriveFiles

Access to files created or opened by the app

[JsonPropertyName("google_drive_files")]
public bool? GoogleDriveFiles { get; set; }

Property Value

bool?

GooglePlus

Associate user with its public Google profile

[JsonPropertyName("google_plus")]
public bool? GooglePlus { get; set; }

Property Value

bool?

IconUrl

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

Property Value

string

LatitudeBest

View and manage user's best-available current location and location history in Google Latitude

[JsonPropertyName("latitude_best")]
public bool? LatitudeBest { get; set; }

Property Value

bool?

LatitudeCity

View and manage user's city-level current location and location history in Google Latitude

[JsonPropertyName("latitude_city")]
public bool? LatitudeCity { get; set; }

Property Value

bool?

Moderator

View and manage user's votes, topics, and submissions

[JsonPropertyName("moderator")]
public bool? Moderator { get; set; }

Property Value

bool?

NonPersistentAttrs

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

Property Value

IEnumerable<string>

OfflineAccess

Request a refresh token when the user authorizes your application

[JsonPropertyName("offline_access")]
public bool? OfflineAccess { get; set; }

Property Value

bool?

Orkut

View and manage user's friends, applications and profile and status

[JsonPropertyName("orkut")]
public bool? Orkut { get; set; }

Property Value

bool?

PicasaWeb

View and manage user's Google photos, videos, photo and video tags and comments

[JsonPropertyName("picasa_web")]
public bool? PicasaWeb { get; set; }

Property Value

bool?

Profile

Name, public profile URL, photo, country, language, and timezone

[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?

Sites

View and manage user's sites on Google Sites

[JsonPropertyName("sites")]
public bool? Sites { get; set; }

Property Value

bool?

Tasks

Full access to create, edit, organize, and delete all your tasks

[JsonPropertyName("tasks")]
public bool? Tasks { get; set; }

Property Value

bool?

TasksReadonly

Read-only access to view your tasks and task lists

[JsonPropertyName("tasks_readonly")]
public bool? TasksReadonly { get; set; }

Property Value

bool?

UpstreamParams

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

Property Value

Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties>>

UrlShortener

View, manage and view statistics user's short URLs

[JsonPropertyName("url_shortener")]
public bool? UrlShortener { get; set; }

Property Value

bool?

WebmasterTools

View and manage user's sites and messages, view keywords

[JsonPropertyName("webmaster_tools")]
public bool? WebmasterTools { get; set; }

Property Value

bool?

Youtube

Manage your YouTube account

[JsonPropertyName("youtube")]
public bool? Youtube { get; set; }

Property Value

bool?

YoutubeChannelmembershipsCreator

See a list of your current active channel members, their current level, and when they became a member

[JsonPropertyName("youtube_channelmemberships_creator")]
public bool? YoutubeChannelmembershipsCreator { get; set; }

Property Value

bool?

YoutubeNew

Manage your YouTube account

[JsonPropertyName("youtube_new")]
public bool? YoutubeNew { get; set; }

Property Value

bool?

YoutubeReadonly

View your YouTube account

[JsonPropertyName("youtube_readonly")]
public bool? YoutubeReadonly { get; set; }

Property Value

bool?

YoutubeUpload

Manage your YouTube videos

[JsonPropertyName("youtube_upload")]
public bool? YoutubeUpload { get; set; }

Property Value

bool?

Youtubepartner

View and manage your assets and associated content on YouTube

[JsonPropertyName("youtubepartner")]
public bool? Youtubepartner { get; set; }

Property Value

bool?

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.