Authing class
Methods
-
bindEmail(String email, String code)
→ Future<Result<Account>>
-
override
-
bindPhone(String phone, String otp)
→ Future<Result<Account>>
-
override
-
claimPhoneOtp(String phone, [String? countryCode])
→ Future<Result<void>>
-
override
-
claimUpdateEmailCode(String email)
→ Future<Result<void>>
-
override
-
createOidcAuthSession()
→ OidcAuthSession
-
override
-
init()
→ Future
-
override
-
loginByPassword(String account, String password)
→ Future<Result<AuthInfo>>
-
override
-
loginByPhoneOtp(String phone, String otp)
→ Future<Result<AuthInfo>>
-
override
-
logout()
→ Future<Result<void>>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
registerByEmail(String email, String password)
→ Future<Result<AuthInfo>>
-
override
-
registerByPhoneWithOtp(String phone, String password, String otp)
→ Future<Result<AuthInfo>>
-
override
-
registerByUsername(String username, String password)
→ Future<Result<AuthInfo>>
-
override
-
renewToken(String refreshToken)
→ Future<Result<AuthInfo>>
-
override
-
resetPassword(String newPassword, [String? oldPassword])
→ Future<Result<void>>
-
override
-
resetPasswordByPhoneOtp(String phone, String otp, String newPassword)
→ Future<Result<void>>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
unbindEmail()
→ Future<Result<Account>>
-
override
-
unbindPhone()
→ Future<Result<Account>>
-
override
-
updateBrief(String brief)
→ Future<Result<Account>>
-
override
-
updateEmail(String email, String code, String oldEmail, String oldEmailCode)
→ Future<Result<Account>>
-
override
-
updatePhone(String phone, String otp, String oldPhone, String oldPhoneOtp)
→ Future<Result<Account>>
-
override
-
updateProfile(Account profile)
→ Future<Result<Account>>
-
override
-
updateUsername(String username)
→ Future<Result<Account>>
-
override
-
uploadAvatar(String photoFilePath)
→ Future<Result<String>>
-
override