AuthMethods Property
Controls how the component authenticates itself with the XMPP server.
Object Oriented Interface
public function getAuthMethods(); public function setAuthMethods($value);
Procedural Interface
ipworks_xmpp_get($res, 2 ); ipworks_xmpp_set($res, 2, $value );
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