AuthMethods Property

Controls how the class authenticates itself with the XMPP server.

Syntax

ANSI (Cross Platform)
char* GetAuthMethods();
int SetAuthMethods(const char* lpszAuthMethods); Unicode (Windows) LPWSTR GetAuthMethods();
INT SetAuthMethods(LPCWSTR lpszAuthMethods);
@property (nonatomic,readwrite,assign,getter=authMethods,setter=setAuthMethods:) NSString* authMethods;
- (NSString*)authMethods;
- (void)setAuthMethods:(NSString*)newAuthMethods;
#define PID_XMPP_AUTHMETHODS 2

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

"*"

Remarks

AuthMethods is a comma-separated list of authentication methods to be enabled on the class, listed in order of preference. When authenticating, the class will pick the first method in the list that is supported by the server.

The special value * (default) may be supplied to cause the class to enable all supported authentication methods in order of presumed security. The XMPP class currently supports the following values for AuthMethods, listed in order of most secure to least secure:

  • SASL/DIGEST-MD5
  • AuthIQ/Digest
  • SASL/PLAIN
  • AuthIQ/Plaintext
  • SASL/NTLM

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8155]