def METHOD_NAME(self):
    """Acquire a JSON Web Token."""
    log.debug('Acquiring a TVDB JWT')
    if not self.api_key:
        raise AuthError('Missing API key')
    response = requests.post(
        urljoin(self.api_base, 'login'),
        json=self.authorization,
        verify=False,
    )
    try:
        self._get_token(response)
    finally:
        return response