code: def login(self):
          
          if self.reddit.is_oauth_session():
              ch = self.term.show_notification('Log out? (y/n)')
              if ch in (ord('y'), ord('Y')):
                  self.oauth.clear_oauth_data()
                  self.term.show_notification('Logged out')
          else:
              self.oauth.authorize()
docs: Prompt to log into the user's account, or log out of the current
          account.