[][src]Enum github_auth::Scope

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

Repo

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

RepoStatus

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.

RepoDeployment

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.

PublicRepo

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

RepoInvite

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.

AdminOrg

Fully manage organization, teams, and memberships.

WriteOrg

Publicize and unpublicize organization membership.

ReadOrg

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

AdminPublicKey

Fully manage public keys.

WritePublicKey

Create, list, and view details for public keys.

ReadPublicKey

List and view details for public keys.

AdminRepoHook

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

WriteRepoHook

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

ReadRepoHook

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

AdminOrgHook

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.

Gist

Grants write access to gists.

Notifications

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

User

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

ReadUser

Grants access to read a user's profile data.

UserEmail

Grants read access to a user's email addresses.

UserFollow

Grants access to follow or unfollow other users.

DeleteRepo

Grants access to delete adminable repositories.

WriteDiscussion

Allows read and write access for team discussions.

ReadDiscussion

Allows read access for team discussions.

AdminGpgKey

Fully manage GPG keys.

WriteGpgKey

Create, list, and view details for GPG keys.

ReadGpgKey

List and view details for GPG keys.

Trait Implementations

impl Clone for Scope[src]

impl Debug for Scope[src]

impl<'de> Deserialize<'de> for Scope[src]

impl Serialize for Scope[src]

Auto Trait Implementations

impl RefUnwindSafe for Scope

impl Send for Scope

impl Sync for Scope

impl Unpin for Scope

impl UnwindSafe for Scope

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]