19declare(strict_types=1);
47 if (
$DIC->http()->wrapper()->post()->has(
'login_hint')) {
49 $user_id =
$DIC->http()->wrapper()->post()->retrieve(
'login_hint',
$DIC->refinery()->kindlyTo()->string());
52 if (
$DIC->http()->wrapper()->post()->has(
'user_id')) {
53 $user_id =
$DIC->http()->wrapper()->post()->retrieve(
'user_id',
$DIC->refinery()->kindlyTo()->string());
Auth credentials for lti oauth based authentication.
initFromRequest()
Init credentials from request.
setUsername(string $a_name)
static getLogger(string $a_component_id)
Get component logger.
debug(string $message, array $context=[])
static get(string $a_var)
static clear(string $a_var)
static set(string $a_var, $a_val)
Set a value.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc