C# Class Core.Web.Helpers.UserSessionHelper

Authentication process helper methods.
显示文件 Open project: coreframework/Core-Framework

Public Methods

Method Description
Validate ( LoginViewModel login, ModelStateDictionary modelState ) : User

Validates the specified login details.

Method Details

Validate() public static method

Validates the specified login details.
public static Validate ( LoginViewModel login, ModelStateDictionary modelState ) : User
login Core.Web.Models.LoginViewModel The login details.
modelState ModelStateDictionary State of the model.
return Core.Web.NHibernate.Models.User