Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication typestates, including the recursive SASL sub-session.

Enums§

Auth
The backend’s initial authentication choice.
AuthCompletion
Completion or failure after a credential mechanism finishes.
AuthEvent
A startup message that advances or terminates authentication.
AuthOffer
External choice offered by the backend during authentication.
AwaitingAuthOk
The selected mechanism has completed and AuthenticationOk is required.
AwaitingStartupReady
Authentication succeeded and startup messages are being consumed until ready.
PasswordResponse
A cleartext or MD5 password response is required.
Ready
Authentication and startup have completed and commands may be issued.
Sasl
The backend must provide the next SASL continuation or final message.
SaslChallenge
A client response to a SASL challenge is required.
SaslEvent
An external choice received during a SASL exchange.
SaslFinal
The received SASL final message must be verified by authentication policy.
SaslInitial
A SASL mechanism and optional initial response must be selected.
TokenAuthEvent
An external choice during GSS, SSPI, or Kerberos token exchange.
TokenChallenge
The backend must continue or complete token-based authentication.
TokenResponse
A client token for GSS, SSPI, or Kerberos authentication is required.

Traits§

TlsServerEndPoint
TLS transports expose the RFC 5929 tls-server-end-point binding.