C# Class Tigwi.Auth.PasswordAuth

Authenticate an user using a username and a password
Afficher le fichier Open project: ismaelbelghiti/Tigwi Class Usage Examples

Méthodes publiques

Méthode Description
Authenticate ( ) : System.Guid
HashPassword ( string password ) : byte[]
PasswordAuth ( IStorage storage, string username, string password ) : System

Method Details

Authenticate() public méthode

public Authenticate ( ) : System.Guid
Résultat System.Guid

HashPassword() public static méthode

public static HashPassword ( string password ) : byte[]
password string
Résultat byte[]

PasswordAuth() public méthode

public PasswordAuth ( IStorage storage, string username, string password ) : System
storage IStorage
username string
password string
Résultat System