public enum AuthGithubScope extends Enum<AuthGithubScope> implements AuthScope
Enum Constant and Description |
---|
ADMIN_GPG_KEY |
ADMIN_ORG |
ADMIN_PUBLIC_KEY |
DELETE_PACKAGES |
DELETE_REPO |
GIST |
NOTIFICATIONS |
PUBLIC_REPO |
READ_DISCUSSION |
READ_GPG_KEY |
READ_ORG |
READ_PACKAGES |
READ_PUBLIC_KEY |
READ_REPO_HOOK |
READ_USER |
REPO_DEPLOYMENT |
REPO_INVITE |
REPO_STATUS
scope 含义,以description 为准 |
SECURITY_EVENTS |
USER |
USER_EMAIL |
USER_FOLLOW |
WORKFLOW |
WRITE_DISCUSSION |
WRITE_GPG_KEY |
WRITE_ORG |
WRITE_PACKAGES |
WRITE_PUBLIC_KEY |
WRITE_REPO_HOOK |
Modifier and Type | Method and Description |
---|---|
static AuthGithubScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthGithubScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthGithubScope REPO_STATUS
scope
含义,以description
为准public static final AuthGithubScope REPO_DEPLOYMENT
public static final AuthGithubScope PUBLIC_REPO
public static final AuthGithubScope REPO_INVITE
public static final AuthGithubScope SECURITY_EVENTS
public static final AuthGithubScope WRITE_REPO_HOOK
public static final AuthGithubScope READ_REPO_HOOK
public static final AuthGithubScope ADMIN_ORG
public static final AuthGithubScope WRITE_ORG
public static final AuthGithubScope READ_ORG
public static final AuthGithubScope ADMIN_PUBLIC_KEY
public static final AuthGithubScope WRITE_PUBLIC_KEY
public static final AuthGithubScope READ_PUBLIC_KEY
public static final AuthGithubScope GIST
public static final AuthGithubScope NOTIFICATIONS
public static final AuthGithubScope USER
public static final AuthGithubScope READ_USER
public static final AuthGithubScope USER_EMAIL
public static final AuthGithubScope USER_FOLLOW
public static final AuthGithubScope DELETE_REPO
public static final AuthGithubScope WRITE_DISCUSSION
public static final AuthGithubScope READ_DISCUSSION
public static final AuthGithubScope WRITE_PACKAGES
public static final AuthGithubScope READ_PACKAGES
public static final AuthGithubScope DELETE_PACKAGES
public static final AuthGithubScope ADMIN_GPG_KEY
public static final AuthGithubScope WRITE_GPG_KEY
public static final AuthGithubScope READ_GPG_KEY
public static final AuthGithubScope WORKFLOW
public static AuthGithubScope[] values()
for (AuthGithubScope c : AuthGithubScope.values()) System.out.println(c);
public static AuthGithubScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.