19 declare(strict_types=1);
    45     private int $context = self::CONTEXT_UNDEFINED;
    55         $this->
logger = $DIC->logger()->auth();
    63         $this->context = $a_context;
    77             case self::CONTEXT_CLI:
    78                 $this->
logger->debug(
'Init auth frontend with standard auth context');
    87             case self::CONTEXT_WS:
    88                 $this->
logger->debug(
'Init auth frontend with webservice auth context');
    97             case self::CONTEXT_STANDARD_FORM:
    98                 $this->
logger->debug(
'Init auth frontend with standard auth context');
   107             case self::CONTEXT_HTTP:
   108                 $this->
logger->debug(
'Init auth frontend with http basic auth context');
   117             case self::CONTEXT_UNDEFINED:
   118                 $this->
logger->error(
'Trying to init auth with empty context');
 
const CONTEXT_STANDARD_FORM
 
Interface of auth credentials. 
 
getFrontend(ilAuthSession $session, ilAuthStatus $status, ilAuthCredentials $credentials, array $providers)
 
Interface for auth methods (web form, http, ...) 
 
__construct()
Constructor. 
 
setContext(int $a_context)
Set context for following authentication requests.