ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilContextApacheSSO.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once "Services/Context/interfaces/interface.ilContextTemplate.php";
6
16{
22 public static function supportsRedirects()
23 {
24 return true;
25 }
26
32 public static function hasUser()
33 {
34 return true;
35 }
36
42 public static function usesHTTP()
43 {
44 return true;
45 }
46
52 public static function hasHTML()
53 {
54 return true;
55 }
56
62 public static function usesTemplate()
63 {
64 return true;
65 }
66
72 public static function initClient()
73 {
74 return true;
75 }
76
82 public static function doAuthentication()
83 {
84 return true;
85 }
86
91 public static function supportsPersistentSessions()
92 {
93 return true;
94 }
95
101 public static function supportsPushMessages()
102 {
103 return false;
104 }
105
109 public static function isSessionMainContext()
110 {
111 return false;
112 }
113
117 public static function modifyHttpPath(string $httpPath) : string
118 {
119 return dirname($httpPath);
120 }
121}
An exception for terminatinating execution or to throw for unit testing.
Service context for cron.
static doAuthentication()
Try authentication.
static modifyHttpPath(string $httpPath)
@inheritDoc
static initClient()
Init client.
static hasUser()
Based on user authentication?
static supportsPushMessages()
Supports push messages.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.WAC is, Cron is not)bool
static hasHTML()
Has HTML output.
static usesTemplate()
Uses template engine.
static supportsPersistentSessions()
Check if persistent session handling is supported.
static supportsRedirects()
Are redirects supported?
static usesHTTP()
Uses HTTP aka browser.
Interface ilContextTemplate.