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,
}Variants
RepoGrants read/write access to code, commit statuses, invitations, collaborators, adding team memberships, and deployment statuses for public and private repositories and organizations.
RepoStatusGrants 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.
RepoDeploymentGrants 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.
PublicRepoGrants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
RepoInviteGrants 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.
AdminOrgFully manage organization, teams, and memberships.
WriteOrgPublicize and unpublicize organization membership.
ReadOrgRead-only access to organization, teams, and membership.
AdminPublicKeyFully manage public keys.
WritePublicKeyCreate, list, and view details for public keys.
ReadPublicKeyList and view details for public keys.
AdminRepoHookGrants read, write, ping, and delete access to hooks in public or private repositories.
WriteRepoHookGrants read, write, and ping access to hooks in public or private repositories.
ReadRepoHookGrants read and ping access to hooks in public or private repositories.
AdminOrgHookGrants 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.
GistGrants write access to gists.
NotificationsGrants read access to a user's notifications. repo also provides this access.
UserGrants read/write access to profile info only. Note that this scope
includes user:email and user:follow.
ReadUserGrants access to read a user's profile data.
UserEmailGrants read access to a user's email addresses.
UserFollowGrants access to follow or unfollow other users.
DeleteRepoGrants access to delete adminable repositories.
WriteDiscussionAllows read and write access for team discussions.
ReadDiscussionAllows read access for team discussions.
AdminGpgKeyFully manage GPG keys.
WriteGpgKeyCreate, list, and view details for GPG keys.
ReadGpgKeyList and view details for GPG keys.
Trait Implementations
impl Debug for Scope[src]
impl Debug for Scopefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Scope[src]
impl Clone for Scope