session

package
v1.6.2 Latest Latest
Warning

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

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

Documentation

Overview

Package session handles the login/register sessions of webauthn.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found in session store")

ErrNotFound happens when the session is not found in the store.

Functions

This section is empty.

Types

type Store

type Store interface {
	Save(ctx context.Context, session *webauthn.SessionData) error
	Get(ctx context.Context, userID []byte) (*webauthn.SessionData, error)
}

Store stores the login/registration session.

Directories

Path Synopsis
Package memory implements a session store in-memory.
Package memory implements a session store in-memory.

Jump to

Keyboard shortcuts

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