diff options
author | Jonathan Huot <jonathan.huot@gmail.com> | 2022-01-29 22:47:54 +0100 |
---|---|---|
committer | Jonathan Huot <jonathan.huot@gmail.com> | 2022-01-29 22:47:54 +0100 |
commit | 4e01008da0ef0de88f4ebe648cdc564117beced8 (patch) | |
tree | 2d41ffeb62c8032a4b3df9fff41f2c2b83169665 | |
parent | bd2e8edf8313aebd99a0bcf752ff4a7e2c1769a0 (diff) | |
download | oauthlib-4e01008da0ef0de88f4ebe648cdc564117beced8.tar.gz |
Fixed code documentation
-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' |