Skip to content

Enumeration

SASLAuthenticationError

Various errors that can occur during SASL negotiation that are not specific to the particular SASL mechanism in use.
enum SASLAuthenticationError

Topics

Enumeration Cases

  • case genericAuthenticationFailure
    Authentication failed, and the underlying mechanism declined to provide a more specific error message.
  • case initialRequestAlreadySent
    A client may only receive a nonexistent message once during the initial state. This is a proxy for the API not being good at expressing a “must do this first and only once.”
  • case initialRequestNotSent
    A client must receive a nonexistent message exactly once before doing anything else. This is ALSO a proxy for the API just being bad at expressing the requirement.
  • case resultAlreadyDelivered
    This SASLAuthenticationManager has already delivered a success or failure result (which may include a fatal state management error). It can not be reused.
  • case serverRoleRequiresMessage
    A server can not handle a nonexistent message. Only an initial-state client can do that, and even then it’s really just a proxy for the API having difficulty expressing “this must be done once and then never again” clearly.

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Error
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Deprecated APIs