C# Class ProductDevelopment.Web.Infrastructure.Security.Authentication

Inheritance: IAuthentication
Mostra file Open project: techthrowdown/Rails-vs-.NET

Public Methods

Method Description
Authentication ( IUserRepository userRepository ) : System.Web
CurrentUser ( ) : UserToken
LogonUser ( string username, string password, bool persistLogin ) : bool
LogoutUser ( ) : void

Method Details

Authentication() public method

public Authentication ( IUserRepository userRepository ) : System.Web
userRepository IUserRepository
return System.Web

CurrentUser() public method

public CurrentUser ( ) : UserToken
return ProductDevelopment.Web.Models.UserToken

LogonUser() public method

public LogonUser ( string username, string password, bool persistLogin ) : bool
username string
password string
persistLogin bool
return bool

LogoutUser() public method

public LogoutUser ( ) : void
return void