(self, request)
| 254 | # Example of how token endpoint could handle the token creation depending on |
| 255 | # the grant type during a POST to /token. |
| 256 | def post(self, request): |
| 257 | params = request.POST |
| 258 | if params.get("grant_type") == "urn:ietf:params:oauth:grant-type:device_code": |
| 259 | return self.device_flow_token_response(request, params["device_code"]) |
| 260 | return self.default_flow_token_response(request) |
nothing calls this directly
no test coverage detected