docs: def verify_ticket(self, ticket):
          """Verifies CAS 1.0 authentication ticket.
  
          Returns username on success and None on failure.
          """
          params = [('ticket', ticket), ('service', self.service_url)]
          url = (urllib_parse.urljoin(self.server_url, 'validate') + '?' +
                 urllib_parse.urlencode(params))
          page = requests.get(
              url,
              stream=True,
              verify=self.verify_ssl_certificate
          )
          try:
              page_iterator = page.iter_lines(chunk_size=8192)
              verified = next(page_iterator).strip()
              if verified == 'yes':
                  return next(page_iterator).strip(), None, None
              else:
                  return None, None, None
          finally:
              page.close()