Versions in this module Expand all Collapse all v1 v1.0.0 Mar 21, 2026 Changes in this version + const CookieTOTPPending + const CookieTOTPTrusted + const EventTOTPBackupUsed + const EventTOTPDeviceTrusted + const EventTOTPDisabled + const EventTOTPEnabled + const EventTOTPVerified + var ErrAccountNotFound = errors.New("credential account not found") + var ErrInvalidBackupCode = errors.New("invalid backup code") + var ErrInvalidPassword = errors.New("invalid password") + var ErrInvalidPendingToken = errors.New("invalid or expired pending token") + var ErrInvalidTOTPCode = errors.New("invalid totp code") + var ErrInvalidVerificationType = errors.New("invalid verification type") + var ErrPasswordRequired = errors.New("password is required") + var ErrPendingTokenExpired = errors.New("pending token has expired") + var ErrTOTPAlreadyEnabled = errors.New("totp authentication is already enabled") + var ErrTOTPNotEnabled = errors.New("totp authentication is not enabled") + var ErrUserNotFound = errors.New("user not found")