Struct postgres_protocol::authentication::sasl::ChannelBinding
source · pub struct ChannelBinding(_);
Expand description
The channel binding configuration for a SCRAM authentication exchange.
Implementations§
source§impl ChannelBinding
impl ChannelBinding
sourcepub fn unrequested() -> ChannelBinding
pub fn unrequested() -> ChannelBinding
The server did not request channel binding.
sourcepub fn unsupported() -> ChannelBinding
pub fn unsupported() -> ChannelBinding
The server requested channel binding but the client is unable to provide it.
sourcepub fn tls_server_end_point(signature: Vec<u8>) -> ChannelBinding
pub fn tls_server_end_point(signature: Vec<u8>) -> ChannelBinding
The server requested channel binding and the client will use the tls-server-end-point
method.