Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
Token Class Reference
Collaboration diagram for Token:
Collaboration graph

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)

Member Function Documentation

calculate_expiration_time ( )

Here is the caller graph for this function:

generate (   $user_id)

Here is the call graph for this function:

generate_token ( )

Here is the caller graph for this function:

get_string ( )

Here is the call graph for this function:

get_token ( )

Here is the caller graph for this function:

is_valid (   $token)

Here is the call graph for this function:

Here is the caller graph for this function:

remove (   $token)

Here is the caller graph for this function:

remove_expired ( )

Here is the caller graph for this function:

save ( )

Here is the caller graph for this function:

time_expired (   $expiration)

Here is the caller graph for this function:

Token (   $user_id,
  $duration_validity = 30 
)

Here is the call graph for this function:


The documentation for this class was generated from the following file: