AuthExceptionCode enum

Inheritance

Constructors

AuthExceptionCode(num value)
const

Values

nullToken → const AuthExceptionCode

The AccessToken is empty. You are advised to log in again.

const AuthExceptionCode(1)
notSignIn → const AuthExceptionCode

Obtaining AccessToken Information When You Have Not Logged In

const AuthExceptionCode(2)
userLinked → const AuthExceptionCode

The user has been associated with the provider.

const AuthExceptionCode(3)
userUnlinked → const AuthExceptionCode

The user is not associated with the provider.

const AuthExceptionCode(4)
alreadySignInUser → const AuthExceptionCode

A user has logged in to the system and has logged in to the system without logout.

const AuthExceptionCode(5)
emailVerificationIsEmpty → const AuthExceptionCode

The email verification code is empty.

const AuthExceptionCode(6)
phoneVerificationIsEmpty → const AuthExceptionCode

The phone verification code is empty.

const AuthExceptionCode(7)
alipayAccountReturnError → const AuthExceptionCode

Alipay Error

const AuthExceptionCode(115)
twitterAccountReturnError → const AuthExceptionCode

Twitter Error

const AuthExceptionCode(116)
invalidEmail → const AuthExceptionCode

The email address is invalid.

const AuthExceptionCode(0x0c260107)
invalidPhone → const AuthExceptionCode

The entered mobile number is invalid.

const AuthExceptionCode(0x0c260108)
getUidError → const AuthExceptionCode

Failed to obtain the user ID.

const AuthExceptionCode(0x0c260300)
uidProductIDNotMatch → const AuthExceptionCode

The user ID does not match the product ID.

const AuthExceptionCode(0x0c260301)
getUserInfoError → const AuthExceptionCode

Failed to obtain user information.

const AuthExceptionCode(0x0c260302)
authMethodNotSupport → const AuthExceptionCode

Currently, the Auth microservice is deployed at four sites. Each site supports different authentication modes.

const AuthExceptionCode(0x0c260304)
productStatusError → const AuthExceptionCode

The authentication service is not enabled for the product.

const AuthExceptionCode(0x0c260310)
passwordVerificationCodeOverLimit → const AuthExceptionCode

The number of password verification codes exceeds the upper limit.

const AuthExceptionCode(0x0c260353)
invalidToken → const AuthExceptionCode

The client token is unavailable.

const AuthExceptionCode(0x0c260400)
invalidAccessToken → const AuthExceptionCode

The access token is unavailable.

const AuthExceptionCode(0x0c260401)
invalidRefreshToken → const AuthExceptionCode

The refresh token is unavailable.

const AuthExceptionCode(0x0c260402)
tokenAndProductIdNotMatch → const AuthExceptionCode

The token does not match the product ID. You are advised to check whether the agconnect-services file is consistent with the information applied for on the platform.

const AuthExceptionCode(0x0c260403)
authMethodIsDisabled → const AuthExceptionCode

Unsupported authentication mode You are advised to check whether the corresponding authentication mode is enabled on the platform, for example, whether Facebook login is enabled.

const AuthExceptionCode(0x0c260404)
failToGetThirdUserInfo → const AuthExceptionCode

Failed to obtain the third-party user information.

const AuthExceptionCode(0x0c260405)
failToGetThirdUserUnionId → const AuthExceptionCode

Failed to obtain the third-party union ID.

const AuthExceptionCode(0x0c260406)
accessTokenOverLimit → const AuthExceptionCode

The number of access tokens exceeds the limit.

const AuthExceptionCode(0x0c260407)

Failed to link the user.

const AuthExceptionCode(0x0c260408)

Failed to unlink the user.

const AuthExceptionCode(0x0c260409)
anonymousSigninOverLimit → const AuthExceptionCode

Anonymous user login exceeds the upper limit.

const AuthExceptionCode(0x0c260423)
invalidAppID → const AuthExceptionCode

The appid is unavailable.

const AuthExceptionCode(0x0c260424)
invalidAppSecret → const AuthExceptionCode

The app secret is unavailable.

const AuthExceptionCode(0x0c260425)
getQQUserInfoError → const AuthExceptionCode

Failed to obtain the QQ third-party user information.

const AuthExceptionCode(0x0c260427)
qqInfoResponseIsNull → const AuthExceptionCode

The returned value of QQInfo is null.

const AuthExceptionCode(0x0c260428)
getQQUidError → const AuthExceptionCode

The returned QQ UID is empty.

const AuthExceptionCode(0x0c260429)
passwordVerifyCodeError → const AuthExceptionCode

Incorrect password or verification code.

const AuthExceptionCode(0x0c260430)
GoogleResponseNotEqualAppID → const AuthExceptionCode

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

const AuthExceptionCode(0x0c260431)
signInUserStatusError → const AuthExceptionCode

The user is suspended by the CP.

const AuthExceptionCode(0x0c260434)
signInUserPasswordError → const AuthExceptionCode

Incorrect user password.

const AuthExceptionCode(0x0c260435)
providerUserHaveBeenLinked → const AuthExceptionCode

The provider has been bound to another user.

const AuthExceptionCode(0x0c260436)
providerHaveLinkedOneUser → const AuthExceptionCode

The provider type has been bound to the account.

const AuthExceptionCode(0x0c260437)
FailGetProviderUser → const AuthExceptionCode

Failed to obtain the provider user.

const AuthExceptionCode(0x0c260438)
CannotUnlinkOneProviderUser → const AuthExceptionCode

The unlink operation cannot be performed on a single provider.

const AuthExceptionCode(0x0c260439)
verifyCodeIntervalLimit → const AuthExceptionCode

Send Verification Codes During Sending Interval

const AuthExceptionCode(0x0c260440)
verifyCodeEmpty → const AuthExceptionCode

The verification code is empty.

const AuthExceptionCode(0x0c260441)
verifyCodeLanguageEmpty → const AuthExceptionCode

The verification code sending language is empty.

const AuthExceptionCode(0x0c260442)
verifyCodeReceiverEmpty → const AuthExceptionCode

The verification code receiver is empty.

const AuthExceptionCode(0x0c260443)
verifyCodeActionError → const AuthExceptionCode

The verification code type is empty.

const AuthExceptionCode(0x0c260444)
verifyCodeTimeLimit → const AuthExceptionCode

The number of times that the verification code is sent exceeds the upper limit. It is recommended to try in an hour

const AuthExceptionCode(0x0c260445)
accountPasswordSame → const AuthExceptionCode

The user name and password are the same.

const AuthExceptionCode(0x0c260450)
passwordStrengthLow → const AuthExceptionCode

password strength too low

const AuthExceptionCode(0x0c260451)
updatePasswordError → const AuthExceptionCode

Failed to update the password.

const AuthExceptionCode(0x0c260452)
passwordSameAsBefore → const AuthExceptionCode

The password is the same as the old password.

const AuthExceptionCode(0x0c260453)
passwordIsEmpty → const AuthExceptionCode

The password is empty.

const AuthExceptionCode(0x0c260454)
passwordTooLong → const AuthExceptionCode

The password is too long.

const AuthExceptionCode(0x0c260457)
sensitiveOperationTimeout → const AuthExceptionCode

The latest login time for sensitive operations times out.

const AuthExceptionCode(0x0c260461)
accountHaveBeenRegistered → const AuthExceptionCode

The account has been registered.

const AuthExceptionCode(0x0c260462)
updateAccountError → const AuthExceptionCode

Failed to update the account.

const AuthExceptionCode(0x0c260464)
userNotRegistered → const AuthExceptionCode

The user is not registered.

const AuthExceptionCode(0x0c260467)
verifyCodeError → const AuthExceptionCode

Incorrect verification code.

const AuthExceptionCode(0x0c260491)
userHaveBeenRegistered → const AuthExceptionCode

The user has been registered.

const AuthExceptionCode(0x0c260492)
registerAccountIsEmpty → const AuthExceptionCode

The registered account is empty.

const AuthExceptionCode(0x0c260494)
verifyCodeFormatError → const AuthExceptionCode

Incorrect verification code format.

const AuthExceptionCode(0x0c260496)
verifyCodeAndPasswordBothNull → const AuthExceptionCode

Both the verification code and password are empty.

const AuthExceptionCode(0x0c260497)
sendEmailFail → const AuthExceptionCode

Failed to send the email.

const AuthExceptionCode(0x0c260500)
sendMessageFail → const AuthExceptionCode

发送短信失败

const AuthExceptionCode(0x0c260501)
configLockTimeError → const AuthExceptionCode

Setting the maximum number of password/verification code attempts or freezing errors frequently occur.

const AuthExceptionCode(0x0c260515)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value num
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AuthExceptionCode>
A constant List of the values in this enum, in order of their declaration.