Enumeration
SASLAuthenticationStepResult
Signifies an action to be taken as the result of a single step of a SASL mechanism.
enum SASLAuthenticationStepResult
Topics
Enumeration Cases
SASLAuthenticationStepResult.continue(response:)More steps are needed. Assume neither success nor failure. If data is provided, send it. A value ofnilsignifies sending no response at all, whereas a value of[]signifies sending an empty response, which may not be the same action depending on the underlying protocolSASLAuthenticationStepResult.fail(response:error:)Signal authentication failure. If data is provided, send it. A value ofnilsignifies sending no response at all, whereas a value of[]signifies sending an empty response, which may not be the same action depending on the underlying protocol. The provided error, if any, is surfaced. If none is provided, a generic failure is surfaced instead.SASLAuthenticationStepResult.succeed(response:)Signal authentication success. If data is provided, send it. A value ofnilsignifies sending no response at all, whereas a value of[]signifies sending an empty response, which may not be the same action depending on the underlying protocol.
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