Helper function to log SAML messages that we send or receive.
public static debugSAMLMessage ( string | DOMElement $message, string $type ) | ||
$message | string | DOMElement | The message, as an string containing the XML or an XML element. |
$type | string | Whether this message is sent or received, encrypted or decrypted. The following values are supported: - 'in': for messages received. - 'out': for outgoing messages. - 'decrypt': for decrypted messages. - 'encrypt': for encrypted messages. |