ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAuthFactory Class Reference

Authentication frontend factory. More...

+ Collaboration diagram for ilAuthFactory:

Static Public Member Functions

static getContext ()
 
static setContext ($a_context)
 set context More...
 

Data Fields

const CONTEXT_WEB = 1
 
const CONTEXT_HTTP = 2
 
const CONTEXT_SOAP = 3
 
const CONTEXT_CAS = 5
 
const CONTEXT_CALENDAR = 6
 
const CONTEXT_CALENDAR_TOKEN = 7
 
const CONTEXT_ECS = 8
 
const CONTEXT_APACHE = 10
 

Static Private Attributes

static $context = self::CONTEXT_WEB
 

Detailed Description

Authentication frontend factory.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 14 of file class.ilAuthFactory.php.

Member Function Documentation

◆ getContext()

static ilAuthFactory::getContext ( )
static
Returns
int current context

Definition at line 80 of file class.ilAuthFactory.php.

References $context.

Referenced by ilAuthFrontend\handleAuthenticationSuccess(), ilInitialisation\includePhp5Compliance(), pr(), ilInitialisation\setCookieConstants(), and vd().

81  {
82  return self::$context;
83  }
$context
Definition: webdav.php:26
+ Here is the caller graph for this function:

◆ setContext()

static ilAuthFactory::setContext (   $a_context)
static

set context

Parameters
int$a_context
Returns

Definition at line 90 of file class.ilAuthFactory.php.

References $context.

Referenced by ilSoapAdministration\__initAuthenticationObject(), and ilCalendarRemoteAccessHandler\initIlias().

91  {
92  self::$context = $a_context;
93  }
$context
Definition: webdav.php:26
+ Here is the caller graph for this function:

Field Documentation

◆ $context

ilAuthFactory::$context = self::CONTEXT_WEB
staticprivate

Definition at line 74 of file class.ilAuthFactory.php.

◆ CONTEXT_APACHE

const ilAuthFactory::CONTEXT_APACHE = 10

Definition at line 69 of file class.ilAuthFactory.php.

◆ CONTEXT_CALENDAR

const ilAuthFactory::CONTEXT_CALENDAR = 6

Definition at line 47 of file class.ilAuthFactory.php.

◆ CONTEXT_CALENDAR_TOKEN

const ilAuthFactory::CONTEXT_CALENDAR_TOKEN = 7

Definition at line 54 of file class.ilAuthFactory.php.

Referenced by ilCalendarRemoteAccessHandler\initIlias().

◆ CONTEXT_CAS

const ilAuthFactory::CONTEXT_CAS = 5

Definition at line 41 of file class.ilAuthFactory.php.

Referenced by ilInitialisation\includePhp5Compliance().

◆ CONTEXT_ECS

const ilAuthFactory::CONTEXT_ECS = 8

Definition at line 61 of file class.ilAuthFactory.php.

Referenced by ilAuthFrontend\handleAuthenticationSuccess().

◆ CONTEXT_HTTP

const ilAuthFactory::CONTEXT_HTTP = 2

Definition at line 29 of file class.ilAuthFactory.php.

Referenced by ilInitialisation\setCookieConstants().

◆ CONTEXT_SOAP

const ilAuthFactory::CONTEXT_SOAP = 3

◆ CONTEXT_WEB

const ilAuthFactory::CONTEXT_WEB = 1

Definition at line 20 of file class.ilAuthFactory.php.


The documentation for this class was generated from the following file: