public enum AuthGitlabScope extends Enum<AuthGitlabScope> implements AuthScope
Enum Constant and Description |
---|
API |
EMAIL |
OPENID |
PROFILE |
READ_API |
READ_REGISTRY |
READ_REPOSITORY |
READ_USER
scope 含义,以description 为准 |
SUDO |
WRITE_REGISTRY |
WRITE_REPOSITORY |
Modifier and Type | Method and Description |
---|---|
static AuthGitlabScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthGitlabScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthGitlabScope READ_USER
scope
含义,以description
为准public static final AuthGitlabScope OPENID
public static final AuthGitlabScope PROFILE
public static final AuthGitlabScope EMAIL
public static final AuthGitlabScope READ_API
public static final AuthGitlabScope READ_REPOSITORY
public static final AuthGitlabScope WRITE_REPOSITORY
public static final AuthGitlabScope READ_REGISTRY
public static final AuthGitlabScope WRITE_REGISTRY
public static final AuthGitlabScope SUDO
public static final AuthGitlabScope API
public static AuthGitlabScope[] values()
for (AuthGitlabScope c : AuthGitlabScope.values()) System.out.println(c);
public static AuthGitlabScope 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.