src/Token.php
public function generateDataForKey($key, $time = null)
    {
        if ($secret = $this->client->getAppSecretForKey($key)) {
            return $this->generateData($key, $secret, $time);
        }

        return [];
    }
public function generateDataForKey($key, $time = null)
    {
        if ($secret = $this->client->getAppSecretForKey($key)) {
            return $this->generateData($key, $secret, $time);
        }

        return [];
    }
Generate a token data array.

@param  string  $key
@param  string|int|null  $time
@return array