目录

AccountAuthParams

Class Info

public class AccountAuthParams

An ID sign-in authorization option.

Public Field Summary

Qualifier and Type

Field and Description

AccountAuthParams

DEFAULT_AUTH_REQUEST_PARAM

Default authorization parameter of an ID.

AccountAuthParams

DEFAULT_AUTH_REQUEST_PARAM_GAME

Default authorization parameter of a game app.

Public Method Summary

Qualifier and Type

Method Name and Description

List<Scope>

getRequestScopeList()

Obtains the scope list.

int

hashCode()

Overrides the hashCode method of the java.lang.Object class to check whether a complex object equals another.

boolean

equals(Object object)

Overrides the equals(Object object) method of the java.lang.Object class to check whether an AccountAuthParams object equals another.

Public Fields

[h2]DEFAULT_AUTH_REQUEST_PARAM

Field

public static final AccountAuthParams DEFAULT_AUTH_REQUEST_PARAM

Default authorization parameter of an ID.

For details, please refer to Constant-values.

[h2]DEFAULT_AUTH_REQUEST_PARAM_GAME

Field

public static final AccountAuthParams DEFAULT_AUTH_REQUEST_PARAM_GAME

Default authorization parameter of a game app.

For details, please refer to Constant-values.

Public Methods

[h2]getRequestScopeList

Method

public List<Scope> getRequestScopeList()

Obtains the scope list.

Returns

Type

Description

List<Scope>

Scope list.

[h2]hashCode

Method

public int hashCode()

Overrides the hashCode method of the java.lang.Object class to check whether a complex object equals another.

Returns

Type

Description

int

Hash code of AccountAuthParams.

[h2]equals

Method

public boolean equals(Object object)

Overrides the equals(Object object) method of the java.lang.Object class to check whether an AccountAuthParams object equals another.

Parameters

Name

Description

object

Object to be compared with.

Returns

Type

Description

boolean

  • true: Two AccountAuthParams objects are the same.
  • false: Two AccountAuthParams objects are different.