w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • PHP
  • Drupal
  • Session
  • MetadataBag

MetadataBag::CSRF_TOKEN_SEED

The key used to store the CSRF token seed in the session.

File

core/lib/Drupal/Core/Session/MetadataBag.php, line 16

Class

MetadataBag
Provides a container for application specific session metadata.

Namespace

Drupal\Core\Session

Code

const CSRF_TOKEN_SEED = 's';
Links:
  • https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Session%21MetadataBag.php/constant/MetadataBag%3A%3ACSRF_TOKEN_SEED/8.2.x
doc_Drupal
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
views.decorators.csrf.requires_csrf_token() requires_csrf_token(view) Normally the csrf_token template tag will not work if CsrfViewMiddleware.process_view or an equivalent like csrf_protect
CI_Security::get_csrf_token_name() get_csrf_token_name() Returns: CSRF token name Return type: string Returns the CSRF token name (the $config['csrf_token_name'] value).
MetadataBag Provides a container for application specific session metadata. Hierarchy class \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag impleme
seed prng.seed â integer Instance Public methods Returns the seed value used to initialize the generator. This may be used to initialize ano
MetadataBag class MetadataBag implements SessionBagInterface Metadata container. Adds metadata to the session. Constants CREATED UPDATED LIFETIME


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions