docs: def authorizeClientRequest(self, request):
          """
          Checks the authorization permissions of the bearer token passed, and determines whether the sender is permitted to make the request housed in the payload.
          Usage:
              request = The header object from pfioh, or the whole request from pman. This is parsed for the bearer token
          """
          token = ''
          if self.serverType == 'socket':
              token = self.getSocketServerToken(request)
          elif self.serverType == 'http':
              token = self.getHttpServerToken(request)
          if token != '' and token != None:
              if token in self.__tokens:
                  if self.__tokens[token] == 'active':
                      return True, ()
                  elif self.__tokens[token] == 'revoked':
                      # token has been revoked
                      return False, (401, self.errorMessages[401], "This token has been revoked!")
              else:
                  # token is untrusted/invalid
                  return False, (401, self.errorMessages[401], "")
          else:
              # token is required, but none was provided
              return False, (400, self.errorMessages[400], "Authentication required! Client did not provide authentication.")