#include <sys/time.h>#include "pages.h"#include "tools.h"#include "session_manager.h"Go to the source code of this file.
Data Structures | |
| class | LoginException |
Defines | |
| #define | LOGIN_TIMEOUT 10 |
Functions | |
| static long | get_time () |
| static String | generate_token () |
| static bool | check_token (String token, String password, String encPassword) |
Definition in file auth.cc.
| #define LOGIN_TIMEOUT 10 |
Definition at line 66 of file auth.cc.
References get_time(), hex_string_md5(), and split_string().
Referenced by web::auth::process().
| static String generate_token | ( | ) | [static] |
Definition at line 59 of file auth.cc.
References generate_random_id(), get_time(), and LOGIN_TIMEOUT.
Referenced by web::auth::process().
| static long get_time | ( | ) | [static] |
Definition at line 52 of file auth.cc.
References NULL.
Referenced by check_token(), and generate_token().
1.5.2