ScramCredential constructor
ScramCredential({})
Implementation
ScramCredential({
this.secret,
this.storedKey,
this.serverKey,
this.salt,
this.iterations,
this.memory,
this.kdf,
this.role,
this.provider,
this.authExtra,
}) : assert(
secret != null || (storedKey != null && storedKey.isNotEmpty),
'Provide either secret or storedKey for SCRAM credentials.',
);