Module: PlatformSdk::Identity::Zitadel::UserPayload
- Defined in:
- lib/platform_sdk/identity/zitadel/user_payload.rb
Overview
Maps the IS4 WithProfile payload shape onto Zitadel v2 AddHumanUser. sendPasswordResetEmail / PasswordResetReturnUrl are IS4-only concepts and are dropped. No password is ever sent: SIS creations are shells. The mixed key casing is faithful to the IS4 payload: PascalCase throughout except phoneNumber (see Services::Identity in Central).
Class Method Summary collapse
Class Method Details
.from_is4(is4_params) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/platform_sdk/identity/zitadel/user_payload.rb', line 14 def from_is4(is4_params) params = is4_params.transform_keys(&:to_s) identity_fields(params) .merge(profile: profile_fields(params)) .merge(optional_fields(params)) end |