package
0.0.0-20210301162948-86a9d4a83f6c
Repository: https://github.com/quexten/webauthn.io.git
Documentation: pkg.go.dev

# Functions

GenerateSecureKey reads and returns n bytes from the crypto/rand reader.
NewStore returns a new session store.

# Constants

DefaultEncryptionKeyLength is the length of the generated encryption keys used for session management.
WebauthnSession is the name of the session cookie used to manage session- related information.

# Variables

ErrInsufficientBytesRead is returned in the rare case that an unexpected number of bytes are returned from the crypto/rand reader when creating session cookie encryption keys.
ErrMarshal is returned if unexpected data is present in a webauthn session.

# Structs

Store is a wrapper around sessions.CookieStore which provides some helper methods related to webauthn operations.