Skip to content

Commit 1f9d674

Browse files
committed
Adjust descriptions based on latest API changes
1 parent eff46e5 commit 1f9d674

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sample/client_credential_sample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Firstly, looks up a token from cache
4040
# Since we are looking for token for the current app, NOT for an end user,
41-
# notice we give account parameter as None (which is its default value, by the way).
41+
# notice we give account parameter as None.
4242
result = app.acquire_token_silent(config["scope"], account=None)
4343

4444
if not result:

sample/device_flow_sample.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
# The pattern to acquire a token looks like this.
3535
result = None
3636

37-
# If your device-flow app does not have any interactive ability,
38-
# you can completely skip the following cache part. Here we demonstrate it anyway.
37+
# Note: If your device-flow app does not have any interactive ability, you can
38+
# completely skip the following cache part. But here we demonstrate it anyway.
3939
# We now check the cache to see if we have some end users signed in before.
4040
accounts = app.get_accounts()
4141
if accounts:

0 commit comments

Comments
 (0)