C# 클래스 EGSW.Services.Authentication.FormsAuthenticationService

Authentication service
상속: IAuthenticationService
파일 보기 프로젝트 열기: careerengine/EGSW-Project

공개 메소드들

메소드 설명
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

메소드 상세

FormsAuthenticationService() 공개 메소드

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

GetAuthenticatedCustomer() 공개 메소드

public GetAuthenticatedCustomer ( ) : Customer
리턴 EGSW.Data.Customer

GetAuthenticatedCustomerFromTicket() 공개 메소드

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

SignIn() 공개 메소드

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

SignOut() 공개 메소드

public SignOut ( ) : void
리턴 void