code: def claim_exp(self, data):
          
          expiration = getattr(settings, 'OAUTH_ID_TOKEN_EXPIRATION', 30)
          expires = self.now + timedelta(seconds=expiration)
          return timegm(expires.utctimetuple())
docs: Required expiration time.