public enum AuthHuaweiScope extends Enum<AuthHuaweiScope> implements AuthScope
Enum Constant and Description |
---|
ACCOUNTLIST |
BASE_PROFILE
scope 含义,以description 为准 |
MOBILE_NUMBER |
SCOPE_DRIVE
以下四个 scope 使用前需要向drivekit@huawei.com提交申请
|
SCOPE_DRIVE_APPDATA |
SCOPE_DRIVE_FILE
以下两个 scope 不需要经过华为评估和验证
|
SCOPE_DRIVE_METADATA |
SCOPE_DRIVE_METADATA_READONLY |
SCOPE_DRIVE_READONLY |
Modifier and Type | Method and Description |
---|---|
static AuthHuaweiScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthHuaweiScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthHuaweiScope BASE_PROFILE
scope
含义,以description
为准public static final AuthHuaweiScope MOBILE_NUMBER
public static final AuthHuaweiScope ACCOUNTLIST
public static final AuthHuaweiScope SCOPE_DRIVE_FILE
public static final AuthHuaweiScope SCOPE_DRIVE_APPDATA
public static final AuthHuaweiScope SCOPE_DRIVE
参考:https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides-V5/server-dev-0000001050039664-V5#ZH-CN_TOPIC_0000001050039664__section1618418855716
public static final AuthHuaweiScope SCOPE_DRIVE_READONLY
public static final AuthHuaweiScope SCOPE_DRIVE_METADATA
public static final AuthHuaweiScope SCOPE_DRIVE_METADATA_READONLY
public static AuthHuaweiScope[] values()
for (AuthHuaweiScope c : AuthHuaweiScope.values()) System.out.println(c);
public static AuthHuaweiScope 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.