def __init__(self,user,password,resource):
        """ Caches username, password and resource for auth. """
        PlugIn.__init__(self)
        self.DBG_LINE='gen_auth'
        self.user=user
        self.password=password
        self.resource=resource
 Caches username, password and resource for auth. 
chrome-cordova/gcmServer/xmpp/auth.py