C# Class Foundation.Server.Infrastructure.AppSession

Application Session. Saved as an encrypted header cookie.
Mostrar archivo Open project: NVentimiglia/Unity3d-Foundation

Protected Properties

Property Type Description
IsSignedOut bool

Public Methods

Method Description
AppSession ( ) : System
AppSession ( UserAccount user ) : System
SignOut ( ) : void

Sign out

UpdateFrom ( UserAccount user ) : void

Updates session from DB object

Protected Methods

Method Description
OnDelete ( ) : void

TODO Clean Custom Session fields here

OnUpdate ( UserAccount user ) : void

TODO Update Custom Session fields here

Method Details

AppSession() public method

public AppSession ( ) : System
return System

AppSession() public method

public AppSession ( UserAccount user ) : System
user UserAccount
return System

OnDelete() protected method

TODO Clean Custom Session fields here
protected OnDelete ( ) : void
return void

OnUpdate() protected method

TODO Update Custom Session fields here
protected OnUpdate ( UserAccount user ) : void
user UserAccount
return void

SignOut() public method

Sign out
public SignOut ( ) : void
return void

UpdateFrom() public method

Updates session from DB object
public UpdateFrom ( UserAccount user ) : void
user UserAccount
return void

Property Details

IsSignedOut protected_oe property

protected bool IsSignedOut
return bool