@@ -76,7 +76,7 @@ Steps to access:
76
76
- [Granting access using SharePoint App-Only](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs)
77
77
- [wiki](https://github.com/vgrem/office365-rest-python-client/wiki/How-to-connect-to-SharePoint-Online-and-and-SharePoint-2013-2016-2019-on-premises--with-app-principal)
78
78
79
- Example: [connect_with_app_principal.py](examples/sharepoint/auth_app_only .py)
79
+ Example: [connect_with_app_principal.py](examples/sharepoint/auth/with_app_only .py)
80
80
81
81
#### 2. Using username and password
82
82
@@ -86,15 +86,15 @@ Steps to access:
86
86
ctx = ClientContext('{url}').with_credentials(user_credentials)
87
87
```
88
88
89
- Example: [connect_with_user_credential.py](examples/sharepoint/auth_user_credential .py)
89
+ Example: [connect_with_user_credential.py](examples/sharepoint/auth/with_user_credential .py)
90
90
91
91
#### 3. Using an Azure AD application (certificate credentials flow)
92
92
93
93
Documentation:
94
94
- [Granting access via Azure AD App-Only](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread)
95
95
- [wiki](https://github.com/vgrem/office365-rest-python-client/wiki/How-to-connect-to-SharePoint-Online-with-certificate-credentials)
96
96
97
- Example: [with_certificate.py](examples/sharepoint/auth_certificate .py)
97
+ Example: [with_certificate.py](examples/sharepoint/auth/with_certificate .py)
98
98
99
99
#### 4. Interactive
100
100
@@ -105,7 +105,7 @@ Steps to access:
105
105
> In Azure Portal, configure the Redirect URI of your
106
106
"Mobile and Desktop application" as ``http://localhost``.
107
107
108
- Example: [connect_interactive.py](examples/sharepoint/auth_interactive .py)
108
+ Example: [connect_interactive.py](examples/sharepoint/auth/with_interactive .py)
109
109
110
110
Usage:
111
111
```python
0 commit comments