NIMSDKAuthType Constants Reference

Declared in NIMLoginManagerProtocol.h

NIMSDKAuthType

SDK authentication 0: the original authentication method using loginToken. 1: the token-based authentication using appSecret. 2: the token-based authentication using third-party callbacks. The default value is 0.

Definition

typedef NS_ENUM(NSInteger, NIMSDKAuthType ) {
   NIMSDKAuthTypeDefault = 0,
   NIMSDKAuthTypeDynamicToken = 1,
   NIMSDKAuthTypeThirdParty = 2,
};

Constants

NIMSDKAuthTypeDefault

SDK authentication 0: the original authentication method using loginToken. 1: the token-based authentication using appSecret. 2: the token-based authentication using third-party callbacks. The default value is 0.

Declared In NIMLoginManagerProtocol.h.

NIMSDKAuthTypeDynamicToken

SDK authentication 0: the original authentication method using loginToken. 1: the token-based authentication using appSecret. 2: the token-based authentication using third-party callbacks. The default value is 0.

Declared In NIMLoginManagerProtocol.h.

NIMSDKAuthTypeThirdParty

SDK authentication 0: the original authentication method using loginToken. 1: the token-based authentication using appSecret. 2: the token-based authentication using third-party callbacks. The default value is 0.

Declared In NIMLoginManagerProtocol.h.

Declared In

NIMLoginManagerProtocol.h