You are here

public function SamlController::changepw in SAML Authentication 8

Same name and namespace in other branches
  1. 8.3 src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::changepw()
  2. 8.2 src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::changepw()
  3. 4.x src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::changepw()

Change password redirector.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse

1 string reference to 'SamlController::changepw'
samlauth.routing.yml in ./samlauth.routing.yml
samlauth.routing.yml

File

src/Controller/SamlController.php, line 132
Contains Drupal\samlauth\Controller\SamlController.

Class

SamlController
Class SamlController.

Namespace

Drupal\samlauth\Controller

Code

public function changepw() {
  $url = \Drupal::config('samlauth.samlauthconfigure_config')
    ->get('idp_change_password_service');
  return new RedirectResponse($url);
}