Skip to content

Commit e3d5041

Browse files
committed
Document some offline info into this code base
1 parent 4537d54 commit e3d5041

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

msal/application.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,16 @@ def __init__(
193193
Default value is None, means it will not be passed to Microsoft.
194194
:param list[str] client_capabilities: (optional)
195195
Allows configuration of one or more client capabilities, e.g. ["CP1"].
196+
197+
Client capability is meant to inform the Microsoft identity platform
198+
(STS) what this client is capable for,
199+
so STS can decide to turn on certain features.
200+
For example, if client is capable to handle *claims challenge*,
201+
STS can then issue CAE access tokens to resources
202+
knowing when the resource emits *claims challenge*
203+
the client will be capable to handle.
204+
205+
Client capability is implemented using ‘claims’ parameter, for now.
196206
MSAL will combine them into
197207
`claims parameter <https://openid.net/specs/openid-connect-core-1_0-final.html#ClaimsParameter`_
198208
which you will later provide via one of the acquire-token request.

0 commit comments

Comments
 (0)