AliAuthPluginWeb class

A web implementation of the AliAuthPlatform of the AliAuth plugin.

Inheritance

Constructors

AliAuthPluginWeb()
Constructs a AliAuthWeb

Properties

aliAuthPluginWebApi ↔ AliAuthPluginWebApi
getter/setter pair
appleLogin → Future?
no setterinherited
checkCellularDataEnable → Future?
no setterinherited
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>
inherited
dispose() → dynamic
inherited
getConnection() → Future<String?>
网络类型检查接口
override
getCurrentCarrierName() → Future<String>
inherited
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>
inherited
initSdk(AliAuthModel? config) → Future
inherited
login({int timeout = 5000}) → Future
inherited
loginListen({bool type = true, required Function onEvent, Function? onError, dynamic isOnlyOne = true}) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange({bool type = true}) → Stream?
inherited
openPage(String? pageRoute) → Future<void>
inherited
pause() → dynamic
inherited
queryCheckBoxIsChecked() → Future<void>
inherited
quitPage() → Future<void>
inherited
resume() → dynamic
inherited
setCheckboxIsChecked() → Future<void>
inherited
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