Struct sasl::mechanisms::Scram [] [src]

pub struct Scram<S: ScramProvider> { /* fields omitted */ }

A struct for the SASL SCRAM-* and SCRAM-*-PLUS mechanisms.

Methods

impl<S: ScramProvider> Scram<S>
[src]

Constructs a new struct for authenticating using the SASL SCRAM-* and SCRAM-*-PLUS mechanisms, depending on the passed channel binding.

It is recommended that instead you use a Credentials struct and turn it into the requested mechanism using from_credentials.

Trait Implementations

impl<S: ScramProvider> Mechanism for Scram<S>
[src]

The name of the mechanism.

Creates this mechanism from Credentials.

Provides initial payload of the SASL mechanism.

Creates a response to the SASL challenge.

Verifies the server success response, if there is one.