6
0

Authenticate.py 367 B

123456789101112131415
  1. import os
  2. from flask import make_response
  3. from flask.views import View
  4. class Authenticate(View):
  5. """
  6. Always returns a success code.
  7. """
  8. # pylint: disable=arguments-differ
  9. methods = ['GET']
  10. def dispatch_request(self, user: str):
  11. # Always return a success code, since authentication is already handled.
  12. return make_response()