Class representing the Jellyfin API.
Convenience method for authenticating a user by name and updating the internal state.
The username.
Optional
The user password if required.
Convenience method for logging out and updating the internal state.
Class representing the Jellyfin API.