#include <string>
Go to the source code of this file.
Namespaces | |
| namespace | utils |
Defines | |
| #define | MAGIC_TOKEN_LENGTH 32 |
Functions | |
| std::string | getMagicToken () |
| Returns a magic_token. | |
|
|
Definition at line 26 of file tokendispenser.hpp. |
|
|
Returns a magic_token. The tokens are used for spanning a user's session across multiple servers. NOTE: Uniqueness is not guaranteed, store the account- or characterId with the token if that is an issue. NOTE: Not passed-by-reference by design. NOTE: Store the token in a variable in this namespace if you want to avoid 1 copy operation per use. Definition at line 27 of file tokendispenser.cpp. |
1.3.9.1