Skip to content

Commit 6003c48

Browse files
committed
treamline generics and Self usage across client classes, refactor docs
1 parent 686039c commit 6003c48

40 files changed

+251
-157
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Steps to access:
7676
- [Granting access using SharePoint App-Only](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs)
7777
- [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)
7878
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)
8080
8181
#### 2. Using username and password
8282
@@ -86,15 +86,15 @@ Steps to access:
8686
ctx = ClientContext('{url}').with_credentials(user_credentials)
8787
```
8888
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)
9090
9191
#### 3. Using an Azure AD application (certificate credentials flow)
9292
9393
Documentation:
9494
- [Granting access via Azure AD App-Only](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread)
9595
- [wiki](https://github.com/vgrem/office365-rest-python-client/wiki/How-to-connect-to-SharePoint-Online-with-certificate-credentials)
9696
97-
Example: [with_certificate.py](examples/sharepoint/auth_certificate.py)
97+
Example: [with_certificate.py](examples/sharepoint/auth/with_certificate.py)
9898
9999
#### 4. Interactive
100100
@@ -105,7 +105,7 @@ Steps to access:
105105
> In Azure Portal, configure the Redirect URI of your
106106
"Mobile and Desktop application" as ``http://localhost``.
107107
108-
Example: [connect_interactive.py](examples/sharepoint/auth_interactive.py)
108+
Example: [connect_interactive.py](examples/sharepoint/auth/with_interactive.py)
109109
110110
Usage:
111111
```python

0 commit comments

Comments
 (0)