function saml_sp__is_valid_authentication_response in SAML Service Provider 7
Same name and namespace in other branches
- 8.3 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
- 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.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.
Return value
Boolean
1 call to saml_sp__is_valid_authentication_response()
- saml_sp__endpoint in ./
saml_sp.pages.inc - Page callback to complete the SAML authentication process. This is the consumer endpoint for all SAML authentication requests.
File
- ./
saml_sp.pages.inc, line 65 - User pages for the SAML Service Provider module.
Code
function saml_sp__is_valid_authentication_response() {
return $_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST['SAMLResponse']);
}