public enum AuthProginnScope extends Enum<AuthProginnScope> implements AuthScope
Enum Constant and Description |
---|
BASIC
scope 含义,以description 为准 |
cellphone |
email
以上 scope 需要单独向程序员客栈平台申请,否则不可使用
|
realname |
Modifier and Type | Method and Description |
---|---|
static AuthProginnScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthProginnScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthProginnScope BASIC
scope
含义,以description
为准public static final AuthProginnScope email
public static final AuthProginnScope realname
public static final AuthProginnScope cellphone
public static AuthProginnScope[] values()
for (AuthProginnScope c : AuthProginnScope.values()) System.out.println(c);
public static AuthProginnScope 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.