parameters: (user=None)
docstring: abort a request with the proper http status in case of authentification
      issues
docstring_summary: abort a request with the proper http status in case of authentification
      issues
docstring_tokens: abort a request with the proper http status in case of authentification issues
function: def abort_request(user=None):
      """
      abort a request with the proper http status in case of authentification
      issues
      """
      if user:
          flask_restful.abort(403)
      else:
          flask_restful.abort(401)
function_tokens: def abort_request ( user = None ) : if user : flask_restful . abort ( 403 ) else : flask_restful . abort ( 401 )