Protocol
SASLAuthenticationMechanism
The protocol to which all SASL mechanism implementations must conform. It is the responsibility of each individual implementation to provide an API for creating instances of itself which are able to retrieve information from the caller (such as usernames and passwords) by some mechanism.
protocol SASLAuthenticationMechanism
Topics
Instance Methods
func step(message: [UInt8]?) -> SASLAuthenticationStepResultSingle-step the mechanism. The message may benilin particular when the local side of the negotiation is a client starting its initial authentication request.
Type Properties
static var name: StringThe IANA-registered SASL mechanism name. This may be a family prefix or a specific mechanism name. It is explicitly suitable for use in negotiation via whatever underlying application-specific protocol is in use for the purpose.
See Also
Deprecated APIs
protocol PostgresDatabasestruct PostgresDataprotocol PostgresDataConvertiblestruct PostgresQueryResultprotocol PostgresJSONCodableprotocol PostgresJSONBCodableclass PostgresMessageEncoderclass PostgresMessageDecoderprotocol PostgresRequestProtocol to encapsulate a function call on the Postgres serverstruct PostgresMessageA frontend or backend Postgres message.protocol PostgresMessageTypetypealias PostgresFormatCodeclass PostgresListenContextContext for receiving NotificationResponse messages on a connection, used for PostgreSQL’sLISTEN/NOTIFYsupport.struct PreparedQueryclass SASLAuthenticationManager