MCPcopy Create free account
hub / github.com/authlib/authlib / device_authorize

Function device_authorize

tests/flask/test_oauth2/test_device_code_grant.py:92–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91 @app.route("/device_authorize", methods=["POST"])
92 def device_authorize():
93 name = DeviceAuthorizationEndpoint.ENDPOINT_NAME
94 return server.create_endpoint_response(name)
95
96 server.register_endpoint(DeviceAuthorizationEndpoint)
97

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected