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.
Afficher le fichier Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Exists() public méthode

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

Lookup() public méthode

Looks up the username from the database.
public Lookup ( string username ) : CertificateUserCredential
username string
Résultat CertificateUserCredential