docs: def authenticated_user(self, auth):
          """
          Returns the user authenticated by ``auth``
  
          :param auth.Authentication auth: authentication for user to retrieve
  
          :return: user authenticated by the provided authentication
          :rtype: GogsUser
          :raises NetworkFailure: if there is an error communicating with the server
          :raises ApiFailure: if the request cannot be serviced
          """
          response = self.get("/user", auth=auth)
          return GogsUser.from_json(response.json())