ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilContextSaml.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Services/Context/interfaces/interface.ilContextTemplate.php';
5
10{
14 public static function supportsRedirects()
15 {
16 return true;
17 }
18
22 public static function hasUser()
23 {
24 return true;
25 }
26
30 public static function usesHTTP()
31 {
32 return true;
33 }
34
38 public static function hasHTML()
39 {
40 return true;
41 }
42
46 public static function usesTemplate()
47 {
48 return true;
49 }
50
54 public static function initClient()
55 {
56 return true;
57 }
58
62 public static function doAuthentication()
63 {
64 return true;
65 }
66
70 public static function supportsPersistentSessions()
71 {
72 return true;
73 }
74
80 public static function supportsPushMessages()
81 {
82 return false;
83 }
84
88 public static function isSessionMainContext()
89 {
90 return false;
91 }
92}
An exception for terminatinating execution or to throw for unit testing.
Class ilContextSaml.
static doAuthentication()
Try authentication.bool
static supportsPersistentSessions()
Check if persistent sessions are supported false for context cli.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.WAC is, Cron is not)bool
static usesHTTP()
Uses HTTP aka browser.bool
static initClient()
Init client.bool
static hasUser()
Based on user authentication?bool
static supportsPushMessages()
Supports push messages.
static hasHTML()
Has HTML output.bool
static usesTemplate()
Uses template engine.bool
static supportsRedirects()
Are redirects supported?bool
Interface ilContextTemplate.