aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/ClientFlowLoginController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/ClientFlowLoginController.php')
-rw-r--r--core/Controller/ClientFlowLoginController.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index 2e8216c2ba5..83bd9faa6c7 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -244,34 +244,6 @@ class ClientFlowLoginController extends Controller {
/**
* @NoAdminRequired
- * @NoCSRFRequired
- * @UseSession
- *
- * @param string $stateToken
- * @param string $clientIdentifier
- * @return TemplateResponse
- */
- public function redirectPage($stateToken = '',
- $clientIdentifier = '') {
- if(!$this->isValidToken($stateToken)) {
- return $this->stateTokenForbiddenResponse();
- }
-
- return new TemplateResponse(
- $this->appName,
- 'loginflow/redirect',
- [
- 'urlGenerator' => $this->urlGenerator,
- 'stateToken' => $stateToken,
- 'clientIdentifier' => $clientIdentifier,
- 'oauthState' => $this->session->get('oauth.state'),
- ],
- 'guest'
- );
- }
-
- /**
- * @NoAdminRequired
* @UseSession
*
* @param string $stateToken