POST /mfa/webauthn/credentials/register/verify
验证 attestation 响应并存储凭证。需要先调用 /mfa/webauthn/credentials/register 获取 creation options。
MFA `bearerAuth` application/json
Referenced Schemas
dto.WebAuthnCredentialDataResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.WebAuthnCredentialItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.WebAuthnCredentialItem
| Field | Type | Required | Example | Constraints | Description |
created_at |
string |
No |
2026-05-20T08:00:00Z |
|
|
credential_id |
string |
No |
cred_xyz789 |
|
|
device_info |
string |
No |
FIDO2 |
|
|
id |
string |
No |
wc_abc123 |
|
|
last_used_at |
string |
No |
2026-05-25T08:00:00Z |
|
|
name |
string |
No |
YubiKey 5C |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|