mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-25 06:07:30 +08:00
12 lines
405 B
Go
12 lines
405 B
Go
package passkey
|
|||
|
|
|
||
|
|
import "github.com/go-webauthn/webauthn/webauthn"
|
||
|
|
|
||
|
|
type PasskeyCredentialRecord struct {
|
||
|
|
ID string `json:"id"`
|
||
|
|
Name string `json:"name"`
|
||
|
|
CreatedAt string `json:"createdAt"`
|
||
|
|
LastUsedAt string `json:"lastUsedAt"`
|
||
|
|
FlagsValue uint8 `json:"flagsValue"`
|
||
|
|
Credential webauthn.Credential `json:"credential"`
|
||
|
|
}
|