Skip to content

Commit 2df2546

Browse files
committed
Update README.md
1 parent e0cb6e7 commit 2df2546

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ device_credential = DeviceCodeCredential(
3131

3232
```
3333

34-
Create an authorization provider object and a list of scopes
34+
Pass the credential object and scopes to the GraphSession constructor.
3535
```python
3636
scopes = ['mail.send', 'user.read']
37+
graph_session = GraphSession(device_credential, scopes)
38+
3739
```
3840

3941
```python
40-
graph_session = GraphSession(device_credential, scopes)
4142
result = graph_session.get('/me')
4243
print(result.json())
4344
```

0 commit comments

Comments
 (0)