connect
Opens a new StreamLinkConnection authenticated as username.
A KeyMaster token granting full read/write permissions is generated for the user, and a StreamLink client is created and connected to the configured Liberator. The returned connection is single-use — StreamLinkConnection.connect on it will fail; create another connection to reconnect.
Throws
if username contains a character that would corrupt subject parsing (/ or ?).