Skip to content

Commit

Permalink
Merge pull request #128 from ndeloof/patch-1
Browse files Browse the repository at this point in the history
Update github scopes according to https://developer.github.com/v3/oauth/#scopes
  • Loading branch information
kohsuke committed Sep 27, 2014
2 parents 7b46ef1 + 7b58182 commit d228a5f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/org/kohsuke/github/GHAuthorization.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ public class GHAuthorization {
public static final String DELETE_REPO = "delete_repo";
public static final String NOTIFICATIONS = "notifications";
public static final String GIST = "gist";
public static final String READ_HOOK = "read:repo_hook";
public static final String WRITE_HOOK = "write:repo_hook";
public static final String AMIN_HOOK = "admin:repo_hook";
public static final String READ_ORG = "read:org";
public static final String WRITE_ORG = "write:org";
public static final String ADMIN_ORG = "admin:org";
public static final String READ_KEY = "read:public_key";
public static final String WRITE_KEY = "write:public_key";
public static final String ADMIN_KEY = "admin:public_key";

private GitHub root;
private int id;
Expand Down

0 comments on commit d228a5f

Please sign in to comment.