Skip to content

Commit

Permalink
Update github scopes according to https://developer.github.com/v3/oau…
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Sep 12, 2014
1 parent 95fbf92 commit 7b58182
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";

This comment has been minimized.

Copy link
@KostyaSha

KostyaSha Aug 2, 2015

Contributor

AMIN ?!

This comment has been minimized.

Copy link
@ndeloof

ndeloof Aug 2, 2015

Author Contributor

oups typo. But released now.

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 7b58182

Please sign in to comment.