WasuUrsAuth class

Constructors

WasuUrsAuth()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

bindStbId(String stbId, String phone, String opt, {String token, String clientId, String clientSecret, ResultListener resultListener}) → void
callAuthLogin(String qrcodeId, String accessToken, {ResultListener resultListener}) → void
手机授权登录
callPhoneQuickLogin(dynamic token, {ResultListener resultListener}) → void
callPwdLogin(String userName, String password, {ResultListener resultListener}) → void
callSMSCodeLogin(dynamic phone, dynamic smsCode, {ResultListener resultListener}) → void
checkQrcodeStatus(String qrcodeId, {ResultListener resultListener}) → void
检查二维码状态
getQrCode(String stbId, int tos, {ResultListener resultListener}) → void
getUserByUid(String token, String uid, {ResultListener resultListener}) → void
init(String clientId, String clientSecret, String packageName) WasuUrsAuth
isInit({ResultListener resultListener}) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
refreshToken(String refreshToken, {ResultListener resultListener}) → void
register(UserInfo userInfo, {ResultListener resultListener}) → void
scanOpt(String qrcodeId, String accessToken, {ResultListener resultListener}) → void
手机扫码
sendLoginSMSCode(dynamic phone, {ResultListener resultListener}) → void
sendSMSCode(String phone, {ResultListener resultListener}) → void
setLoggerEnable(bool enable, {String tag}) WasuUrsAuth
toString() String
A string representation of this object. [...]
inherited
updateUser(String token, UserInfo userInfo, {ResultListener resultListener}) → void

Operators

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

Static Properties

wasuUrsAuth WasuUrsAuth
read / write

Static Methods

getInstance() WasuUrsAuth

Constants

STB_OPT_BIND → const String
"bind"
STB_OPT_QUERY → const String
"query"
STB_OPT_UNBIND → const String
"unbind"
TOS_TYPE_BIND_STB → const int
2
TOS_TYPE_LOGIN → const int
1