sasl: add ScramSha256 mechanism

This commit is contained in:
Astro 2018-08-02 18:16:10 +02:00
parent a1530c531b
commit caa5d90a9a

View file

@ -9,6 +9,7 @@ use helpers::Base64;
generate_attribute!(Mechanism, "mechanism", { generate_attribute!(Mechanism, "mechanism", {
Plain => "PLAIN", Plain => "PLAIN",
ScramSha1 => "SCRAM-SHA-1", ScramSha1 => "SCRAM-SHA-1",
ScramSha256 => "SCRAM-SHA-256",
Anonymous => "ANONYMOUS", Anonymous => "ANONYMOUS",
}); });