FreeRDP
Loading...
Searching...
No Matches
test_qt_aad_auth_helper.RedirectHandler Class Reference
Inheritance diagram for test_qt_aad_auth_helper.RedirectHandler:
Collaboration diagram for test_qt_aad_auth_helper.RedirectHandler:

Public Member Functions

 do_GET (self)
 
 log_message (self, fmt, *args)
 

Detailed Description

Definition at line 58 of file test_qt_aad_auth_helper.py.

Member Function Documentation

◆ do_GET()

test_qt_aad_auth_helper.RedirectHandler.do_GET (   self)

Definition at line 59 of file test_qt_aad_auth_helper.py.

59 def do_GET(self):
60 self.server.last_user_agent = self.headers.get("User-Agent")
61 if self.path.startswith("/redirect"):
62 self.send_response(302)
63 self.send_header("Location", BROKER_TARGET)
64 self.end_headers()
65 else:
66 self.send_response(200)
67 self.send_header("Content-Type", "text/html")
68 self.end_headers()
69 self.wfile.write(b"<html><body>ok</body></html>")
70

◆ log_message()

test_qt_aad_auth_helper.RedirectHandler.log_message (   self,
  fmt,
*  args 
)

Definition at line 71 of file test_qt_aad_auth_helper.py.

71 def log_message(self, fmt, *args):
72 pass
73
74

The documentation for this class was generated from the following file: