Structures

The following structures are available globally.

  • Struct representing a device.

    • property id: The ID of the device.
    • property type: The type of the device.
    • property title: The title of the device.
    • property description: The description of the device.
    • property iconSrc: The icon source of the device.
    • property isDefault: The default value of the device.
    • property value: The value of the device.
    • method populateDevices: Populates a list of devices from the JSON data.
    See more

    Declaration

    Swift

    public struct Device : Codable, @unchecked Sendable
  • Struct representing the validation of the field collector.

    • property regex: The regex of the validation.
    • property errorMessage: The error message of the validation.
    See more

    Declaration

    Swift

    public struct Validation
  • A struct representing an option.

    See more

    Declaration

    Swift

    public struct Option : Sendable

    Parameters

    label

    The label of the option.

    value

    The value of the option.

  • A struct representing a password policy Conforms to Codable for JSON encoding/decoding.

    See more

    Declaration

    Swift

    public struct PasswordPolicy : Codable, Sendable
  • A struct representing the password policy history. Conforms to Codable for JSON encoding/decoding.

    See more

    Declaration

    Swift

    public struct History : Codable, Sendable
  • A struct representing the password policy lockout rules. Conforms to Codable for JSON encoding/decoding.

    See more

    Declaration

    Swift

    public struct Lockout : Codable, Sendable
  • A struct representing the min/max length constraints. Conforms to Codable for JSON encoding/decoding.

    See more

    Declaration

    Swift

    public struct Length : Codable, Sendable
  • Represents a detailed error response.

    See more

    Declaration

    Swift

    public struct Detail : Codable, Sendable
  • Represents the raw response of an error.

    See more

    Declaration

    Swift

    public struct RawResponse : Codable, Sendable
  • Represents a specific error detail.

    See more

    Declaration

    Swift

    public struct ErrorDetail : Codable, Sendable
  • Represents additional inner error details.

    See more

    Declaration

    Swift

    public struct InnerError : Codable, Sendable
  • Represents a session response parsed from a JSON object.

    See more

    Declaration

    Swift

    public struct SessionResponse : Session, @unchecked Sendable