File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ Initialization requires 5 parameters, which are all str type:
23
23
| endpoint | Yes | Casdoor Server Url, such as ` http://localhost:8000 ` |
24
24
| client_id | Yes | Application.client_id |
25
25
| client_secret | Yes | Application.client_secret |
26
- | certificate | Yes | Same as Casdoor certificate |
26
+ | certificate | Yes | Same as Casdoor certificate |
27
27
| org_name | Yes | Organization name |
28
+ | application_name | Yes | Application name |
28
29
29
30
``` python
30
31
from casdoor import CasdoorSDK
@@ -40,6 +41,7 @@ sdk = CasdoorSDK(
40
41
client_secret,
41
42
certificate,
42
43
org_name,
44
+ application_name,
43
45
)
44
46
```
45
47
@@ -59,6 +61,7 @@ sdk = AsyncCasdoorSDK(
59
61
client_secret,
60
62
certificate,
61
63
org_name,
64
+ application_name,
62
65
)
63
66
```
64
67
You can’t perform that action at this time.
0 commit comments