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.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
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