@@ -7,8 +7,6 @@ MSAL Python Documentation
77 :caption: Contents:
88 :hidden:
99
10- index
11-
1210..
1311 Comment: Perhaps because of the theme, only the first level sections will show in TOC,
1412 regardless of maxdepth setting.
@@ -26,7 +24,7 @@ MSAL Python supports some of them.
2624**The following diagram serves as a map. Locate your application scenario on the map. **
2725**If the corresponding icon is clickable, it will bring you to an MSAL Python sample for that scenario. **
2826
29- * Most authentication scenarios acquire tokens on behalf of signed-in users .
27+ * Most authentication scenarios acquire tokens representing the signed-in user .
3028
3129 .. raw :: html
3230
@@ -46,7 +44,7 @@ MSAL Python supports some of them.
4644 alt =" Browserless app" title =" Browserless app" href =" https://github.com/Azure-Samples/ms-identity-python-devicecodeflow" >
4745 </map >
4846
49- * There are also daemon apps. In these scenarios, applications acquire tokens on behalf of themselves with no user.
47+ * There are also daemon apps, who acquire tokens representing themselves, not a user.
5048
5149 .. raw :: html
5250
@@ -66,26 +64,24 @@ MSAL Python supports some of them.
6664
6765API Reference
6866=============
67+ .. note ::
68+
69+ Only the contents inside
70+ `this source file <https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/dev/msal/__init__.py >`_
71+ and their documented methods (unless otherwise marked as deprecated)
72+ are MSAL Python public API,
73+ which are guaranteed to be backward-compatible until the next major version.
74+
75+ Everything else, regardless of their naming, are all internal helpers,
76+ which could change at anytime in the future, without prior notice.
6977
7078The following section is the API Reference of MSAL Python.
71- The API Reference is like a dictionary. You ** read this API section when and only when ** :
79+ The API Reference is like a dictionary, which is useful when:
7280
7381* You already followed our sample(s) above and have your app up and running,
7482 but want to know more on how you could tweak the authentication experience
7583 by using other optional parameters (there are plenty of them!)
76- * You read the MSAL Python source code and found a helper function that is useful to you,
77- then you would want to double check whether that helper is documented below.
78- Only documented APIs are considered part of the MSAL Python public API,
79- which are guaranteed to be backward-compatible in MSAL Python 1.x series.
80- Undocumented internal helpers are subject to change anytime, without prior notice.
81-
82- .. note ::
83-
84- Only APIs and their parameters documented in this section are part of public API,
85- with guaranteed backward compatibility for the entire 1.x series.
86-
87- Other modules in the source code are all considered as internal helpers,
88- which could change at anytime in the future, without prior notice.
84+ * Some important features have their in-depth documentations in the API Reference.
8985
9086MSAL proposes a clean separation between
9187`public client applications and confidential client applications
@@ -109,6 +105,7 @@ PublicClientApplication
109105.. autoclass :: msal.PublicClientApplication
110106 :members:
111107
108+ .. autoattribute :: msal.PublicClientApplication.CONSOLE_WINDOW_HANDLE
112109 .. automethod :: __init__
113110
114111ConfidentialClientApplication
@@ -134,6 +131,15 @@ See `SerializableTokenCache` for example.
134131.. autoclass :: msal.SerializableTokenCache
135132 :members:
136133
134+ Prompt
135+ ------
136+ .. autoclass :: msal.Prompt
137+ :members:
138+
139+ .. autoattribute :: msal.Prompt.SELECT_ACCOUNT
140+ .. autoattribute :: msal.Prompt.NONE
141+ .. autoattribute :: msal.Prompt.CONSENT
142+ .. autoattribute :: msal.Prompt.LOGIN
137143
138144PopAuthScheme
139145-------------
@@ -146,6 +152,11 @@ New in MSAL Python 1.26
146152.. autoclass :: msal.PopAuthScheme
147153 :members:
148154
155+ .. autoattribute :: msal.PopAuthScheme.HTTP_GET
156+ .. autoattribute :: msal.PopAuthScheme.HTTP_POST
157+ .. autoattribute :: msal.PopAuthScheme.HTTP_PUT
158+ .. autoattribute :: msal.PopAuthScheme.HTTP_DELETE
159+ .. autoattribute :: msal.PopAuthScheme.HTTP_PATCH
149160 .. automethod :: __init__
150161
151162
0 commit comments