public static enum Constants.ApplicationScope extends Enum<Constants.ApplicationScope>
Enum Constant and Description |
---|
API
Access the authenticated user's API
|
EMAIL
Allows read-only access to the user's primary email address using OpenID Connect
|
OPENID
Authenticate using OpenID Connect
|
PROFILE
Allows read-only access to the user's personal information using OpenID Connect
|
READ_REPOSITORY
Allows read-access to the repository
|
READ_USER
Read the authenticated user's personal information
|
SUDO
Perform API actions as any user in the system
|
Modifier and Type | Method and Description |
---|---|
static Constants.ApplicationScope |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Constants.ApplicationScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ApplicationScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ApplicationScope API
public static final Constants.ApplicationScope READ_USER
public static final Constants.ApplicationScope SUDO
public static final Constants.ApplicationScope READ_REPOSITORY
public static final Constants.ApplicationScope OPENID
public static final Constants.ApplicationScope PROFILE
public static final Constants.ApplicationScope EMAIL
public static Constants.ApplicationScope[] values()
for (Constants.ApplicationScope c : Constants.ApplicationScope.values()) System.out.println(c);
public static Constants.ApplicationScope 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 nullpublic static Constants.ApplicationScope forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Constants.ApplicationScope>
Copyright © 2019. All rights reserved.