linstrom/auth-new/errors.go
mstar 9496ba0cc6
Some checks are pending
/ test (push) Waiting to run
Work on new auth framework based on new storage system
2025-03-28 16:17:08 +01:00

11 lines
406 B
Go

package auth
import "errors"
var (
// The provided authentication method is not known to the server
ErrUnknownAuthMethod = errors.New("unknown authentication method")
// The user hasn't setup the provided authentication method
ErrUnsupportedAuthMethod = errors.New("authentication method not supported for this user")
ErrInvalidCombination = errors.New("invalid account and token combination")
)