C# Class Core.Framework.Permissions.Authentication.FormsAuthenticationHelper

Inheritance: IAuthenticationHelper
显示文件 Open project: coreframework/Core-Framework

Public Methods

Method Description
LoginUser ( ICorePrincipal account, bool remember ) : void

Authenticates the user.

LogoutUser ( ) : void

Logs out the current user.

Method Details

LoginUser() public method

Authenticates the user.
public LoginUser ( ICorePrincipal account, bool remember ) : void
account ICorePrincipal The account.
remember bool true to create a persistent cookie (one that is saved across browser sessions); otherwise, false.
return void

LogoutUser() public method

Logs out the current user.
public LogoutUser ( ) : void
return void