ScramClient Constructor

Initializes a new instance of the SCRAM (Salted Challenge Response Authentication Mechanism) client with the provided username and password.

Definition

Namespace: SnapDB.Security.Authentication
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public ScramClient(
	string username,
	string password
)

Parameters

username  String
The username to be used for authentication.
password  String
The password associated with the username.

Remarks

This constructor initializes a new instance of the SCRAM client with the provided username and password. It converts the username and password to UTF-8 bytes and normalizes them using FormKC normalization.

See Also