AliAuthPluginWeb class

A web implementation of the AliAuthPlatform of the AliAuth plugin.

Inheritance

Constructors

AliAuthPluginWeb()

Properties

aliAuthPluginWebApi ↔ AliAuthPluginWebApi
getter/setter pair
appleLogin → Future
no setteroverride
checkCellularDataEnable → Future
no setteroverride
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>
身份鉴权
override
checkEnvAvailable() → Future<void>
override
dispose() → void
override
getConnection() → Future<String?>
网络类型检查接口
override
getCurrentCarrierName() → Future<String>
override
getPlatformVersion() → Future<String?>
Returns a String containing the version of the platform.
override
getSdkVersion() → Future<String?>
获取SDK版本号
override
getVerifyToken(dynamic success(dynamic), dynamic error(dynamic)) → Future<void>
获取本机号码校验Token
override
hideLoading() → Future<void>
override
initSdk(AliAuthModel? config) → Future
override
login({int timeout = 5000}) → Future
override
loginListen({bool type = true, required Function onEvent, Function? onError, dynamic isOnlyOne = true}) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange({bool type = true}) → Stream?
override
openPage(String? pageRoute) → Future<void>
override
pause() → void
override
queryCheckBoxIsChecked() → Future<void>
override
quitPage() → Future<void>
override
resume() → void
override
setCheckboxIsChecked() → Future<void>
override
setLoggerEnable(bool isEnable) → Future<void>
设置SDK是否开启日志
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void