feat: apply auth to container and cli client

This commit is contained in:
wancat committed 2023-09-12 00:12:09 +08:00
1 parent 030dc95e24
commit 0f53696f71
8 files changed
+64 -27

No files matched your search

+4 -4
View File
@@ -303,6 +303,10 @@ paths:
/commands:
post:
summary: Record a command that was executed in a session
tags:
- signed-in
security:
- BearerAuth: []
requestBody:
required: true
content:
@@ -433,13 +437,9 @@ components:
Command:
type: object
required:
- token
- pwd
- command
properties:
token:
type: string
description: The JWT token of the session
pwd:
type: string
example: '/root'