C# Class Core.Framework.Permissions.Helpers.UserSessionHelper

Authentication process helper methods.
Exibir arquivo Open project: coreframework/Core-Framework

Public Methods

Method Description
Validate ( String usernameOrEmail, String password, ModelStateDictionary modelState ) : BaseUser

Validates the specified login details.

Method Details

Validate() public static method

Validates the specified login details.
public static Validate ( String usernameOrEmail, String password, ModelStateDictionary modelState ) : BaseUser
usernameOrEmail String The username or email.
password String The password.
modelState ModelStateDictionary State of the model.
return Core.Framework.Permissions.Models.BaseUser