IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

AuthMethods Property

Controls how the class authenticates itself with the XMPP server.


 getAuthMethods(): string;

 setAuthMethods(authMethods: string): void;

Default Value



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:

  • AuthIQ/Digest
  • AuthIQ/Plaintext

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