Back to Node Auth0

Interface ConnectionOptionsGitHub

docs/interfaces/management.Management.ConnectionOptionsGitHub.html

5.9.17.8 KB
Original Source

Interface ConnectionOptionsGitHub

Options for the 'github' connection

interface ConnectionOptionsGitHub {
non_persistent_attrs?: ConnectionNonPersistentAttrs;
client_id?: string;
client_secret?: string;
freeform_scopes?: ConnectionScopeArray;
scope?: ConnectionScopeArray;
set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum;
upstream_params?: ConnectionUpstreamParams;
admin_org?: boolean;
admin_public_key?: boolean;
admin_repo_hook?: boolean;
delete_repo?: boolean;
email?: boolean;
follow?: boolean;
gist?: boolean;
notifications?: boolean;
profile?: boolean;
public_repo?: boolean;
read_org?: boolean;
read_public_key?: boolean;
read_repo_hook?: boolean;
read_user?: boolean;
repo?: boolean;
repo_deployment?: boolean;
repo_status?: boolean;
write_org?: boolean;
write_public_key?: boolean;
write_repo_hook?: boolean;
key: string: any;
}

Hierarchy (View Summary)

Indexable

Accepts any additional properties

Index

Properties

non_persistent_attrs?client_id?client_secret?freeform_scopes?scope?set_user_root_attributes?upstream_params?admin_org?admin_public_key?admin_repo_hook?delete_repo?email?follow?gist?notifications?profile?public_repo?read_org?read_public_key?read_repo_hook?read_user?repo?repo_deployment?repo_status?write_org?write_public_key?write_repo_hook?

Properties

Optionalnon_persistent_attrs

non_persistent_attrs?: ConnectionNonPersistentAttrs

Optionalclient_id

client_id?: string

Optionalclient_secret

client_secret?: string

Optionalfreeform_scopes

freeform_scopes?: ConnectionScopeArray

Optionalscope

scope?: ConnectionScopeArray

Optionalset_user_root_attributes

set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum

Optionalupstream_params

upstream_params?: ConnectionUpstreamParams

Optionaladmin_org

admin_org?: boolean

Requests the GitHub admin:org scope so Auth0 can fully manage organizations, teams, and memberships on behalf of the user.

Optionaladmin_public_key

admin_public_key?: boolean

Requests the admin:public_key scope to allow creating, updating, and deleting the user's SSH public keys.

Optionaladmin_repo_hook

admin_repo_hook?: boolean

Requests the admin:repo_hook scope so Auth0 can read, write, ping, and delete repository webhooks.

Optionaldelete_repo

delete_repo?: boolean

Requests the delete_repo scope so the user can remove repositories they administer while signing in through Auth0.

Optionalemail

email?: boolean

Requests the user:email scope so Auth0 pulls addresses from GitHub's /user/emails endpoint and populates the profile.

Optionalfollow

follow?: boolean

Requests the user:follow scope to allow following or unfollowing GitHub users for the signed-in account.

Optionalgist

gist?: boolean

Requests the gist scope so the application can create or update gists on behalf of the user.

Optionalnotifications

notifications?: boolean

Requests the notifications scope to read GitHub inbox notifications; repo also implicitly grants this access.

Optionalprofile

profile?: boolean

Controls the GitHub read:user call that returns the user's basic profile (name, avatar, profile URL) and is on by default for successful logins.

Optionalpublic_repo

public_repo?: boolean

Requests the public_repo scope for read and write operations on public repositories, deployments, and statuses.

Optionalread_org

read_org?: boolean

Requests the read:org scope so Auth0 can view organizations, teams, and membership lists without making changes.

Optionalread_public_key

read_public_key?: boolean

Requests the read:public_key scope so Auth0 can list and inspect the user's SSH public keys.

Optionalread_repo_hook

read_repo_hook?: boolean

Requests the read:repo_hook scope to read and ping repository webhooks.

Optionalread_user

read_user?: boolean

Requests the read:user scope to load extended profile information, implicitly covering user:email and user:follow.

Optionalrepo

repo?: boolean

Requests the repo scope for read and write access to both public and private repositories, deployments, and statuses.

Optionalrepo_deployment

repo_deployment?: boolean

Requests the repo_deployment scope in order to read and write deployment statuses for repositories.

Optionalrepo_status

repo_status?: boolean

Requests the repo:status scope to manage commit statuses on public and private repositories.

Optionalwrite_org

write_org?: boolean

Requests the write:org scope so Auth0 can change whether organization memberships are publicized.

Optionalwrite_public_key

write_public_key?: boolean

Requests the write:public_key scope to create or update SSH public keys for the user.

Optionalwrite_repo_hook

write_repo_hook?: boolean

Requests the write:repo_hook scope so Auth0 can read, create, update, and ping repository webhooks.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties non_persistent_attrsclient_idclient_secretfreeform_scopesscopeset_user_root_attributesupstream_paramsadmin_orgadmin_public_keyadmin_repo_hookdelete_repoemailfollowgistnotificationsprofilepublic_reporead_orgread_public_keyread_repo_hookread_userreporepo_deploymentrepo_statuswrite_orgwrite_public_keywrite_repo_hook