From 4e01008da0ef0de88f4ebe648cdc564117beced8 Mon Sep 17 00:00:00 2001 From: Jonathan Huot Date: Sat, 29 Jan 2022 22:47:54 +0100 Subject: Fixed code documentation --- oauthlib/oauth2/rfc8628/clients/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauthlib/oauth2/rfc8628/clients/device.py b/oauthlib/oauth2/rfc8628/clients/device.py index df7ff68..95c4f5a 100644 --- a/oauthlib/oauth2/rfc8628/clients/device.py +++ b/oauthlib/oauth2/rfc8628/clients/device.py @@ -79,7 +79,7 @@ class DeviceClient(Client): the ``grant_type`` parameter set to ``urn:ietf:params:oauth:grant-type:device_code``:: - >>> from oauthlib.oauth2 import BackendApplicationClient + >>> from oauthlib.oauth2 import DeviceClient >>> client = DeviceClient('your_id', 'your_code') >>> client.prepare_request_body(scope=['hello', 'world']) 'grant_type=urn:ietf:params:oauth:grant-type:device_code&scope=hello+world' -- cgit v1.2.1