目录

CLASS info
public class HuaweiIdAuthParams  implements Api.ApiOptions.HasOptions, Parcelable
           
Huawei ID Sign In Options.

Nested Class Summary

TypeNameDesc
ClassHuaweiIdAuthParamsHelperBuilder for Huawei ID Sign In Options, constructor for HuaweiIdAuthParams instance.

Constant Summary

TypeNameDesc
HuaweiIdAuthParamsDEFAULT_AUTH_REQUEST_PARAMDefault authorization parameter of Huawei ID.
HuaweiIdAuthParamsDEFAULT_AUTH_REQUEST_PARAM_GAMEDefault authorization parameter of game applications.


Public Method Summary

Return typeMethod name
List<Scope>getRequestScopeList()
Obtain scope list.
inthashCode()
Override hashCode() method of java.lang.Object.
booleanequals(Object object)
Override equals(Object object) method of java.lang.Object.

Constants

Constant
public static final HuaweiIdAuthParams DEFAULT_AUTH_REQUEST_PARAM

Default authorization parameter of Huawei ID.

Constant Value: new HuaweiIdAuthParamsHelper().setOpenId().setProfile().createParams()

Constant
public static final HuaweiIdAuthParams DEFAULT_AUTH_REQUEST_PARAM_GAME

Default authorization parameter of game applications.

Constant Value: new HuaweiIdAuthParamsHelper().setScopeList(SCOPE_GAMES).createParams()

Public Methods

Method
public List<Scope> getRequestScopeList()
Obtain scope list.

Return

typedesc
List<Scope>Scope list.
Method
public int hashCode()
Override hashCode() method of java.lang.Object.

Return

typedesc
intOverride hashCode() method of java.lang.Object, the hash Code of HuaweiIdAuthParams.
Method
public boolean equals(Object object)
Override equals(Object object) method of java.lang.Object.

Return

typedesc
boolean

Override equals(Object object) method of java.lang.Object.

true: the two HuaweiIdAuthParams objects are the same

false: the two HuaweiIdAuthParams objects are different.