MCPcopy Create free account
hub / github.com/oauthlib/oauthlib / post

Method post

examples/device_code_flow.py:101–109  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

99 return server.create_device_authorization_response(request)
100
101 def post(self, request):
102 headers, data, status = self.create_device_authorization_response(request)
103 device_response = ...
104
105 # Create an instance of examples.device_flow.Device` using `request` and `data`that encapsulates
106 # https://datatracker.ietf.org/doc/html/rfc8628#section-3.1 &
107 # https://datatracker.ietf.org/doc/html/rfc8628#section-3.2
108
109 return device_response
110
111
112"""

Callers

nothing calls this directly

Tested by

no test coverage detected