C# Class ElmcityUtils.Authentication

Afficher le fichier Open project: judell/elmcity

Méthodes publiques

Свойство Type Description
cookie_name CookieName
mode Mode
trusted_field TrustedField
trusted_table TrustedTable

Méthodes publiques

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

public AuthenticatedElmcityIds ( string foreign_id ) : List
foreign_id string
Résultat List

AuthenticatedVia() public méthode

public AuthenticatedVia ( System.Web.HttpRequestBase request ) : string
request System.Web.HttpRequestBase
Résultat string

AuthenticatedVia() public méthode

public AuthenticatedVia ( System.Web.HttpRequestBase request, string elmcity_id ) : string
request System.Web.HttpRequestBase
elmcity_id string
Résultat string

Authentication() public méthode

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

ElmcityIdIsAuthorized() public méthode

public ElmcityIdIsAuthorized ( string id ) : bool
id string
Résultat bool

GetAuthenticatedUserOrNull() public méthode

public GetAuthenticatedUserOrNull ( System.Web.HttpRequestBase request ) : string
request System.Web.HttpRequestBase
Résultat string

IsTrustedId() public méthode

public IsTrustedId ( string foreign_id ) : bool
foreign_id string
Résultat bool

RememberUser() public static méthode

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

Property Details

cookie_name public_oe property

public CookieName cookie_name
Résultat CookieName

mode public_oe property

public Mode mode
Résultat Mode

trusted_field public_oe property

public TrustedField trusted_field
Résultat TrustedField

trusted_table public_oe property

public TrustedTable trusted_table
Résultat TrustedTable