namespace Drupal\Core\Security

Same name in other branches
  1. 7.x Drupal\Core\Security
  2. 9 Drupal\Core\Security
  3. 8.9.x Drupal\Core\Security
  4. 11.x Drupal\Core\Security
Object name File name Summary
DoTrustedCallbackTrait core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php Ensures that only predefined methods can be used as callback methods.
RequestSanitizer core/lib/Drupal/Core/Security/RequestSanitizer.php Sanitizes user input.
StaticTrustedCallbackHelper core/lib/Drupal/Core/Security/StaticTrustedCallbackHelper.php Defines a class for performing trusted callbacks in a static context.
TrustedCallbackInterface core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Interface to declare trusted callbacks.
UntrustedCallbackException core/lib/Drupal/Core/Security/UntrustedCallbackException.php Exception thrown if a callback is untrusted.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.