17 lines
672 B
Go
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")
|
|
)
|