src/Vinelab/Auth/Cache/Store.php
public function put($key, $data, $duration = null)
    {
        return $this->cache->put(
            $key,
            $data,
            ($duration) ?: $this->duration
        );
    }
public function put($key, $data, $duration = null)
    {
        return $this->cache->put(
            $key,
            $data,
            ($duration) ?: $this->duration
        );
    }
Put the data in the cache
and return the generated
key.

@param string $key
@param mixed  $data

@return string