elsa-core/src/modules/Elsa.Identity/Models
Sipke Schoorstra 83af7309f2
fix(identity): stop returning password hashes and salts from user creation (#8041)
The POST /identity/users response serialized the plain-text password
(including one the caller supplied), the password hash, and the salt.
The response now carries only id, name, roles, tenantId and a nullable
generatedPassword that is populated once, and only when Core generated
the password because none was supplied.

- CreateUserResult gains IsPasswordGenerated so the endpoint can tell a
  generated password from a supplied one without re-deriving it.
- Response.FromResult centralises the mapping and omits credential
  material.
- Expose Elsa.Identity internals to Elsa.Identity.UnitTests and add
  contract tests covering the response shape, the no-echo rule, the
  serialized JSON, and UserManager's generated-password flag.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-08 00:26:47 +02:00
..
ApiKey.cs Implement API key authentication (#3834) 2023-03-26 23:53:17 +02:00
ApplicationFilter.cs Implement API key authentication (#3834) 2023-03-26 23:53:17 +02:00
CreateRoleResult.cs Introduce role and user management services (#7297) 2026-02-15 18:50:11 +01:00
CreateUserResult.cs fix(identity): stop returning password hashes and salts from user creation (#8041) 2026-09-08 00:26:47 +02:00
HashedSecret.cs Add endpoint to create users 2023-03-27 00:43:39 +02:00
IssuedAccessToken.cs Add external authentication broker 2026-07-24 19:04:26 +02:00
IssuedTokens.cs Implement API key authentication (#3834) 2023-03-26 23:53:17 +02:00
LoginResponse.cs fix(external-auth)!: wildcard-aware permission grant boundary, and startup smoke tests for both hosts (#7985) 2026-08-25 05:25:29 +02:00
RoleDeletionModels.cs Support selective role deletion remediation 2026-09-06 03:09:37 +02:00
RoleFilter.cs fix(identity): isolate in-memory roles by tenant (#8032) 2026-09-05 19:01:42 -07:00
TokenIssuanceContext.cs Add external authentication broker 2026-07-24 19:04:26 +02:00
UserDeletionModels.cs Fix external authentication review findings 2026-08-02 03:35:39 +02:00
UserFilter.cs Add external authentication broker 2026-07-24 19:04:26 +02:00