/auth/webauthn/login/complete
验证客户端返回的认证签名
Request Body
Schema: handler.completeLoginRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
id |
string |
No | |||
raw_id |
string |
No | |||
response |
object |
No | |||
type |
string |
No | |||
user_id |
string |
No |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 验证结果 | dto.SimpleResponseWrapper |
| 400 | 请求参数错误 | dto.SimpleResponseWrapper |
| 401 | 未授权 | dto.SimpleResponseWrapper |
| 500 | 服务器错误 | dto.SimpleResponseWrapper |
Referenced Schemas
dto.SimpleResponseWrapper
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No |