C# Class Sitecore.Feature.Accounts.Repositories.AccountRepository

Inheritance: IAccountRepository
Datei anzeigen Open project: Sitecore/Habitat Class Usage Examples

Public Methods

Method Description
AccountRepository ( IAccountTrackerService accountTrackerService ) : System
Exists ( string userName ) : bool
Login ( string userName, string password ) : User
Logout ( ) : void
RegisterUser ( string email, string password, string profileId ) : void
RestorePassword ( string userName ) : string

Method Details

AccountRepository() public method

public AccountRepository ( IAccountTrackerService accountTrackerService ) : System
accountTrackerService IAccountTrackerService
return System

Exists() public method

public Exists ( string userName ) : bool
userName string
return bool

Login() public method

public Login ( string userName, string password ) : User
userName string
password string
return User

Logout() public method

public Logout ( ) : void
return void

RegisterUser() public method

public RegisterUser ( string email, string password, string profileId ) : void
email string
password string
profileId string
return void

RestorePassword() public method

public RestorePassword ( string userName ) : string
userName string
return string