1 backdrop_web_test_case.php | protected BackdropWebTestCase::backdropGetToken($value = '') |
Generate a token for the currently logged in user.
File
- core/
modules/ simpletest/ backdrop_web_test_case.php, line 1472
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());
}