C# Class Electro.AuthController

Mostrar archivo Open project: HackerDom/ructfe-2015 Class Usage Examples

Public Methods

Method Description
AddUser ( string login, string pass, string publicMessage, string privateNotes ) : User
AuthController ( IEnumerable users, StatePersister statePersister ) : System
FindUser ( string login, string pass ) : User
FindUserAuthorized ( string login ) : User

Private Methods

Method Description
AddUser ( User user ) : User
LoadState ( IEnumerable users ) : void

Method Details

AddUser() public method

public AddUser ( string login, string pass, string publicMessage, string privateNotes ) : User
login string
pass string
publicMessage string
privateNotes string
return Electro.Model.User

AuthController() public method

public AuthController ( IEnumerable users, StatePersister statePersister ) : System
users IEnumerable
statePersister StatePersister
return System

FindUser() public method

public FindUser ( string login, string pass ) : User
login string
pass string
return Electro.Model.User

FindUserAuthorized() public method

public FindUserAuthorized ( string login ) : User
login string
return Electro.Model.User