Skip to content

Commit 0e5880f

Browse files
Copilothsluoyz
andcommitted
Fix README documentation - update resource status table and code examples
Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
1 parent 180943c commit 0e5880f

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -301,17 +301,18 @@ The SDK provides comprehensive support for managing the following Casdoor resour
301301
| **Resource** | File and media resources | ✅ Implemented |
302302
| **Email** | Email sending | ✅ Implemented |
303303
| **SMS** | SMS sending | ✅ Implemented |
304-
| **Role** | User roles | 🔄 In Progress |
305-
| **Permission** | Access permissions | 🔄 In Progress |
306-
| **Provider** | Third-party authentication providers | 🔄 In Progress |
307-
| **Certificate** | SSL/TLS certificates | 🔄 In Progress |
308-
| **Session** | User sessions | 🔄 In Progress |
309-
| **Webhook** | Event webhooks | 🔄 In Progress |
310-
| **Group** | User groups | 🔄 In Progress |
304+
| **Role** | User roles | ✅ Implemented |
305+
| **Permission** | Access permissions | ✅ Implemented |
306+
| **Provider** | Third-party authentication providers | ✅ Implemented |
307+
| **Certificate** | SSL/TLS certificates (Cert) | ✅ Implemented |
308+
| **Session** | User sessions | ✅ Implemented |
309+
| **Webhook** | Event webhooks | ✅ Implemented |
310+
| **Group** | User groups | ✅ Implemented |
311+
| **Adapter** | Policy adapters | ✅ Implemented |
312+
| **Enforcer** | Policy enforcers | ✅ Implemented |
313+
| **Model** | Policy models | ✅ Implemented |
314+
| **Record** | Audit and activity records | ✅ Implemented |
311315
| **Syncer** | User synchronization from external systems | 🔄 In Progress |
312-
| **Adapter** | Policy adapters | 🔄 In Progress |
313-
| **Enforcer** | Policy enforcers | 🔄 In Progress |
314-
| **Model** | Policy models | 🔄 In Progress |
315316
| **Policy** | Access control policies | 🔄 In Progress |
316317
| **Payment** | Payment records | 🔄 In Progress |
317318
| **Product** | Products/services | 🔄 In Progress |
@@ -320,7 +321,6 @@ The SDK provides comprehensive support for managing the following Casdoor resour
320321
| **Pricing** | Pricing configurations | 🔄 In Progress |
321322
| **Transaction** | Payment transactions | 🔄 In Progress |
322323
| **Invitation** | User invitations | 🔄 In Progress |
323-
| **Record** | Audit and activity records | 🔄 In Progress |
324324

325325
### Method Patterns
326326

@@ -409,7 +409,7 @@ $newUser->displayName = 'John Doe';
409409
$newUser->email = 'john@example.com';
410410
$newUser->password = 'secure_password';
411411

412-
$success = $newUser->addUser($newUser);
412+
$success = User::addUser($newUser);
413413
if ($success) {
414414
echo "User created successfully!\n";
415415
}
@@ -423,7 +423,7 @@ if ($user) {
423423
$userObj->$key = $value;
424424
}
425425
$userObj->displayName = 'John D.';
426-
$success = $userObj->updateUser($userObj);
426+
$success = User::updateUser($userObj);
427427
echo "User updated: " . ($success ? 'Yes' : 'No') . "\n";
428428
}
429429
```

0 commit comments

Comments
 (0)