C# Class EGSW.Services.Authentication.FormsAuthenticationService

Authentication service
Inheritance: IAuthenticationService
Datei anzeigen Open project: careerengine/EGSW-Project

Public Methods

Method Description
FormsAuthenticationService ( System.Web.HttpContextBase httpContext, ICustomerService customerService ) : System

Ctor

GetAuthenticatedCustomer ( ) : Customer
GetAuthenticatedCustomerFromTicket ( System.Web.Security.FormsAuthenticationTicket ticket ) : Customer
SignIn ( Customer customer, bool createPersistentCookie ) : void
SignOut ( ) : void

Method Details

FormsAuthenticationService() public method

Ctor
public FormsAuthenticationService ( System.Web.HttpContextBase httpContext, ICustomerService customerService ) : System
httpContext System.Web.HttpContextBase HTTP context
customerService ICustomerService Customer service
return System

GetAuthenticatedCustomer() public method

public GetAuthenticatedCustomer ( ) : Customer
return EGSW.Data.Customer

GetAuthenticatedCustomerFromTicket() public method

public GetAuthenticatedCustomerFromTicket ( System.Web.Security.FormsAuthenticationTicket ticket ) : Customer
ticket System.Web.Security.FormsAuthenticationTicket
return EGSW.Data.Customer

SignIn() public method

public SignIn ( Customer customer, bool createPersistentCookie ) : void
customer EGSW.Data.Customer
createPersistentCookie bool
return void

SignOut() public method

public SignOut ( ) : void
return void