ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
interface.ilSamlAuth.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 interface ilSamlAuth
26 {
27  public function getAuthId(): string;
28 
32  public function protectResource(): void;
33 
37  public function storeParam(string $key, $value): void;
38 
39  public function isAuthenticated(): bool;
40 
44  public function popParam(string $key);
45 
49  public function getParam(string $key);
50 
51  public function getAttributes(): array;
52 
53  public function logout(string $returnUrl = ''): void;
54 
55  public function getIdpDiscovery(): ilSamlIdpDiscovery;
56 
57  public function getAuthDataArray(): array;
58 }
getParam(string $key)
storeParam(string $key, $value)
getAuthDataArray()
logout(string $returnUrl='')
popParam(string $key)
protectResource()
Protect a script resource with a SAML auth.