ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAuthFactory Class Reference

Authentication frontend factory. More...

+ Collaboration diagram for ilAuthFactory:

Static Public Member Functions

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

Data Fields

const CONTEXT_WEB = 1
 Web based authentication. More...
 
const 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 CONTEXT_SOAP = 3
 SOAP based authentication. More...
 
const CONTEXT_CAS = 5
 
const CONTEXT_CALENDAR = 6
 Maybe not required. More...
 
const CONTEXT_CALENDAR_TOKEN = 7
 Calendar authentication with auth token. More...
 
const CONTEXT_ECS = 8
 Calendar authentication with auth token. More...
 
const CONTEXT_APACHE = 10
 Apache based authentication. More...
 

Static Private Attributes

static int $context = self::CONTEXT_WEB
 

Detailed Description

Authentication frontend factory.

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

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

Member Function Documentation

◆ getContext()

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

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

References $context.

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

79  : int
80  {
81  return self::$context;
82  }
$context
Definition: webdav.php:31
+ Here is the caller graph for this function:

◆ setContext()

static ilAuthFactory::setContext ( int  $a_context)
static

set context

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

References $context.

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

87  : void
88  {
89  self::$context = $a_context;
90  }
$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 73 of file class.ilAuthFactory.php.

◆ CONTEXT_APACHE

const ilAuthFactory::CONTEXT_APACHE = 10

Apache based authentication.

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

◆ CONTEXT_CALENDAR

const ilAuthFactory::CONTEXT_CALENDAR = 6

Maybe not required.

HTTP based authentication for calendar access

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

◆ CONTEXT_CALENDAR_TOKEN

const ilAuthFactory::CONTEXT_CALENDAR_TOKEN = 7

Calendar authentication with auth token.

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

Referenced by ilCalendarRemoteAccessHandler\initIlias().

◆ CONTEXT_CAS

const ilAuthFactory::CONTEXT_CAS = 5

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

◆ CONTEXT_ECS

const ilAuthFactory::CONTEXT_ECS = 8

Calendar authentication with auth token.

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

Referenced by ilAuthFrontend\handleAuthenticationSuccess().

◆ CONTEXT_HTTP

const 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 39 of file class.ilAuthFactory.php.

Referenced by ilInitialisation\setCookieConstants().

◆ CONTEXT_SOAP

const ilAuthFactory::CONTEXT_SOAP = 3

SOAP based authentication.

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

Referenced by ilSoapAdministration\initAuthenticationObject().

◆ CONTEXT_WEB

const ilAuthFactory::CONTEXT_WEB = 1

Web based authentication.

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


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