def post(current_user, self): auth_header = request.headers.get('Authorization') return Auth.logout(data=auth_header)
def post(self): # get auth token auth_header = request.headers.get('Authorization') return Auth.logout_user(data=auth_header)
def post(self): return Auth.login(request)
def post(self): data = request.get_json() return Auth.login_user(data=data)