public SecurityRegistrationProcessCompleted(SecurityId id, string displayName, UserId userId, string token, RegistrationId registrationId) { Id = id; DisplayName = displayName; UserId = userId; Token = token; RegistrationId = registrationId; }
public CreateSecurityFromRegistration(SecurityId id, RegistrationId registrationId, string login, string pwd, string displayName, string optionalIdentity) { Id = id; RegistrationId = registrationId; Login = login; Pwd = pwd; DisplayName = displayName; OptionalIdentity = optionalIdentity; }