OddsAccountClient class abstract

Implementers

Constructors

OddsAccountClient.authing(String userPoolId, String appId, [String? redirectBackUri = "https://oddshorizon.com/home", String? appHost = "https://oddshorizon.authing.cn"])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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