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.
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.
Declaration
Swift
public struct Validation
-
A struct representing an option.
See moreDeclaration
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
See moreCodable
for JSON encoding/decoding.Declaration
Swift
public struct PasswordPolicy : Codable, Sendable
-
A struct representing the password policy history. Conforms to
See moreCodable
for JSON encoding/decoding.Declaration
Swift
public struct History : Codable, Sendable
-
A struct representing the password policy lockout rules. Conforms to
See moreCodable
for JSON encoding/decoding.Declaration
Swift
public struct Lockout : Codable, Sendable
-
A struct representing the min/max length constraints. Conforms to
See moreCodable
for JSON encoding/decoding.Declaration
Swift
public struct Length : Codable, Sendable
-
Represents a detailed error response.
See moreDeclaration
Swift
public struct Detail : Codable, Sendable
-
Represents the raw response of an error.
See moreDeclaration
Swift
public struct RawResponse : Codable, Sendable
-
Represents a specific error detail.
See moreDeclaration
Swift
public struct ErrorDetail : Codable, Sendable
-
Represents additional inner error details.
See moreDeclaration
Swift
public struct InnerError : Codable, Sendable
-
Represents a session response parsed from a JSON object.
See moreDeclaration
Swift
public struct SessionResponse : Session, @unchecked Sendable