package com.airlock.iam.flow.shared.application.configuration.userdata;

import com.airlock.iam.flow.api.application.configuration.step.FlowStepConfig;
import com.airlock.iam.flow.shared.api.application.configuration.item.SelfServiceItemDefinitionConfig;
import java.util.List;

public interface CommonUserDataStepConfig extends FlowStepConfig {
   String IDENTIFICATION_BY_DATA_ITEMS_DESCRIPTION = "<p>The context data items that are used to identify a user. Combined, they must uniquely identify a user.</p>\n<p>Each item defines whether it is required for identification or not.</p>\n<p>Required items must be provided for identification and must successfully validate (see validators on each item configuration).</p>\n<p>Optional items can be omitted, but if they are provided, they must also successfully validate for the step to succeed.</p>";
   String IDENTIFICATION_BY_DATA_IGNORE_CASE_DESCRIPTION = "If this option is enabled, the strings entered to identify a user are compared without taking upper/lower case into account.\n<p>This is an improvement in user-friendliness, but carries a higher risk that the user cannot be clearly identified, resulting in a step error.</p>";

   List<SelfServiceItemDefinitionConfig> getUserDataItems();
}
