AuthMethods Property

Controls how the class authenticates itself with the XMPP server.

Object Oriented Interface

public function getAuthMethods();
public function setAuthMethods($value);

Procedural Interface

ipworksiot_xmpp_get($res, 2 );
ipworksiot_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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 PHP Edition - Version 20.0 [Build 8265]