|
1 | | -MSAL Python documentation |
| 1 | +MSAL Python Documentation |
2 | 2 | ========================= |
3 | 3 |
|
4 | 4 | .. toctree:: |
5 | 5 | :maxdepth: 2 |
6 | 6 | :caption: Contents: |
7 | 7 | :hidden: |
8 | 8 |
|
9 | | - MSAL Documentation <https://docs.microsoft.com/en-au/azure/active-directory/develop/msal-authentication-flows> |
10 | | - GitHub Repository <https://github.com/AzureAD/microsoft-authentication-library-for-python> |
| 9 | + index |
| 10 | + |
| 11 | +.. |
| 12 | + Comment: Perhaps because of the theme, only the first level sections will show in TOC, |
| 13 | + regardless of maxdepth setting. |
11 | 14 |
|
12 | 15 | You can find high level conceptual documentations in the project |
13 | 16 | `README <https://github.com/AzureAD/microsoft-authentication-library-for-python>`_. |
@@ -58,8 +61,8 @@ MSAL Python supports some of them. |
58 | 61 | <https://github.com/AzureAD/microsoft-authentication-library-for-python/tree/dev/sample>`_. |
59 | 62 |
|
60 | 63 |
|
61 | | -API |
62 | | -=== |
| 64 | +API Reference |
| 65 | +============= |
63 | 66 |
|
64 | 67 | The following section is the API Reference of MSAL Python. |
65 | 68 | The API Reference is like a dictionary. You **read this API section when and only when**: |
@@ -88,26 +91,32 @@ MSAL proposes a clean separation between |
88 | 91 | They are implemented as two separated classes, |
89 | 92 | with different methods for different authentication scenarios. |
90 | 93 |
|
| 94 | +ClientApplication |
| 95 | +================= |
| 96 | + |
| 97 | +.. autoclass:: msal.ClientApplication |
| 98 | + :members: |
| 99 | + :inherited-members: |
| 100 | + |
| 101 | + .. automethod:: __init__ |
| 102 | + |
91 | 103 | PublicClientApplication |
92 | | ------------------------ |
| 104 | +======================= |
93 | 105 |
|
94 | 106 | .. autoclass:: msal.PublicClientApplication |
95 | 107 | :members: |
96 | | - :inherited-members: |
97 | 108 |
|
98 | 109 | .. automethod:: __init__ |
99 | 110 |
|
100 | 111 | ConfidentialClientApplication |
101 | | ------------------------------ |
| 112 | +============================= |
102 | 113 |
|
103 | 114 | .. autoclass:: msal.ConfidentialClientApplication |
104 | 115 | :members: |
105 | | - :inherited-members: |
106 | 116 |
|
107 | | - .. automethod:: __init__ |
108 | 117 |
|
109 | 118 | TokenCache |
110 | | ----------- |
| 119 | +========== |
111 | 120 |
|
112 | 121 | One of the parameters accepted by |
113 | 122 | both `PublicClientApplication` and `ConfidentialClientApplication` |
|
0 commit comments