1234567891011121314151617181920212223242526272829 |
- <?php
- namespace App\Models;
- use Tymon\JWTAuth\Contracts\JWTSubject;
- use Illuminate\Contracts\Auth\MustVerifyEmail;
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Foundation\Auth\User as Authenticatable;
- use Illuminate\Notifications\Notifiable;
- use Illuminate\Database\Eloquent\Model;
- class SoapUser extends Authenticatable implements JWTSubject{
- protected $table='user';
- protected $guarded=[];
- public function getJWTIdentifier()
- {
-
- return $this->getKey();
- }
- public function getJWTCustomClaims()
- {
-
- return [];
- }
- }
|