mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
sasl: Add the -PLUS versions of both SCRAM mechanisms.
This commit is contained in:
parent
92cdaaafcc
commit
83c0e9113c
1 changed files with 2 additions and 0 deletions
|
@ -9,7 +9,9 @@ use helpers::{Base64, TrimmedPlainText};
|
||||||
generate_attribute!(Mechanism, "mechanism", {
|
generate_attribute!(Mechanism, "mechanism", {
|
||||||
Plain => "PLAIN",
|
Plain => "PLAIN",
|
||||||
ScramSha1 => "SCRAM-SHA-1",
|
ScramSha1 => "SCRAM-SHA-1",
|
||||||
|
ScramSha1Plus => "SCRAM-SHA-1-PLUS",
|
||||||
ScramSha256 => "SCRAM-SHA-256",
|
ScramSha256 => "SCRAM-SHA-256",
|
||||||
|
ScramSha256Plus => "SCRAM-SHA-256-PLUS",
|
||||||
Anonymous => "ANONYMOUS",
|
Anonymous => "ANONYMOUS",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue