This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user