Removed API key feature

Removed API key generation feature in preparation for JWT authentication
This commit is contained in:
2021-10-29 20:23:45 +01:00
parent 587f695fe1
commit 230eda1974
8 changed files with 28 additions and 334 deletions

View File

@@ -1,30 +0,0 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateApiKeyRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'keyName' => 'required|string'
];
}
}