code: def claimToken(self):
          
          response = self._session.get('https://plex.tv/api/claim/token.json', headers=self._headers(), timeout=TIMEOUT)
          if response.status_code not in (200, 201, 204):  # pragma: no cover
              codename = codes.get(response.status_code)[0]
              errtext = response.text.replace('\n', ' ')
              log.warning('BadRequest (%s) %s %s; %s' % (response.status_code, codename, response.url, errtext))
              raise BadRequest('(%s) %s %s; %s' % (response.status_code, codename, response.url, errtext))
          return response.json()['token']
docs: Returns a str, a new "claim-token", which you can use to register your new Plex Server instance to your
              account.
              See: https://hub.docker.com/r/plexinc/pms-docker/, https://www.plex.tv/claim/