Skip to content

Commit 0f1ab8d

Browse files
committed
Fix type hint for client_credential
1 parent c0e1da9 commit 0f1ab8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

msal/application.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(
120120
121121
:param str client_id: Your app has a client_id after you register it on AAD.
122122
123-
:param str client_credential:
123+
:param Union[str, dict] client_credential:
124124
For :class:`PublicClientApplication`, you simply use `None` here.
125125
For :class:`ConfidentialClientApplication`,
126126
it can be a string containing client secret,
@@ -1343,4 +1343,3 @@ def acquire_token_on_behalf_of(self, user_assertion, scopes, claims_challenge=No
13431343
**kwargs))
13441344
telemetry_context.update_telemetry(response)
13451345
return response
1346-

0 commit comments

Comments
 (0)