Enum github_auth::Scope[][src]

pub enum Scope {
    Repo,
    RepoStatus,
    RepoDeployment,
    PublicRepo,
    RepoInvite,
    AdminOrg,
    WriteOrg,
    ReadOrg,
    AdminPublicKey,
    WritePublicKey,
    ReadPublicKey,
    AdminRepoHook,
    WriteRepoHook,
    ReadRepoHook,
    AdminOrgHook,
    Gist,
    Notifications,
    User,
    ReadUser,
    UserEmail,
    UserFollow,
    DeleteRepo,
    WriteDiscussion,
    ReadDiscussion,
    AdminGpgKey,
    WriteGpgKey,
    ReadGpgKey,
}

GitHub OAuth scope definitions.

Further Reading

Variants

Grants read/write access to code, commit statuses, invitations, collaborators, adding team memberships, and deployment statuses for public and private repositories and organizations.

Grants read/write access to public and private repository commit statuses. This scope is only necessary to grant other users or services access to private repository commit statuses without granting access to the code.

Grants access to deployment statuses for public and private repositories. This scope is only necessary to grant other users or services access to deployment statuses, without granting access to the code.

Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.

Grants accept/decline abilities for invitations to collaborate on a repository. This scope is only necessary to grant other users or services access to invites without granting access to the code.

Fully manage organization, teams, and memberships.

Publicize and unpublicize organization membership.

Read-only access to organization, teams, and membership.

Fully manage public keys.

Create, list, and view details for public keys.

List and view details for public keys.

Grants read, write, ping, and delete access to hooks in public or private repositories.

Grants read, write, and ping access to hooks in public or private repositories.

Grants read and ping access to hooks in public or private repositories.

Grants read, write, ping, and delete access to organization hooks. Note: OAuth tokens will only be able to perform these actions on organization hooks which were created by the OAuth App. Personal access tokens will only be able to perform these actions on organization hooks created by a user.

Grants write access to gists.

Grants read access to a user's notifications. repo also provides this access.

Grants read/write access to profile info only. Note that this scope includes user:email and user:follow.

Grants access to read a user's profile data.

Grants read access to a user's email addresses.

Grants access to follow or unfollow other users.

Grants access to delete adminable repositories.

Allows read and write access for team discussions.

Allows read access for team discussions.

Fully manage GPG keys.

Create, list, and view details for GPG keys.

List and view details for GPG keys.

Trait Implementations

impl Debug for Scope
[src]

Formats the value using the given formatter. Read more

impl Clone for Scope
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Scope

impl Sync for Scope