C# Class EGSW.Services.Authentication.FormsAuthenticationService

Authentication service
Inheritance: IAuthenticationService
Afficher le fichier Open project: careerengine/EGSW-Project

Méthodes publiques

Méthode 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 méthode

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

GetAuthenticatedCustomer() public méthode

public GetAuthenticatedCustomer ( ) : Customer
Résultat EGSW.Data.Customer

GetAuthenticatedCustomerFromTicket() public méthode

public GetAuthenticatedCustomerFromTicket ( System.Web.Security.FormsAuthenticationTicket ticket ) : Customer
ticket System.Web.Security.FormsAuthenticationTicket
Résultat EGSW.Data.Customer

SignIn() public méthode

public SignIn ( Customer customer, bool createPersistentCookie ) : void
customer EGSW.Data.Customer
createPersistentCookie bool
Résultat void

SignOut() public méthode

public SignOut ( ) : void
Résultat void