C# Class Electro.AuthController

Afficher le fichier Open project: HackerDom/ructfe-2015 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AddUser ( User user ) : User
LoadState ( IEnumerable users ) : void

Method Details

AddUser() public méthode

public AddUser ( string login, string pass, string publicMessage, string privateNotes ) : User
login string
pass string
publicMessage string
privateNotes string
Résultat Electro.Model.User

AuthController() public méthode

public AuthController ( IEnumerable users, StatePersister statePersister ) : System
users IEnumerable
statePersister StatePersister
Résultat System

FindUser() public méthode

public FindUser ( string login, string pass ) : User
login string
pass string
Résultat Electro.Model.User

FindUserAuthorized() public méthode

public FindUserAuthorized ( string login ) : User
login string
Résultat Electro.Model.User