Files
alliance-services/app/Models/Auth/User.php
2026-03-05 18:43:19 -06:00

35 lines
632 B
PHP

<?php
namespace App\Models\Auth;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
protected $fillable = [
'character_owner_hash',
'character_name',
'character_id',
'token',
'refresh_token',
'expiresIn',
'user', // holds jwt (per spec)
];
protected $hidden = [
'token',
'refresh_token',
'remember_token',
];
protected function casts(): array
{
return [
'expiresIn' => 'integer',
];
}
}