diff --git a/Documents/Boards/xDashboard.kanban b/Documents/Boards/xDashboard.kanban index 59bf450..39680d9 100644 --- a/Documents/Boards/xDashboard.kanban +++ b/Documents/Boards/xDashboard.kanban @@ -546,16 +546,26 @@ { "id": "d7c9ecdc-15e4-4efe-a593-17601a86db5c", "title": "Implement Authentication Handler for Api Keys ...", - "checked": false + "checked": true }, { "id": "246701eb-7e7b-4756-be04-3af0e490b87b", "title": "Register Authentication Middleware in App Startup ...", - "checked": false + "checked": true }, { "id": "ab67e976-6080-44ee-b49e-54aada0724a3", "title": "Adding Dto and Enrichment Mechanism ...", + "checked": true + }, + { + "id": "2828eb54-a27d-40cd-ac17-cadc06d1a68e", + "title": "Add Application Controller in Ids ...", + "checked": false + }, + { + "id": "2e94cc30-d26c-4db6-bff9-8306de8e577c", + "title": "Test All Senarios inside Ids Itself ...", "checked": false }, { diff --git a/Documents/Resources/Json/Application.md b/Documents/Resources/Json/Application.md new file mode 100644 index 0000000..f5ee354 --- /dev/null +++ b/Documents/Resources/Json/Application.md @@ -0,0 +1,85 @@ +# Api Key Handled Models + +## Application + +### Create/Update + +Model: + +Create: + +```json + { + "type": 0, + "name": "string", + "description": "string", + } +``` + +Update: + +```json +{ + "id": 0, + "type": 0, + "name": "string", + "description": "string", +} +``` + +Sample: + +Create: + +```json +{ + "type": 0, + "name": "TestApp", + "description": "a Simple Test App for ApiKey Testing on xDashboard based Projects ...", +} +``` + +Update: + +```json +{ + "id": 0, + "type": 0, + "name": "TestAppEdit", + "description": "a Edited Simple Test App for ApiKey Testing on xDashboard based Projects ...", +} +``` + +## ApiKey + +## Update + +Model: + +```json +{ + "revokedBy": "string", + "allowedIPs": "string", + "rateLimitPerMinute": 0, + "allowedScopes": "string", + "expiresAt": "2026-10-08T11:30:15.484Z", + "revokedAt": "2026-10-08T11:30:15.484Z", + "lastUsedAt": "2026-10-08T11:30:15.484Z", + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", +} +``` + +Sample: + +```json +{ + "revokedBy": "string", + "allowedIPs": "string", + "rateLimitPerMinute": 0, + "allowedScopes": "string", + "expiresAt": "2026-10-08T11:30:15.484Z", + "revokedAt": "2026-10-08T11:30:15.484Z", + "lastUsedAt": "2026-10-08T11:30:15.484Z", + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", +} +``` diff --git a/Modules/xIdentityModels b/Modules/xIdentityModels index 0f1d3da..07e2439 160000 --- a/Modules/xIdentityModels +++ b/Modules/xIdentityModels @@ -1 +1 @@ -Subproject commit 0f1d3dadb079d9205b5871d52c9819140dfd675b +Subproject commit 07e243964f8268e60a3c20d034ad27ed69856786 diff --git a/xIds b/xIds index b003915..a87ea5d 160000 --- a/xIds +++ b/xIds @@ -1 +1 @@ -Subproject commit b00391517ae737a0c240a60aad198efc0ba8c2b9 +Subproject commit a87ea5d64d00dc4135da472dc00c0aa35e292f56