AliAuthPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AliAuthPlatform
Implementers

Constructors

AliAuthPlatform()
Constructs a AliAuthPlatform.

Properties

appleLogin → Future?
no setter
checkCellularDataEnable → Future?
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkAuthAvailable(String accessToken, String jwtToken, dynamic success(dynamic), dynamic error(dynamic)) → Future<void>
提交 Web 鉴权;accessToken 和 jwtToken 来自宿主服务端,不在此处保存。
checkEnvAvailable() → Future<void>
dispose() → void
getConnection() → Future<String?>
返回平台网络类型;未覆写时抛出上游 UnimplementedError,不创建资源。
getCurrentCarrierName() → Future<String>
getPlatformVersion() → Future<String?>
getSdkVersion() → Future<String?>
getVerifyToken(dynamic success(dynamic), dynamic error(dynamic)) → Future<void>
提交 Web 校验取号;success、error 接收平台原始结果,由宿主管理业务处理。
hideLoading() → Future<void>
initSdk(AliAuthModel? config) → Future
login({int timeout = 5000}) → Future
loginListen({bool type = true, required Function onEvent, Function? onError, dynamic isOnlyOne = true}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange({bool type = true}) → Stream?
openPage(String? pageRoute) → Future<void>
pause() → void
queryCheckBoxIsChecked() → Future<void>
quitPage() → Future<void>
resume() → void
setCheckboxIsChecked() → Future<void>
setLoggerEnable(bool isEnable) → Future<void>
将 isEnable 交给具体平台设置 SDK 日志;默认实现抛出 UnimplementedError。
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ AliAuthPlatform
The default instance of AliAuthPlatform to use.
getter/setter pair