Skip to content

Commit eff46e5

Browse files
committed
Fix typos
1 parent 89a1420 commit eff46e5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

sample/client_credential_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
config = json.load(open(sys.argv[1]))
2727

28-
# Create a preferrably long-lived app instance which maintains a token cache.
28+
# Create a preferably long-lived app instance which maintains a token cache.
2929
app = msal.ConfidentialClientApplication(
3030
config["client_id"], authority=config["authority"],
3131
client_credential=config["secret"],

sample/device_flow_sample.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
config = json.load(open(sys.argv[1]))
2626

27-
# Create a preferrably long-lived app instance which maintains a token cache.
27+
# Create a preferably long-lived app instance which maintains a token cache.
2828
app = msal.PublicClientApplication(
2929
config["client_id"], authority=config["authority"],
3030
# token_cache=... # Default cache is in memory only.
@@ -43,10 +43,10 @@
4343
print("Pick the account you want to use to proceed:")
4444
for a in accounts:
4545
print(a["username"])
46-
# Assumeing the end user chose this one
46+
# Assuming the end user chose this one
4747
chosen = accounts[0]
4848
# Now let's try to find a token in cache for this account
49-
result = app.acquire_token_silent(config["scope"], account=accounts[0])
49+
result = app.acquire_token_silent(config["scope"], account=chosen)
5050

5151
if not result:
5252
# So no suitable token exists in cache. Let's get a new one from AAD.

sample/username_password_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
config = json.load(open(sys.argv[1]))
2828

29-
# Create a preferrably long-lived app instance which maintains a token cache.
29+
# Create a preferably long-lived app instance which maintains a token cache.
3030
app = msal.PublicClientApplication(
3131
config["client_id"], authority=config["authority"],
3232
# token_cache=... # Default cache is in memory only.

0 commit comments

Comments
 (0)