private function SamlSPController::saml_sp__is_valid_authentication_response in SAML Service Provider 8.2
Check that a request is a valid SAML authentication response.
Return value
Boolean
1 call to SamlSPController::saml_sp__is_valid_authentication_response()
- SamlSPController::consume in src/
Controller/ SamlSPController.php - receive data back from the IdP
File
- src/
Controller/ SamlSPController.php, line 142 - Contains \Drupal\samlsp\Controller\SamlSPController.
Class
- SamlSPController
- Provides route responses for the SAML SP module
Namespace
Drupal\saml_sp\ControllerCode
private function saml_sp__is_valid_authentication_response() {
return $_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST['SAMLResponse']);
}