SrpUserCredentialsAddUser(String, Byte, Byte, Int32, SrpStrength) Method

Adds the specified user to the credential database.

Definition

Namespace: SnapDB.Security.Authentication
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void AddUser(
	string username,
	byte[] verifier,
	byte[] passwordSalt,
	int iterations,
	SrpStrength strength
)

Parameters

username  String
The username of the new user.
verifier  Byte
The SRP verifier value associated with the user.
passwordSalt  Byte
The salt value used for password hashing.
iterations  Int32
The number of iterations used for password hashing.
strength  SrpStrength
The strength of the SRP protocol.

See Also