webauthn

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyHandle

type KeyHandle struct {
	PrivateKey    []byte `cbor:"1,keyasint"`
	ApplicationID []byte `cbor:"2,keyasint"`
}

type PublicKeyCredentialDescriptor

type PublicKeyCredentialDescriptor struct {
	Type       string   `cbor:"type"`
	Id         []byte   `cbor:"id"`
	Transports []string `cbor:"transports,omitempty"`
}

type PublicKeyCredentialParams

type PublicKeyCredentialParams struct {
	Type      string               `cbor:"type"`
	Algorithm cose.COSEAlgorithmID `cbor:"alg"`
}

type PublicKeyCredentialRpEntity

type PublicKeyCredentialRpEntity struct {
	Id   string `cbor:"id" json:"id"`
	Name string `cbor:"name" json:"name"`
}

func (PublicKeyCredentialRpEntity) String

func (rp PublicKeyCredentialRpEntity) String() string

type PublicKeyCrendentialUserEntity

type PublicKeyCrendentialUserEntity struct {
	Id          []byte `cbor:"id" json:"id"`
	DisplayName string `cbor:"displayName" json:"display_name"`
	Name        string `cbor:"name" json:"name"`
}

func (PublicKeyCrendentialUserEntity) String

func (user PublicKeyCrendentialUserEntity) String() string

Jump to

Keyboard shortcuts

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