17 lines
557 B
Go
17 lines
557 B
Go
package protocol
|
|
|
|
import "gamertan.com/web/internal/webauthnvendored/protocol/webauthncose"
|
|
|
|
//go:generate msgp
|
|
|
|
//msgp:replace webauthncose.COSEAlgorithmIdentifier with:int
|
|
//msgp:replace CredentialType with:string
|
|
//msgp:clearomitted
|
|
|
|
// CredentialParameter is the credential type and algorithm
|
|
// that the relying party wants the authenticator to create.
|
|
type CredentialParameter struct {
|
|
Type CredentialType `json:"type" msg:"typ,omitempty"`
|
|
Algorithm webauthncose.COSEAlgorithmIdentifier `json:"alg" msg:"alg,omitempty"`
|
|
}
|