ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilSamlAuth.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 interface ilSamlAuth
26 {
30  public function getAuthId(): string;
31 
35  public function protectResource(): void;
36 
41  public function storeParam(string $key, $value): void;
42 
46  public function isAuthenticated(): bool;
47 
52  public function popParam(string $key);
53 
58  public function getParam(string $key);
59 
63  public function getAttributes(): array;
64 
68  public function logout(string $returnUrl = ''): void;
69 
73  public function getIdpDiscovery(): ilSamlIdpDiscovery;
74 
78  public function getAuthDataArray(): array;
79 }
getParam(string $key)
storeParam(string $key, $value)
getAuthDataArray()
logout(string $returnUrl='')
string $key
Consumer key/client ID value.
Definition: System.php:193
Interface ilSamlAuth.
popParam(string $key)
protectResource()
Protect a script resource with a SAML auth.