C# Class mobSocial.Services.Authentication.AuthenticationService

Inheritance: IAuthenticationService
Afficher le fichier Open project: mobsoftware/mobsocial

Méthodes publiques

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

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
Résultat System

ClearAuthenticationTicket() public méthode

public ClearAuthenticationTicket ( ) : void
Résultat void

CreateAuthenticationTicket() public méthode

public CreateAuthenticationTicket ( User user, bool isPersistent = false ) : void
user User
isPersistent bool
Résultat void

GetCurrentUser() public méthode

public GetCurrentUser ( ) : User
Résultat User

SignIn() public méthode

public SignIn ( string email, bool isPersistent = false, bool forceCreateNewAccount = false ) : LoginStatus
email string
isPersistent bool
forceCreateNewAccount bool
Résultat LoginStatus

SignOut() public méthode

public SignOut ( ) : void
Résultat void