Skip to content

Commit a37c6fe

Browse files
authored
Merge pull request #337 from jiasli/type-hint
Fix type hint for `client_credential`
2 parents c0e1da9 + 0f1ab8d commit a37c6fe

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)