errors

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEndedAuthentication   = errors.New("ended authentication")
	ErrExpiredAuthentication = errors.New("expired authentication")
	ErrLockedAccount         = errors.New("locked account")
	// A refresh proof names a challenge the store does not hold. The challenge is single use, so a
	// browser replaying one it has already spent produces this; it is the proof that is at fault,
	// not the store.
	ErrNoDbscChallenge = errors.New("no dbsc challenge matches the proof")
	// A refresh proof names a challenge that has passed its expiry. The browser signs the challenge
	// it cached at the previous refresh, so a gap longer than the challenge's lifetime -- an idle
	// session, most often -- produces this.
	ErrExpiredDbscChallenge = errors.New("the dbsc challenge the proof names has expired")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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