diff options
-rw-r--r-- | oauthlib/oauth2/rfc8628/clients/device.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' |