Stud.IP  jlu_3.3 Revision
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()

calculate_expiration_time ( )
Here is the caller graph for this function:

◆ generate()

generate (   $user_id)
Here is the call graph for this function:

◆ generate_token()

generate_token ( )
Here is the caller graph for this function:

◆ get_string()

get_string ( )
Here is the call graph for this function:

◆ get_token()

get_token ( )
Here is the caller graph for this function:

◆ is_valid()

is_valid (   $token)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove()

remove (   $token)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove_expired()

remove_expired ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ save()

save ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ time_expired()

time_expired (   $expiration)
Here is the caller graph for this function:

◆ Token()

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: