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 if self.path.startswith("/redirect"):
61 self.send_response(302)
62 self.send_header("Location", BROKER_TARGET)
63 self.end_headers()
64 else:
65 self.send_response(200)
66 self.send_header("Content-Type", "text/html")
67 self.end_headers()
68 self.wfile.write(b"<html><body>ok</body></html>")
69

◆ log_message()

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

Definition at line 70 of file test_qt_aad_auth_helper.py.

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

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