Cookie storage for authentication data.
Methods
- 
    
<static> cut(key)
 - 
    
    
Deletes an item from storage.
Parameters:
Name Type Description keystring Item key.
 - 
    
<static> get(key)
 - 
    
    
Gets an item from storage.
Parameters:
Name Type Description keystring Item key.
Returns:
Item with the given key.
- Type
 - string
 
 - 
    
<static> has(key)
 - 
    
    
Checks if the item exists in storage.
Parameters:
Name Type Description keystring Item key.
Returns:
Whether the item exists in storage.
- Type
 - boolean
 
 - 
    
<static> initAsync(callback)
 - 
    
    
Initializes cookie support and executes code after it is ready.
Parameters:
Name Type Description callbackfunction Called after cookie support is ready.
 - 
    
<static> set(key, value)
 - 
    
    
Puts an item into storage.
Parameters:
Name Type Description keystring Item key.
valuestring Item to put.