ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilAuthFrontendCredentialsOpenIdConnect.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12{
13 const SESSION_TARGET = 'oidc_target';
14
18 private $settings = null;
19
23 private $target = null;
24
25
29 public function __construct()
30 {
32
34 }
35
36
40 protected function getSettings()
41 {
42 return $this->settings;
43 }
44
48 public function getRedirectionTarget()
49 {
50 return $this->target;
51 }
52
56 public function initFromRequest()
57 {
58 $this->setUsername('');
59 $this->setPassword('');
60
62 }
63
67 protected function parseRedirectionTarget()
68 {
69 global $DIC;
70
71 $logger = $DIC->logger()->auth();
72 if (!empty($_GET['target'])) {
73 $this->target = $_GET['target'];
74 \ilSession::set(self::SESSION_TARGET, $this->target);
75 } elseif (ilSession::get(self::SESSION_TARGET)) {
76 $this->target = \ilSession::get(self::SESSION_TARGET);
77 }
78 }
79}
$_GET["client_id"]
An exception for terminatinating execution or to throw for unit testing.
static getInstance()
Get singleton instance.
static set($a_var, $a_val)
Set a value.
static get($a_var)
Get a value.
global $DIC
Definition: goto.php:24
Interface of auth credentials.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
settings()
Definition: settings.php:2