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 7/** 8 * Service context for soap without handling authentication 9 */ 10class ilContextSoapNoAuth implements ilContextTemplate 11{ 12 13 /** 14 * @inheritdoc 15 */ 16 public static function supportsRedirects() 17 { 18 return false; 19 } 20 21 /** 22 * @inheritdoc 23 */ 24 public static function hasUser() 25 { 26 return false; 27 } 28 29 /** 30 * @inheritdoc 31 */ 32 public static function usesHTTP() 33 { 34 return true; 35 } 36 37 /** 38 * @inheritdoc 39 */ 40 public static function hasHTML() 41 { 42 return false; 43 } 44 45 /** 46 * @inheritdoc 47 */ 48 public static function usesTemplate() 49 { 50 return false; 51 } 52 53 /** 54 * @inheritdoc 55 */ 56 public static function initClient() 57 { 58 return true; 59 } 60 61 /** 62 * @inheritdoc 63 */ 64 public static function doAuthentication() 65 { 66 return false; 67 } 68 69 /** 70 * @inheritdoc 71 */ 72 public static function supportsPersistentSessions() 73 { 74 return false; 75 } 76 77 /** 78 * @inheritdoc 79 */ 80 public static function supportsPushMessages() 81 { 82 return false; 83 } 84 85 /** 86 * @inheritdoc 87 */ 88 public static function isSessionMainContext() 89 { 90 return true; 91 } 92} 93