C# Class GSF.Security.Authentication.CertificateUserCredentials

Provides simple password based authentication that uses Secure Remote Password.
It is safe to store the user's credential on the server. This is a zero knowledge password proof, meaning if this database is compromised, a brute force attack is the only way to reveal the password.
Mostrar archivo Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
AddUser ( string username ) : void

Adds the specified user to the credentials database.

Exists ( IIdentity identity ) : bool

Gets if the user exists in the database

Lookup ( string username ) : CertificateUserCredential

Looks up the username from the database.

Method Details

AddUser() public method

Adds the specified user to the credentials database.
public AddUser ( string username ) : void
username string
return void

Exists() public method

Gets if the user exists in the database
public Exists ( IIdentity identity ) : bool
identity IIdentity the identity to check
return bool

Lookup() public method

Looks up the username from the database.
public Lookup ( string username ) : CertificateUserCredential
username string
return CertificateUserCredential