Skip to content

Commit 3ddae28

Browse files
committed
Added additional OAuth scopes.
1 parent 2231c55 commit 3ddae28

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

core/src/main/java/com/github/api/v2/services/OAuthService.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ public enum Scope implements ValueEnum {
3434

3535
/** The USER. */
3636
USER("user"),
37+
38+
/** The PUBLIC_REPO. */
39+
PUBLIC_REPO("public_repo"),
3740

38-
/** The REPOSITORY. */
39-
REPOSITORY("repo");
41+
/** The REPOSITORY. */
42+
REPOSITORY("repo"),
43+
44+
/** The GIST. */
45+
GIST("gist");
4046

4147
/** The Constant stringToEnum. */
4248
private static final Map<String, Scope> stringToEnum = new HashMap<String, Scope>();

0 commit comments

Comments
 (0)