getKey(); } /** * Return a key value array, containing any custom claims to be added to the JWT. * * @return array */ public function getJWTCustomClaims() { return []; } // protected $connection='mysql_dwbs'; protected $table='admins'; protected $guarded=[]; protected $hidden=['password','mobile','created_at','deleted_at','updated_at','status']; public function role(){ return $this->belongsTo(Role::class,'role_id'); } }