AliAuthPluginWebApi class

Constructors

AliAuthPluginWebApi()

Properties

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 ststus), dynamic error(dynamic ststus)) Future<void>
调用之前先去用户服务端获取accessToken和jwtToken
getConnection() Future<String?>
网络类型检查接口
getVerifyToken(dynamic success(dynamic ststus), dynamic error(dynamic ststus)) Future<void>
身份鉴权成功后才可调用获取Token接口
getVersion() Future<String?>
获取版本号
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLoggerEnable(bool isEnable) Future<void>
设置SDK是否开启日志。开启后会在控制台打印更多内容便于排查问题。
toString() String
A string representation of this object.
inherited

Operators

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