Change authentication method for API.
This commit is contained in:
parent
63f377a038
commit
77e3744b40
9 changed files with 162 additions and 219 deletions
17
app/Models/APIKey.php
Normal file
17
app/Models/APIKey.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class APIKey extends Model
|
||||
{
|
||||
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'api_keys';
|
||||
|
||||
}
|
Reference in a new issue