Skip to content

Commit 63338ca

Browse files
authored
feat: fix application_name in README.md (#81)
1 parent f9b8204 commit 63338ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Initialization requires 5 parameters, which are all str type:
2323
| endpoint | Yes | Casdoor Server Url, such as `http://localhost:8000` |
2424
| client_id | Yes | Application.client_id |
2525
| client_secret | Yes | Application.client_secret |
26-
| certificate | Yes | Same as Casdoor certificate |
26+
| certificate | Yes | Same as Casdoor certificate |
2727
| org_name | Yes | Organization name |
28+
| application_name | Yes | Application name |
2829

2930
```python
3031
from casdoor import CasdoorSDK
@@ -40,6 +41,7 @@ sdk = CasdoorSDK(
4041
client_secret,
4142
certificate,
4243
org_name,
44+
application_name,
4345
)
4446
```
4547

@@ -59,6 +61,7 @@ sdk = AsyncCasdoorSDK(
5961
client_secret,
6062
certificate,
6163
org_name,
64+
application_name,
6265
)
6366
```
6467

0 commit comments

Comments
 (0)