Rust

auth

Module

[Auth]: the client side of a SCRAM-SHA-256 conversation (RFC 5802, RFC 7677), as MongoDB's saslStart / saslContinue commands carry it.

crate::Client authenticates through the official driver, which runs its own SCRAM exchange; this is the conversation as a value, for callers that drive the commands themselves (a proxy, a test double).

Contents

use utopia_mongo::Auth;
Rust
pub struct Auth

One SCRAM-SHA-256 conversation. See the module docs.

use utopia_mongo::Credentials;
Rust
pub struct Credentials

Who authenticates, and against which database.