This commit is contained in:
Alex Shevchuk
2025-08-18 17:12:04 +03:00
commit d84487d238
157 changed files with 160686 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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")
)