pysasl.exception Package

exception pysasl.exception.AuthenticationError[source]

Indicates that authentication failed due to a protocol error unrelated to any provided credentials.

exception pysasl.exception.UnexpectedChallenge[source]

During client-side authentication, the SASL mechanism received an authentication challenge from the server that it did not expect.

Return type:

None

exception pysasl.exception.InvalidResponse[source]

During server-side authentication, the SASL mechanism received an authentication response from the client that was invalid.

Return type:

None

exception pysasl.exception.MechanismUnusable(name)[source]

The mechanism cannot be used to authenticate the given identity. Usually this is due to an unsupported hashing algorithm used in the server-side authentication database.

Parameters:

name (str) – The mechanism name that is unusable.

Return type:

None