constants

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventUserSignedUp        = "user.signed_up"
	EventUserSignedIn        = "user.signed_in"
	EventUserEmailVerified   = "user.verified_email"
	EventUserChangedPassword = "user.changed_password"
	EventUserEmailChanged    = "user.changed_email"
)

Variables

View Source
var (
	ErrInvalidPasswordLength        = errors.New("password length invalid")
	ErrEmailAlreadyExists           = errors.New("email already registered")
	ErrInvalidCredentials           = errors.New("invalid credentials")
	ErrUserNotFound                 = errors.New("user not found")
	ErrAccountNotFound              = errors.New("account not found")
	ErrEmailNotVerified             = errors.New("email not verified")
	ErrSignUpDisabled               = errors.New("sign up is disabled")
	ErrInvalidOrExpiredToken        = errors.New("invalid or expired token")
	ErrUserNotAuthorized            = errors.New("you are not authorized to perform this action")
	ErrInvalidEmailVerificationType = errors.New("invalid email verification type")
	ErrInvalidEmailMatch            = errors.New("invalid email match")
)

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