def login_with_entity(self, entity): self.controller.setStringForKey(entity, "entity") self.oauth_implementation = Windows.Oauth(self)