Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz authored Jan 12, 2024
1 parent 58c5e82 commit c203bd3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 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,7 +41,7 @@ sdk = CasdoorSDK(
client_secret,
certificate,
org_name,
application_name
application_name,
)
```

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

Expand Down

0 comments on commit c203bd3

Please sign in to comment.