where('action','=',$action)->delete(); } public static function createToken() { return hash_hmac('sha256',Str::random(40),Config::get('key')); } }