ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilAuthFactory Class Reference
+ Collaboration diagram for ilAuthFactory:

Static Public Member Functions

static getContext ()
 
static setContext (int $a_context)
 

Data Fields

const int CONTEXT_WEB = 1
 Web based authentication. More...
 
const int CONTEXT_HTTP = 2
 HTTP Auth used for WebDAV and CalDAV If a special handling for WebDAV or CalDAV is required overwrite ilAuthHTTP with ilAuthCalDAV and create new constants. More...
 
const int CONTEXT_SOAP = 3
 SOAP based authentication. More...
 
const int CONTEXT_CAS = 5
 
const int CONTEXT_CALENDAR = 6
 Maybe not required. More...
 
const int CONTEXT_CALENDAR_TOKEN = 7
 Calendar authentication with auth token. More...
 
const int CONTEXT_ECS = 8
 Calendar authentication with auth token. More...
 
const int CONTEXT_APACHE = 10
 Apache based authentication. More...
 

Static Private Attributes

static int $context = self::CONTEXT_WEB
 

Detailed Description

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

Member Function Documentation

◆ getContext()

static ilAuthFactory::getContext ( )
static

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

References $context.

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

57  : int
58  {
59  return self::$context;
60  }
$context
Definition: webdav.php:31
+ Here is the caller graph for this function:

◆ setContext()

static ilAuthFactory::setContext ( int  $a_context)
static

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

References $context.

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

62  : void
63  {
64  self::$context = $a_context;
65  }
$context
Definition: webdav.php:31
+ Here is the caller graph for this function:

Field Documentation

◆ $context

int ilAuthFactory::$context = self::CONTEXT_WEB
staticprivate

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

◆ CONTEXT_APACHE

const int ilAuthFactory::CONTEXT_APACHE = 10

Apache based authentication.

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

◆ CONTEXT_CALENDAR

const int ilAuthFactory::CONTEXT_CALENDAR = 6

Maybe not required.

HTTP based authentication for calendar access

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

◆ CONTEXT_CALENDAR_TOKEN

const int ilAuthFactory::CONTEXT_CALENDAR_TOKEN = 7

Calendar authentication with auth token.

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

Referenced by ilCalendarRemoteAccessHandler\initIlias().

◆ CONTEXT_CAS

const int ilAuthFactory::CONTEXT_CAS = 5

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

◆ CONTEXT_ECS

const int ilAuthFactory::CONTEXT_ECS = 8

Calendar authentication with auth token.

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

Referenced by ilAuthFrontend\handleAuthenticationSuccess().

◆ CONTEXT_HTTP

const int ilAuthFactory::CONTEXT_HTTP = 2

HTTP Auth used for WebDAV and CalDAV If a special handling for WebDAV or CalDAV is required overwrite ilAuthHTTP with ilAuthCalDAV and create new constants.

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

Referenced by ilInitialisation\setCookieConstants().

◆ CONTEXT_SOAP

const int ilAuthFactory::CONTEXT_SOAP = 3

SOAP based authentication.

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

Referenced by ilSoapAdministration\initAuthenticationObject().

◆ CONTEXT_WEB

const int ilAuthFactory::CONTEXT_WEB = 1

Web based authentication.

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


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