mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 19:43:40 +00:00
e621224ab2
# Which Problems Are Solved - Adds infrastructure code (basic implementation, error handling, middlewares, ...) to implement the SCIM v2 interface - Adds support for the user create SCIM v2 endpoint # How the Problems Are Solved - Adds support for the user create SCIM v2 endpoint under `POST /scim/v2/{orgID}/Users` # Additional Context Part of #8140
21 lines
683 B
Go
21 lines
683 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"
|
|
IdError ScimSchemaType = idPrefixMessages + "Error"
|
|
IdZitadelErrorDetail ScimSchemaType = idPrefixZitadelMessages + "ErrorDetail"
|
|
|
|
UserResourceType ScimResourceTypeSingular = "User"
|
|
UsersResourceType ScimResourceTypePlural = "Users"
|
|
|
|
HandlerPrefix = "/scim/v2"
|
|
)
|