C# Class Rainy.DbAuthenticator

Authenticates a user against a database. User objects in the database always employ hashed passwords.
Inheritance: IAuthenticator
Show file Open project: Dynalon/Rainy Class Usage Examples

Public Methods

Method Description
DbAuthenticator ( IDbConnectionFactory factory ) : System
VerifyCredentials ( string username, string password ) : bool

Method Details

DbAuthenticator() public method

public DbAuthenticator ( IDbConnectionFactory factory ) : System
factory IDbConnectionFactory
return System

VerifyCredentials() public method

public VerifyCredentials ( string username, string password ) : bool
username string
password string
return bool