NIMAutoLoginData Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMLoginClient.h |
account
Account
@property (nonatomic, copy) NSString *account
Discussion
Account
Declared In
NIMLoginClient.h
token
Token associated for login
@property (nonatomic, copy) NSString *token
Discussion
Token associated for login
Declared In
NIMLoginClient.h
forcedMode
Force mode
@property (nonatomic, assign) BOOL forcedMode
Discussion
Force mode
The default value is NO. We recommend you use manual login for the first time and automatic login for later attempts in non-force mode. This approach can prevent loss from bypassing geo-blocking (device lost or account stolen) In non-force mode, the server will check the current login device with the last login record. If the device is not the same, the server will reject the current login. Error code: 417 is returned In force mode, the server will not perform check for the current login device. In this case, the security level is compromised but brings convenience. This mode is suitable if the IM module of an app servers an auxiliary purpose.
Declared In
NIMLoginClient.h