Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
Token ($user_id, $duration_validity=30) | |
generate_token () | |
get_token () | |
get_string () | |
save () | |
calculate_expiration_time () | |
generate ($user_id) | |
remove_expired () | |
remove ($token) | |
time_expired ($expiration) | |
is_valid ($token) |
calculate_expiration_time | ( | ) |
generate | ( | $user_id | ) |
generate_token | ( | ) |
get_string | ( | ) |
get_token | ( | ) |
is_valid | ( | $token | ) |
remove | ( | $token | ) |
remove_expired | ( | ) |
save | ( | ) |
time_expired | ( | $expiration | ) |
Token | ( | $user_id, | |
$duration_validity = 30 |
|||
) |