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