Skip to content

Commit

Permalink
feat: fix application_name in README.md (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsan3653 authored Jan 12, 2024
1 parent f9b8204 commit 63338ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ Initialization requires 5 parameters, which are all str type:
| endpoint | Yes | Casdoor Server Url, such as `http://localhost:8000` |
| client_id | Yes | Application.client_id |
| client_secret | Yes | Application.client_secret |
| certificate | Yes | Same as Casdoor certificate |
| certificate | Yes | Same as Casdoor certificate |
| org_name | Yes | Organization name |
| application_name | Yes | Application name |

```python
from casdoor import CasdoorSDK
Expand All @@ -40,6 +41,7 @@ sdk = CasdoorSDK(
client_secret,
certificate,
org_name,
application_name,
)
```

Expand All @@ -59,6 +61,7 @@ sdk = AsyncCasdoorSDK(
client_secret,
certificate,
org_name,
application_name,
)
```

Expand Down

0 comments on commit 63338ca

Please sign in to comment.