auth_methods Property

Controls how the class authenticates itself with the XMPP server.

Syntax

def get_auth_methods() -> str: ...
def set_auth_methods(value: str) -> None: ...

auth_methods = property(get_auth_methods, set_auth_methods)

Default Value

"*"

Remarks

auth_methods 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 auth_methods, listed in order of most secure to least secure:

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

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