mocks

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebAuthnDevice

type WebAuthnDevice struct {
	PubkeyCbor []byte
	RpID       string
	RpIDHash   []byte
	Userhandle []byte
	RawID      []byte
	AuthFlags  byte
	Counter    uint32
	// contains filtered or unexported fields
}

For testing purposes we create a WebAuthn device to run the client part of the protocol

func NewWebauthnDevice

func NewWebauthnDevice(rpID string) (*WebAuthnDevice, error)

func (*WebAuthnDevice) LoginResp

func (*WebAuthnDevice) RegResp

func (*WebAuthnDevice) SignLoginChallenge

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL