getKey(); } /** * Return a key value array, containing any custom claims to be added to the JWT. * * @return array */ public function getJWTCustomClaims() { return [ 'user_name' => $this->user_name, 'user_id' => $this->id, ]; } }