mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 15:57:24 +00:00

# Which Problems Are Solved * Adds support for the patch user SCIM v2 endpoint # How the Problems Are Solved * Adds support for the patch user SCIM v2 endpoint under `PATCH /scim/v2/{orgID}/Users/{id}` # Additional Context Part of #8140
23 lines
824 B
Go
23 lines
824 B
Go
package schemas
|
|
|
|
type ScimSchemaType string
|
|
type ScimResourceTypeSingular string
|
|
type ScimResourceTypePlural string
|
|
|
|
const (
|
|
idPrefixMessages = "urn:ietf:params:scim:api:messages:2.0:"
|
|
idPrefixCore = "urn:ietf:params:scim:schemas:core:2.0:"
|
|
idPrefixZitadelMessages = "urn:ietf:params:scim:api:zitadel:messages:2.0:"
|
|
|
|
IdUser ScimSchemaType = idPrefixCore + "User"
|
|
IdListResponse ScimSchemaType = idPrefixMessages + "ListResponse"
|
|
IdPatchOperation ScimSchemaType = idPrefixMessages + "PatchOp"
|
|
IdError ScimSchemaType = idPrefixMessages + "Error"
|
|
IdZitadelErrorDetail ScimSchemaType = idPrefixZitadelMessages + "ErrorDetail"
|
|
|
|
UserResourceType ScimResourceTypeSingular = "User"
|
|
UsersResourceType ScimResourceTypePlural = "Users"
|
|
|
|
HandlerPrefix = "/scim/v2"
|
|
)
|