You are here

function saml_sp__is_valid_authentication_response in SAML Service Provider 7.3

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. 4.x 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.

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 113
User pages for the SAML Service Provider module.

Code

function saml_sp__is_valid_authentication_response() {
  return $_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST['SAMLResponse']);
}