Files
test_deploy/internal/auth/keycloak/errors.go
Alex Shevchuk d84487d238 1
2025-08-18 17:12:04 +03:00

17 lines
672 B
Go

package keycloak
import "errors"
var (
ErrInvalidToken = errors.New("invalid token")
ErrInternal = errors.New("internal error")
ErrRealmClientNotFound = errors.New("realm client not found")
ErrRealmClientUnauthorized = errors.New("realm client unauthorized")
ErrUnknownUserType = errors.New("unknown user type")
ErrNoAttributes = errors.New("no attributes")
ErrAlreadyExists = errors.New("user already exists")
ErrBadRequest = errors.New("bad request")
ErrNotFound = errors.New("user not found")
ErrMissingPermission = errors.New("missing one or more permissions")
)