Structures

The following structures are available globally.

DeviceClientConfig

  • 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:

    let config = DeviceClientConfig(
        serverUrl: "https://openam.example.com",
        realm: "alpha",
        cookieName: "iPlanetDirectoryPro",
        ssoToken: "AQIC5w...",
        httpClient: HttpClient()
    )
    
    See more

    Declaration

    Swift

    public struct DeviceClientConfig : Sendable

DeviceRepositoryImplementation

  • Implementation of the DeviceRepository protocol for full CRUD devices

    Provides GET, UPDATE, and DELETE operations for devices that support modification. Used by Oath, Push, Bound, Profile, and WebAuthn device types.

    Note

    This implementation is generic and can work with any device type conforming to Device
    See more

    Declaration

    Swift

    public struct DeviceRepositoryImplementation<R> : DeviceRepository, @unchecked Sendable where R : Device