C# Class ElmcityUtils.Authentication

Datei anzeigen Open project: judell/elmcity

Public Properties

Property Type Description
cookie_name CookieName
mode Mode
trusted_field TrustedField
trusted_table TrustedTable

Public Methods

Method Description
AuthenticatedElmcityIds ( string foreign_id ) : List
AuthenticatedVia ( System.Web.HttpRequestBase request ) : string
AuthenticatedVia ( System.Web.HttpRequestBase request, string elmcity_id ) : string
Authentication ( ElmcityUtils mode, ElmcityUtils trusted_table, ElmcityUtils trusted_field, ElmcityUtils cookie_name ) : System
ElmcityIdIsAuthorized ( string id ) : bool
GetAuthenticatedUserOrNull ( System.Web.HttpRequestBase request ) : string
IsTrustedId ( string foreign_id ) : bool
RememberUser ( string host_addr, string host_name, string session_id, string mode, string target_field, string target_value ) : void

Method Details

AuthenticatedElmcityIds() public method

public AuthenticatedElmcityIds ( string foreign_id ) : List
foreign_id string
return List

AuthenticatedVia() public method

public AuthenticatedVia ( System.Web.HttpRequestBase request ) : string
request System.Web.HttpRequestBase
return string

AuthenticatedVia() public method

public AuthenticatedVia ( System.Web.HttpRequestBase request, string elmcity_id ) : string
request System.Web.HttpRequestBase
elmcity_id string
return string

Authentication() public method

public Authentication ( ElmcityUtils mode, ElmcityUtils trusted_table, ElmcityUtils trusted_field, ElmcityUtils cookie_name ) : System
mode ElmcityUtils
trusted_table ElmcityUtils
trusted_field ElmcityUtils
cookie_name ElmcityUtils
return System

ElmcityIdIsAuthorized() public method

public ElmcityIdIsAuthorized ( string id ) : bool
id string
return bool

GetAuthenticatedUserOrNull() public method

public GetAuthenticatedUserOrNull ( System.Web.HttpRequestBase request ) : string
request System.Web.HttpRequestBase
return string

IsTrustedId() public method

public IsTrustedId ( string foreign_id ) : bool
foreign_id string
return bool

RememberUser() public static method

public static RememberUser ( string host_addr, string host_name, string session_id, string mode, string target_field, string target_value ) : void
host_addr string
host_name string
session_id string
mode string
target_field string
target_value string
return void

Property Details

cookie_name public_oe property

public CookieName cookie_name
return CookieName

mode public_oe property

public Mode mode
return Mode

trusted_field public_oe property

public TrustedField trusted_field
return TrustedField

trusted_table public_oe property

public TrustedTable trusted_table
return TrustedTable