def setUserPwd(self, user, pwd):
def getSkypeToken(self):<EOL><INDENT>self.liveLogin(user, pwd)<EOL><DEDENT>self.getSkypeToken = MethodType(getSkypeToken, self)<EOL>
Replace the stub :meth:`getSkypeToken` method with one that connects via the Microsoft account flow using the
given credentials.  Avoids storing the account password in an accessible way.

Args:
    user (str): username or email address of the connecting account
    pwd (str): password of the connecting account