Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration AuthRetCode

en

Refer to AGCAuthException, exceptions of the AppGallery Connect Auth Service SDK. Code 1XXX indicate unified code used by the integrate plug-in. Error codes 2038XXXXX indicate backend server errors, and other error codes indicate SDK internal errors.

zh

可参考 AGCAuthException,捕捉 AGConnect Auth SDK 的异常,其中 1XXX 的 Code 为接入插件使用的统一封装,2038XXXXX 的错误码为后端服务器的错误信息,其他的为 SDK 内部错误信息。

Index

Enumeration members

Enumeration members

ACCESS_TOKEN_OVER_LIMIT

ACCESS_TOKEN_OVER_LIMIT: = 203817991
en

The number of access tokens exceeds the upper limit.

zh

AccessToken 数量超过了限定数量

ACCOUNT_HAVE_BEEN_REGISTERED

ACCOUNT_HAVE_BEEN_REGISTERED: = 203818082
en

The account already exists.

zh

帐号已经被注册

ACCOUNT_PASSWORD_SAME

ACCOUNT_PASSWORD_SAME: = 203818064
en

The password cannot be the same as the user name.

zh

用户名密码一致

ALREADY_SIGN_IN_USER

ALREADY_SIGN_IN_USER: = 5
en

A user has signed in using an authentication mode. Use the corresponding account or another account to sign in without signing out.

zh

已经使用一个帐号登录,在未登出情况下使用此帐号或者其他帐号登录。

ANONYMOUS_SIGNIN_OVER_LIMIT

ANONYMOUS_SIGNIN_OVER_LIMIT: = 203818019
en

The number of signed-in anonymous users exceeds the upper limit.

zh

匿名用户登录超过限制

AUTH_METHOD_IS_DISABLED

AUTH_METHOD_IS_DISABLED: = 203817988
en

The authentication mode is not supported.

zh

不支持的认证方式

AUTH_METHOD_NOT_SUPPORT

AUTH_METHOD_NOT_SUPPORT: = 203817732
en

Currently, Auth Service is deployed at four sites whose authentication modes are different.

zh

当前 Auth 微服务部署了4个局点,每个局点支持的认证方式不同

CANNOT_UNLINK_ONE_PROVIDER_USER

CANNOT_UNLINK_ONE_PROVIDER_USER: = 203818041
en

Cannot disassociate a single authentication mode.

zh

不能对单一的提供者做 unlink 操作

CONFIG_LOCK_TIME_ERROR

CONFIG_LOCK_TIME_ERROR: = 203818261
en

Failed to lock an account because the maximum number of password or verification code retry times is not set.

zh

配置密码/验证码最大尝试次数/冻结时常错误

EMAIL_VERIFICATION_IS_EMPTY

EMAIL_VERIFICATION_IS_EMPTY: = 6
en

The email verification code is empty.

zh

邮件验证码为空

FAIL_GET_PROVIDER_USER

FAIL_GET_PROVIDER_USER: = 203818040
en

Failed to obtain user information from an authentication platform.

zh

获取提供者用户失败

FAIL_TO_GET_THIRD_USER_INFO

FAIL_TO_GET_THIRD_USER_INFO: = 203817989
en

Failed to obtain the third-party user information.

zh

获取第三方用户信息失败

FAIL_TO_GET_THIRD_USER_UNION_ID

FAIL_TO_GET_THIRD_USER_UNION_ID: = 203817990
en

Failed to obtain the third-party union ID.

zh

获取第三方 Union ID 失败

FAIL_TO_USER_LINK

FAIL_TO_USER_LINK: = 203817992
en

Failed to associate the user.

zh

link 用户失败

FAIL_TO_USER_UNLINK

FAIL_TO_USER_UNLINK: = 203817993
en

Failed to disassociate the user.

zh

unlink 用户失败

GET_PLAYER_INFO_FAIL

GET_PLAYER_INFO_FAIL: = 1106
en

Get player info failed.

zh

获取用户信息失败

GET_QQ_UID_ERROR

GET_QQ_UID_ERROR: = 203818025
en

No QQ UID is returned.

zh

获取 QQ UID 返回为空

GET_QQ_USERINFO_ERROR

GET_QQ_USERINFO_ERROR: = 203818023
en

Failed to obtain the third-party QQ user information.

zh

获取 QQ 第三方用户信息失败

GET_TOKEN_FAIL

GET_TOKEN_FAIL: = 1107
en

Get token failed.

zh

获取 Token 失败

GET_TOKEN_SUCCESS

GET_TOKEN_SUCCESS: = 1007
en

Get verfiy code failed.

zh

获取 Token 成功

GET_UID_ERROR

GET_UID_ERROR: = 203817728
en

Failed to obtain the user ID.

zh

获取用户 ID 失败

GET_USER_EXTRA_FAIL

GET_USER_EXTRA_FAIL: = 1112
en

Get user extra info failed.

zh

获取当前用户的 Extra 信息失败

GET_USER_EXTRA_SUCCESS

GET_USER_EXTRA_SUCCESS: = 1012
en

Get user extra info success.

zh

获取当前用户的 Extra 信息成功

GET_USER_INFO_ERROR

GET_USER_INFO_ERROR: = 203817730
en

Failed to obtain user information.

zh

获取用户信息失败

GET_VERIFY_FAIL

GET_VERIFY_FAIL: = 1105
en

Get verfiy code failed.

zh

获取验证码失败

GET_VERIFY_SUCCESS

GET_VERIFY_SUCCESS: = 1004
en

Get verify code succeed.

zh

获取验证码成功

GOOGLE_RESPONSE_NOT_EQUAL_APPID

GOOGLE_RESPONSE_NOT_EQUAL_APPID: = 203818033
en

The information returned by Google does not match the app ID.

zh

Google 返回信息与 app ID 不匹配

INVALID_ACCESS_TOKEN

INVALID_ACCESS_TOKEN: = 203817985
en

The access token is unavailable.

zh

Access Token 不可用

INVALID_APPID

INVALID_APPID: = 203818020
en

The app ID is unavailable.

zh

app ID 不可用

INVALID_APPSECRET

INVALID_APPSECRET: = 203818021
en

The app secret is unavailable.

zh

app secret 不可用

INVALID_EMAIL

INVALID_EMAIL: = 203817223
en

Invalid email address.

zh

输入的邮箱地址不合法

INVALID_PHONE

INVALID_PHONE: = 203817224
en

Invalid mobile number.

zh

输入的手机号码不合法

INVALID_REFRESH_TOKEN

INVALID_REFRESH_TOKEN: = 203817986
en

The refresh token is unavailable. The user's refresh token has expired. Sign in the user again to obtain a new refresh token.

zh

Refresh Token 不可用。用户的 Refresh Token 过期,重新登录,获取新的 Refresh Token

INVALID_TOKEN

INVALID_TOKEN: = 203817984
en

The client token is unavailable.

zh

Client Token 不可用

LINK_FAIL

LINK_FAIL: = 1102
en

Link failed.

zh

账号连接失败

LINK_SUCCESS

LINK_SUCCESS: = 1002
en

Link succeed.

zh

账号连接成功

LOGIN_FAIL

LOGIN_FAIL: = 1101

Login failed.

zh

登录失败

LOGIN_SUCCESS

LOGIN_SUCCESS: = 1001
en

Login success.

zh

登录成功

NOT_SIGN_IN

NOT_SIGN_IN: = 2
en

Obtain the access token information before sign-in.

zh

未登录时去获取 AccessToken 信息。

NULL_TOKEN

NULL_TOKEN: = 1
en

The access token is empty. Please sign in again.

zh

AccessToken为空,建议重新登录。

PASSWORD_IS_EMPTY

PASSWORD_IS_EMPTY: = 203818068
en

The password is empty.

zh

密码为空

PASSWORD_SAME_AS_BEFORE

PASSWORD_SAME_AS_BEFORE: = 203818067
en

The new password cannot be the same as the old one.

zh

密码与老密码相同

PASSWORD_STRENGTH_LOW

PASSWORD_STRENGTH_LOW: = 203818065
en

The password strength is too low.

zh

密码强度太低

PASSWORD_TOO_LONG

PASSWORD_TOO_LONG: = 203818071
en

The password is too long.

zh

密码太长

PASSWORD_VERIFICATION_CODE_OVER_LIMIT

PASSWORD_VERIFICATION_CODE_OVER_LIMIT: = 203817811
en

The number of verification code inputs for password-based sign-in exceeds the upper limit.

zh

密码验证码次数超过限制

PASSWORD_VERIFY_CODE_ERROR

PASSWORD_VERIFY_CODE_ERROR: = 203818032
en

Incorrect password or verification code.

zh

密码和验证码错误

PHONE_VERIFICATION_IS_EMPTY

PHONE_VERIFICATION_IS_EMPTY: = 7
en

The SMS verification code is empty.

zh

电话验证码为空

PRODUCT_STATUS_ERROR

PRODUCT_STATUS_ERROR: = 203817744
en

Auth Service is not enabled for the product.

zh

产品没有开通认证服务

PROVIDER_HAVE_LINKED_ONE_USER

PROVIDER_HAVE_LINKED_ONE_USER: = 203818039
en

The authentication mode has already been associated with the user.

zh

帐号中该提供者类型已经被绑定过

PROVIDER_USER_HAVE_BEEN_LINKED

PROVIDER_USER_HAVE_BEEN_LINKED: = 203818038
en

The authentication mode has been associated with another user.

zh

提供者已经被其他用户绑定

QQINFO_RESPONSE_IS_NULL

QQINFO_RESPONSE_IS_NULL: = 203818024
en

No QQ Info information is returned.

zh

获取 QQ Info 返回为空

REGISTER_ACCOUNT_IS_EMPTY

REGISTER_ACCOUNT_IS_EMPTY: = 203818132
en

The account is empty.

zh

注册帐号为空

REGISTER_FAIL

REGISTER_FAIL: = 1103
en

Register failed.

zh

账号注册失败

REGISTER_SUCCESS

REGISTER_SUCCESS: = 1003
en

Register succeed.

zh

账号注册成功

RESET_PASS_FAIL

RESET_PASS_FAIL: = 1113
en

Reset password failed. 重置密码失败

RESET_PASS_SUCCESS

RESET_PASS_SUCCESS: = 1013
en

Reset password succeed.

zh

重置密码成功

SEND_EMAIL_FAIL

SEND_EMAIL_FAIL: = 203818240
en

Failed to send the email.

zh

发送邮件失败

SEND_MESSAGE_FAIL

SEND_MESSAGE_FAIL: = 203818241
en

Failed to send the SMS message.

zh

发送短信失败

SENSITIVE_OPERATION_TIMEOUT

SENSITIVE_OPERATION_TIMEOUT: = 203818081
en

The latest sign-in time of the sensitive operation times out.

zh

敏感操作的最近登录时间超时

SIGNED_IN

SIGNED_IN: = 1201
en

User signed in.

zh

用户授权登录

SIGNED_OUT

SIGNED_OUT: = 1204
en

User singed out.

zh

用户授权登出

SIGNIN_USER_PASSWORD_ERROR

SIGNIN_USER_PASSWORD_ERROR: = 203818037
en

Incorrect password.

zh

用户密码错误

SIGNIN_USER_STATUS_ERROR

SIGNIN_USER_STATUS_ERROR: = 203818036
en

The user is suspended.

zh

用户被 CP 停用

SIGN_IN_FAIL

SIGN_IN_FAIL: = 1104
en

Sign in failed.

zh

授权登录失败(Google/HMS/微信)

TOKEN_AND_PRODUCTID_NOT_MATCH

TOKEN_AND_PRODUCTID_NOT_MATCH: = 203817987
en

The token does not match the product ID. It is recommended that a consistency check between agconnect-services.json and information from AppGallery Connect be conducted.

zh

Token 和 Product Id 不匹配,建议检查 agconnect-services.json 是否与平台上申请的信息一致

TOKEN_INVALID

TOKEN_INVALID: = 1203
en

User token invalid.

zh

Token 无效

TOKEN_UPDATED

TOKEN_UPDATED: = 1202
en

User token updated.

zh

用户 Token 更新

UID_PRODUCTID_NOT_MATCH

UID_PRODUCTID_NOT_MATCH: = 203817729
en

The user ID does not match the product ID.

zh

用户 ID 和产品 ID 不匹配

UNLINK_FAIL

UNLINK_FAIL: = 1114
en

unlink failed.

zh

账号取消连接失败

UNLINK_SUCCESS

UNLINK_SUCCESS: = 1014
en

unlink succeed.

zh

账号取消连接成功

UPDATE_ACCOUNT_ERROR

UPDATE_ACCOUNT_ERROR: = 203818084
en

Failed to update the account.

zh

更新帐号失败

UPDATE_EMAIL_FAIL

UPDATE_EMAIL_FAIL: = 1109
en

Update email failed.

zh

更新用户邮箱失败

UPDATE_EMAIL_SUCCESS

UPDATE_EMAIL_SUCCESS: = 1009
en

Update email succeed.

zh

更新用户邮箱成功

UPDATE_PASSWORD_ERROR

UPDATE_PASSWORD_ERROR: = 203818066
en

Failed to update the password.

zh

更新密码失败

UPDATE_PASSWORD_FAIL

UPDATE_PASSWORD_FAIL: = 1110
en

Update password failed.

zh

更新用户密码失败

UPDATE_PASSWORD_SUCCESS

UPDATE_PASSWORD_SUCCESS: = 1010
en

Update password succeed.

zh

更新用户密码成功

UPDATE_PHONE_FAIL

UPDATE_PHONE_FAIL: = 1111
en

Update phone failed.

zh

更新手机号失败

UPDATE_PHONE_SUCCESS

UPDATE_PHONE_SUCCESS: = 1011
en

Update phone succeed.

zh

更新手机号成功

UPDATE_PROFILE_FAIL

UPDATE_PROFILE_FAIL: = 1108
en

Update profile failed.

zh

更新用户信息失败

UPDATE_PROFILE_SUCCESS

UPDATE_PROFILE_SUCCESS: = 1008
en

Update profile succeed.

zh

更新用户信息成功

USER_HAVE_BEEN_REGISTERED

USER_HAVE_BEEN_REGISTERED: = 203818130
en

The user already exists.

zh

用户已经被注册

USER_LINKED

USER_LINKED: = 3
en

The user has been associated with the authentication mode.

zh

用户已经关联此 Provider 登录方式。

USER_NOT_LOGIN

USER_NOT_LOGIN: = 1113
en

User not login.

zh

用户未登录

USER_NOT_REGISTERED

USER_NOT_REGISTERED: = 203818087
en

The user has not been registered.

zh

用户没有注册

USER_UNLINKED

USER_UNLINKED: = 4
en

The user has not been associated with the authentication mode.

zh

用户尚未关联此 Provider 登录方式。

VERIFY_CODE_ACTION_ERROR

VERIFY_CODE_ACTION_ERROR: = 203818052
en

The verification code type is empty.

zh

验证码类型为空

VERIFY_CODE_AND_PASSWORD_BOTH_NULL

VERIFY_CODE_AND_PASSWORD_BOTH_NULL: = 203818135
en

The verification code or password cannot be empty.

zh

验证码和密码都为空

VERIFY_CODE_EMPTY

VERIFY_CODE_EMPTY: = 203818049
en

The verification code is empty.

zh

验证码为空

VERIFY_CODE_ERROR

VERIFY_CODE_ERROR: = 203818129
en

Incorrect verification code.

zh

验证码错误

VERIFY_CODE_FORMAT_ERROR

VERIFY_CODE_FORMAT_ERROR: = 203818134
en

Incorrect verification code format.

zh

验证码格式错误

VERIFY_CODE_INTERVAL_LIMIT

VERIFY_CODE_INTERVAL_LIMIT: = 203818048
en

Sending verification codes too frequently.

zh

在发送间隔内发送验证码

VERIFY_CODE_LANGUAGE_EMPTY

VERIFY_CODE_LANGUAGE_EMPTY: = 203818050
en

The language for sending a verification code is empty.

zh

验证码发送语言为空

VERIFY_CODE_RECEIVER_EMPTY

VERIFY_CODE_RECEIVER_EMPTY: = 203818051
en

The verification code receiver is empty.

zh

验证码接收器为空

VERIFY_CODE_TIME_LIMIT

VERIFY_CODE_TIME_LIMIT: = 203818053
en

The number of times for sending verification codes exceeds the upper limit.

zh

验证码发送次数超过限制

Generated using TypeDoc