function saml_sp__is_valid_authentication_response in SAML Service Provider 8.3
Same name and namespace in other branches
- 8.2 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 7.8 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 7 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 7.2 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 7.3 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 4.x saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 3.x saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
Check that a request is a valid SAML authentication response.
File
- ./
saml_sp.pages.inc, line 13 - User pages for the SAML Service Provider module.
Code
function saml_sp__is_valid_authentication_response() {
return $_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST['SAMLResponse']);
}