public function toArray(Request $request): array 	{ 		return [ 			'id' => $this->user->getKey(), 			'type' => $this->user->getUserType(), 			'name' => $this->name, 			'email' => $this->email, 			'allow_push_notifications' => $this->allow_push_notifications, 			'password_needs_rehash' => $this->password && Hash::needsRehash($this->password), 			'avatar' => $this->getAvatar(), 			'oauth' => $this->oAuthDrivers()->orderBy('driver')->get()->pluck('external_id', 'driver.value'), 			'extra' => $this->user->getUserExtraData($request), 			'email_verified_at' => $this->email_verified_at ? formatTimestamp($this->email_verified_at) : null, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 			'token' => $this->token(), 		]; 	}