◆ deleteKey()
  
  
      
        
          | static deleteKey  | 
          ( | 
            | 
          $user_id | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Deletes the key for the user with the given user_id.
- Parameters
 - 
  
  
 
 
 
◆ getKeyByUser()
  
  
      
        
          | static getKeyByUser  | 
          ( | 
            | 
          $user_id | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Returns the key by given user_id. Returns false if no valid key was found.
- Parameters
 - 
  
  
 
- Returns
 - mixed 
 
 
 
◆ getUserIdByKey()
  
  
      
        
          | static getUserIdByKey  | 
          ( | 
            | 
          $key | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Returns user_id by given key. Returns false if no valid user_id was found.
- Parameters
 - 
  
  
 
- Returns
 - mixed 
 
 
 
◆ makeKey()
Returns a key string.
- Returns
 - string 
 
 
 
◆ setKey()
  
  
      
        
          | static setKey  | 
          ( | 
            | 
          $user_id | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Sets a new key for the user with the given user_id.
- Parameters
 - 
  
  
 
- Returns
 - string the new key 
 
 
 
◆ setKeyLength()
  
  
      
        
          | static setKeyLength  | 
          ( | 
            | 
          $length | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Sets the lentgh of the key
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: