Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticatorModel ¶
type AuthenticatorModel struct { // 128-bit identifier indicating the type (e.g. make and model) of the authenticator, encoded as lowercase hex character with four hyphen characters as specified in FIDO Meatadata service. Example: 2fc0579f-8113-47ea-b116-bb5a8db9202a AAGUID string `gorm:"primary_key;size:36"` Name string }
func (*AuthenticatorModel) Id ¶
func (r *AuthenticatorModel) Id() string
func (*AuthenticatorModel) IdFieldName ¶
func (r *AuthenticatorModel) IdFieldName() string
func (*AuthenticatorModel) SetId ¶
func (r *AuthenticatorModel) SetId(id string)
type Challenge ¶
type Challenge struct { Hash string `gorm:"primary_key;column:id"` // base64url encoded SHA256 hash of the RawData RawData []byte }
func (*Challenge) IdFieldName ¶
func (*Challenge) MarshalJSON ¶
func (*Challenge) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.