docs: def gatekeeper(func):
      """ 
      This function is used to handle authorization code authentication of 
      protected endpoints. This form of authentication is not recommended 
      because it's not very secure, but can be used in places where SSH 
      tunneling or similar strong connection security is not possible.
      
      The function looks for a special "Cauldron-Authentication-Code" header
      in the request and confirms that the specified value matches the code
      that was provided by arguments to the Cauldron kernel server. This function
      acts as a pass-through if no code is specified when the server starts.
      """
  
      @wraps(func)
      def check_identity(*args, **kwargs):
          code = server_runner.authorization['code']
          comparison = request.headers.get('Cauldron-Authentication-Code')
  
          return (
              abort(401)
              if code and code != comparison else
              func(*args, **kwargs)
          )
  
      return check_identity