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
SASLAuthenticationError.genericAuthenticationFailureAuthentication failed, and the underlying mechanism declined to provide a more specific error message.SASLAuthenticationError.initialRequestAlreadySentA 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.”SASLAuthenticationError.initialRequestNotSentA 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.SASLAuthenticationError.resultAlreadyDeliveredThisSASLAuthenticationManagerhas already delivered a success or failure result (which may include a fatal state management error). It can not be reused.SASLAuthenticationError.serverRoleRequiresMessageA 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.EquatableSwift.ErrorSwift.HashableSwift.SendableSwift.SendableMetatype
See Also
Deprecated APIs
PostgresDatabasePostgresDataPostgresDataConvertiblePostgresQueryResultPostgresJSONCodablePostgresJSONBCodablePostgresMessageEncoderPostgresMessageDecoderPostgresRequestProtocol to encapsulate a function call on the Postgres serverPostgresMessageA frontend or backend Postgres message.PostgresMessageTypePostgresFormatCodePostgresListenContextContext for receiving NotificationResponse messages on a connection, used for PostgreSQL’sLISTEN/NOTIFYsupport.PreparedQuerySASLAuthenticationManager