C# Class LearnLanguages.Business.Security.UserPrincipal

Inheritance: Csla.Security.CslaPrincipal
Datei anzeigen Open project: ibgib/LearnLanguages

Public Methods

Method Description
Load ( string username ) : void
Login ( string username, string clearUnsaltedPassword ) : void
LoginAsync ( string username, string clearUnsaltedPassword ) : Task
Logout ( ) : void
UserPrincipal ( ) : System

UserPrincipal must have a default constructor for the data portal to serialize it with every data portal call.

Private Methods

Method Description
UserPrincipal ( UserIdentity identity ) : System

Method Details

Load() public static method

public static Load ( string username ) : void
username string
return void

Login() public static method

public static Login ( string username, string clearUnsaltedPassword ) : void
username string
clearUnsaltedPassword string
return void

LoginAsync() public static method

public static LoginAsync ( string username, string clearUnsaltedPassword ) : Task
username string
clearUnsaltedPassword string
return Task

Logout() public static method

public static Logout ( ) : void
return void

UserPrincipal() public method

UserPrincipal must have a default constructor for the data portal to serialize it with every data portal call.
public UserPrincipal ( ) : System
return System