C# Class Tigwi.Auth.PasswordAuth

Authenticate an user using a username and a password
Datei anzeigen Open project: ismaelbelghiti/Tigwi Class Usage Examples

Public Methods

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

Method Details

Authenticate() public method

public Authenticate ( ) : System.Guid
return System.Guid

HashPassword() public static method

public static HashPassword ( string password ) : byte[]
password string
return byte[]

PasswordAuth() public method

public PasswordAuth ( IStorage storage, string username, string password ) : System
storage IStorage
username string
password string
return System