Skip to content

Commit 6e91109

Browse files
committed
Refine document
1 parent e611479 commit 6e91109

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

msal/application.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,11 +418,12 @@ def __init__(
418418
:param boolean allow_broker:
419419
Brokers provide Single-Sign-On, device identification,
420420
and application identification verification.
421+
This flag defaults to None, which means MSAL will not utilize broker.
421422
If this parameter is set to True,
422-
MSAL will use the broker and return either a token or an error,
423-
when your scenario is supported by a broker,
424-
otherwise it will automatically fall back to non-broker behavior.
425-
This also means you could set this flag as True universally,
423+
MSAL will use the broker whenever possible,
424+
and automatically fall back to non-broker behavior.
425+
That also means your app does not need to enable broker conditionally,
426+
you can always set allow_broker to True,
426427
as long as your app meets the following prerequisite:
427428
428429
* Installed optional dependency, e.g. ``pip install msal[broker]>=1.20,<2``.

0 commit comments

Comments
 (0)