1.20.x backdrop_web_test_case.php | protected BackdropWebTestCase::backdropGetToken($value = '') |
Generate a token for the currently logged in user.
File
- modules/
simpletest/ backdrop_web_test_case.php, line 1476
Class
- BackdropWebTestCase
- Test case for typical Backdrop tests.
Code
protected function backdropGetToken($value = '') {
return backdrop_hmac_base64($value, $this->session_id . backdrop_get_private_key() . backdrop_get_hash_salt());
}