C# Class mobSocial.Services.Authentication.AuthenticationService

Inheritance: IAuthenticationService
Show file Open project: mobsoftware/mobsocial

Public Methods

Method Description
AuthenticationService ( IUserService userService, IUserRegistrationService userRegistrationService, SecuritySettings securitySettings, ICryptographyService cryptographyService, System.Web.HttpContextBase contextBase ) : System
ClearAuthenticationTicket ( ) : void
CreateAuthenticationTicket ( User user, bool isPersistent = false ) : void
GetCurrentUser ( ) : User
SignIn ( string email, bool isPersistent = false, bool forceCreateNewAccount = false ) : LoginStatus
SignOut ( ) : void

Method Details

AuthenticationService() public method

public AuthenticationService ( IUserService userService, IUserRegistrationService userRegistrationService, SecuritySettings securitySettings, ICryptographyService cryptographyService, System.Web.HttpContextBase contextBase ) : System
userService IUserService
userRegistrationService IUserRegistrationService
securitySettings mobSocial.Data.Entity.Settings.SecuritySettings
cryptographyService ICryptographyService
contextBase System.Web.HttpContextBase
return System

ClearAuthenticationTicket() public method

public ClearAuthenticationTicket ( ) : void
return void

CreateAuthenticationTicket() public method

public CreateAuthenticationTicket ( User user, bool isPersistent = false ) : void
user User
isPersistent bool
return void

GetCurrentUser() public method

public GetCurrentUser ( ) : User
return User

SignIn() public method

public SignIn ( string email, bool isPersistent = false, bool forceCreateNewAccount = false ) : LoginStatus
email string
isPersistent bool
forceCreateNewAccount bool
return LoginStatus

SignOut() public method

public SignOut ( ) : void
return void