authenticateWithOAuth2 method
Logs the user in with the given user and accessToken via OAuth 2.0
using the AUTH XOAUTH2 mechanism.
Implementation
Future<void> authenticateWithOAuth2(String user, String accessToken) async {
await sendCommand(PopAuthXOAuth2Command(user, accessToken));
isLoggedIn = true;
}