'SCRAM-SHA-1' or 'SCRAM-SHA-256'.
The authentication identity (SCRAM saslname-escaped internally).
The account password.
Optionalopts: { nonce?: string }
Optional fixed client nonce (for reproducible tests); random otherwise.
The client state machine.
Creates a ScramClient for a mechanism, username, and password.