AuthServicePlatform class abstract

Inheritance

Constructors

AuthServicePlatform()

Properties

authStatus Stream<NIMAuthStatusEvent>
登录状态变更事件。 包含 NIMAuthStatusEventNIMKickOutByOtherClientEvent
no setter
dynamicTokenProvider NIMDynamicTokenProvider?
动态token提供者。当登录模式为NIMAuthType.authTypeDynamic时,需要设置该提供者。
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onlineClients Stream<List<NIMOnlineClient>>
在线客户端列表变更事件 NIMOnlineClient
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
no setterinherited

Methods

handleMethodCall(String method, dynamic arguments) Future
inherited
invokeMethod(String method, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>>
inherited
kickOutOtherOnlineClient(NIMOnlineClient client) Future<NIMResult<void>>
踢掉其他在线端
login(NIMLoginInfo loginInfo) Future<NIMResult<void>>
登录
logout() Future<NIMResult<void>>
登出
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent(String method, dynamic arguments) Future
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AuthServicePlatform
getter/setter pair