Convenience method for authenticating a user by name.
The username.
Optionalpassword: stringThe user password if required.
Gets a full URI for a relative URL to the Jellyfin server for a given SDK Api instance.
The relative URL.
Optionalparams: objectAny URL parameters.
The complete URI with protocol, host, and base URL (if any).
Updates this Api instance with new data.
If the access token is cleared, any existing WebSocket connection will be closed.
If the base path or access token changes while a WebSocket connection is active, the connection will be reconnected with the new credentials.
The data to update.
Class representing the Jellyfin API.