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>
调用之前先去用户服务端获取accessToken和jwtToken
dispose() → dynamic
getConnection() Future<String?>
getCurrentCarrierName() Future<String>
getPlatformVersion() Future<String?>
getSdkVersion() Future<String?>
getVerifyToken(dynamic success(dynamic), dynamic error(dynamic)) Future<void>
身份鉴权成功后才可调用获取Token接口。
initSdk(AliAuthModel? config) Future
login({int timeout = 5000}) Future
loginListen({bool type = true, required Function onEvent, Function? onError, dynamic isOnlyOne = true}) → dynamic
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() → dynamic
quitPage() Future<void>
resume() → dynamic
setLoggerEnable(bool isEnable) Future<void>
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