You are here

function saml_sp__is_valid_authentication_response in SAML Service Provider 4.x

Same name and namespace in other branches
  1. 8.3 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
  2. 8.2 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
  3. 7.8 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
  4. 7 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
  5. 7.2 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
  6. 7.3 saml_sp.pages.inc \saml_sp__is_valid_authentication_response()
  7. 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']);
}