C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AddUser() публичный Метод

Adds the specified user to the credentials database.
public AddUser ( string username ) : void
username string
Результат void

Exists() публичный Метод

Gets if the user exists in the database
public Exists ( IIdentity identity ) : bool
identity IIdentity the identity to check
Результат bool

Lookup() публичный Метод

Looks up the username from the database.
public Lookup ( string username ) : CertificateUserCredential
username string
Результат CertificateUserCredential