Skip to content

Commit f41d546

Browse files
committed
Adopt pymsalruntime 0.13
1 parent 9794dcf commit f41d546

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

msal/broker.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ def _convert_result(result, client_id, expected_token_type=None): # Mimic an on
9090
id_token_claims = json.loads(result.get_id_token()) if result.get_id_token() else {}
9191
account = result.get_account()
9292
assert account, "Account is expected to be always available"
93-
## Note: As of pymsalruntime 0.1.0, only wam_account_ids property is available
94-
#account.get_account_property("wam_account_ids")
93+
# Note: There are more account attribute getters available in pymsalruntime 0.13+
9594
return_value = {k: v for k, v in {
9695
"access_token": result.get_access_token(),
9796
"expires_in": result.get_access_token_expiry_time() - int(time.time()), # Convert epoch to count-down

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
# The broker is defined as optional dependency,
9292
# so that downstream apps can opt in. The opt-in is needed, partially because
9393
# most existing MSAL Python apps do not have the redirect_uri needed by broker.
94-
"pymsalruntime>=0.11.2,<0.12;python_version>='3.6' and platform_system=='Windows'",
94+
"pymsalruntime>=0.11.2,<0.14;python_version>='3.6' and platform_system=='Windows'",
9595
],
9696
},
9797
)

0 commit comments

Comments
 (0)