@@ 91-98 (lines=8) @@ | ||
88 | /** |
|
89 | * @return bool |
|
90 | */ |
|
91 | public function redirectToAccessDeniedPage() |
|
92 | { |
|
93 | /** @var Config $config */ |
|
94 | $config = $this->controller->getServiceLocator()->get(Config::class); |
|
95 | $authUrl = $config->get('auth:authUrl'); |
|
96 | ||
97 | return $this->controller->redirect($authUrl); |
|
98 | } |
|
99 | ||
100 | /** |
|
101 | * @return bool |
|
@@ 103-110 (lines=8) @@ | ||
100 | /** |
|
101 | * @return bool |
|
102 | */ |
|
103 | public function redirectToAuthentication() |
|
104 | { |
|
105 | /** @var Config $config */ |
|
106 | $config = $this->controller->getServiceLocator()->get(Config::class); |
|
107 | $authUrl = $config->get('auth:authUrl'); |
|
108 | ||
109 | return $this->controller->redirect($authUrl); |
|
110 | } |
|
111 | ||
112 | /** |
|
113 | * @param array $roles |