GET /mfa/webauthn/credentials/{id}
根据ID获取指定WebAuthn凭证的详细信息。参考:W3C WebAuthn Level 2、FIDO2 CTAP 2.1。
MFA `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
凭证ID |
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 |
|
|
|