public enum AuthCodingScope extends Enum<AuthCodingScope> implements AuthScope
Enum Constant and Description |
---|
PROJECT |
PROJECT_DEPOT |
PROJECT_WIKI |
USER
scope 含义,以description 为准 |
USER_EMAIL |
USER_PHONE |
Modifier and Type | Method and Description |
---|---|
static AuthCodingScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthCodingScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthCodingScope USER
scope
含义,以description
为准public static final AuthCodingScope USER_EMAIL
public static final AuthCodingScope USER_PHONE
public static final AuthCodingScope PROJECT
public static final AuthCodingScope PROJECT_DEPOT
public static final AuthCodingScope PROJECT_WIKI
public static AuthCodingScope[] values()
for (AuthCodingScope c : AuthCodingScope.values()) System.out.println(c);
public static AuthCodingScope 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.