19 declare(strict_types=1);
34 private int $context = self::CONTEXT_UNDEFINED;
40 $this->
logger = $DIC->logger()->auth();
45 $this->context = $a_context;
63 case self::CONTEXT_CLI:
64 $this->
logger->debug(
'Init auth frontend with standard auth context');
73 case self::CONTEXT_WS:
74 $this->
logger->debug(
'Init auth frontend with webservice auth context');
83 case self::CONTEXT_STANDARD_FORM:
84 $this->
logger->debug(
'Init auth frontend with standard auth context');
93 case self::CONTEXT_HTTP:
94 $this->
logger->debug(
'Init auth frontend with http basic auth context');
103 case self::CONTEXT_UNDEFINED:
104 $this->
logger->error(
'Trying to init auth with empty context');
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getFrontend(ilAuthSession $session, ilAuthStatus $status, ilAuthCredentials $credentials, array $providers)
const int CONTEXT_UNDEFINED
const int CONTEXT_STANDARD_FORM
Authentication with id and password.
setContext(int $a_context)