client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectedClientData

type CollectedClientData struct {
	Type         string        `json:"type"`        //This member contains the string "webauthn.create" when creating new credentials, and "webauthn.get"
	Challenge    string        `json:"challenge"`   //This member contains the base64url encoding of the challenge provided by the Relying Party. Challenges SHOULD therefore be at least 16 bytes long.
	Origin       string        `json:"origin"`      //This member contains the fully qualified origin of the requester, as provided to the authenticator by the client, in the syntax defined by [RFC6454].
	CrossOrigin  bool          `json:"crossOrigin"` //This member contains the inverse of the sameOriginWithAncestors argument value that was passed into the internal method.
	TokenBinding *TokenBinding `json:"tokenBinding"`
}

func (*CollectedClientData) ToHash

func (c *CollectedClientData) ToHash() ([]byte, error)

type TokenBinding

type TokenBinding struct {
	Status string `json:"status"` //can be "supported" or "present"
	Id     string `json:"id"`
}

Jump to

Keyboard shortcuts

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