ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAuthPlugin.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 abstract class ilAuthPlugin extends ilPlugin implements ilAuthDefinition
27 {
33  abstract public function isExternalAccountNameRequired(int $a_auth_id): bool;
34 
41  abstract public function getProvider(ilAuthCredentials $credentials, string $a_auth_id): ilAuthProviderInterface;
42 
47  abstract public function getAuthName(int $a_auth_id): string;
48 
54  abstract public function getMultipleAuthModeOptions(int $a_auth_id): array;
55 
61  abstract public function isAuthActive(int $a_auth_id): bool;
62 
67  abstract public function getAuthIds(): array;
68 }
Interface of auth credentials.
isAuthActive(int $a_auth_id)
Authentication plugin.
Standard interface for auth provider implementations.
getAuthName(int $a_auth_id)
getMultipleAuthModeOptions(int $a_auth_id)
isExternalAccountNameRequired(int $a_auth_id)
Does your AuthProvider needs "ext_account"? return true, false otherwise.
getProvider(ilAuthCredentials $credentials, string $a_auth_id)