Structures
The following structures are available globally.
-
Struct representing a location.
See moreDeclaration
Swift
public struct Location : Codable, Sendable
-
Configuration for DeviceClient
This struct encapsulates all configuration needed to initialize and operate the DeviceClient. All properties are required to ensure proper authentication and routing of device management requests.
Example:
See morelet config = DeviceClientConfig( serverUrl: "https://openam.example.com", realm: "alpha", cookieName: "iPlanetDirectoryPro", ssoToken: "AQIC5w...", httpClient: HttpClient() )Declaration
Swift
public struct DeviceClientConfig : Sendable
-
Implementation of the
DeviceRepositoryprotocol for full CRUD devicesProvides GET, UPDATE, and DELETE operations for devices that support modification. Used by Oath, Push, Bound, Profile, and WebAuthn device types.
See moreNote
This implementation is generic and can work with any device type conforming toDeviceDeclaration
Swift
public struct DeviceRepositoryImplementation<R> : DeviceRepository, @unchecked Sendable where R : Device
View on GitHub
Structures Reference