SLSLoginInputField

public struct SLSLoginInputField

One unit of information that the client should ask from the user

  • Type of the input

    See more

    Declaration

    Swift

    public enum InputType
  • field names for the response

    Declaration

    Swift

    public let fieldName: String
  • predefined value for the input field as example a username

    Declaration

    Swift

    public let preset: String
  • user language specific prompt text of this field

    Declaration

    Swift

    public let prompt: String
  • visible text or hidden/protected text

    Declaration

    Swift

    public let type: InputType
  • [optional] field name for the input to be confirmed

    Declaration

    Swift

    public let confirmField: String
  • Initializer of SLSLoginInputField

    Declaration

    Swift

    public init(fieldName: String = "", preset: String = "", prompt: String = "", type: InputType = InputType.plain, confirmField: String = "")

    Parameters

    fieldName

    field names for the response

    preset

    predefined value for the input field as example a username

    prompt

    user language specific prompt text of this field

    type

    visible text or hidden/protected text

    confirmField

    [optional] field name for the input to be confirmed