mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
8bdd19b0ff
The SCRAM RFC describes extensions that can be used to add extra data into the protocol. This commit adds support for the client scram mechanism to insert extension data into the client messages at the locations specified by the SCRAM RFC. Kafka utilizes these extensions when authenticating delegation tokens over scram. Since I am writing a kafka client I would like access to these extensions so I can support delegation tokens. I've only added them to Scram::new not Mechanism::from_credentials since they do not apply to other mechanisms. For my purposes this is fine since I only need to work with scram. However it would be limiting for other use cases, so I'm quite happy to add the extension fields into Credentials if that was desired. For now I've left it out since the fields would be scram exclusive and everything else in Credentials is currently generic. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
LICENSE | ||
README.md |
sasl-rs
What's this?
A crate which handles SASL authentication. Still unstable until 1.0.0.
Can I see an example?
Look at the documentation here.
What license is it under?
MPL-2.0. See LICENSE
.
License yadda yadda.
Copyright 2017, sasl-rs contributors.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.