public function SamlService::login in SAML Authentication 8
Same name and namespace in other branches
- 8.3 src/SamlService.php \Drupal\samlauth\SamlService::login()
- 8.2 src/SamlService.php \Drupal\samlauth\SamlService::login()
- 4.x src/SamlService.php \Drupal\samlauth\SamlService::login()
Initiate a SAML2 authentication flow.
Parameters
string $return_to: The path to return the user to after a successful login.
File
- src/
SamlService.php, line 76 - Contains Drupal\samlauth\SamlService.
Class
- SamlService
- Class SamlService.
Namespace
Drupal\samlauthCode
public function login($return_to = null) {
$this->auth
->login($return_to);
}