[][src]Function ironoxide::initialize

pub async fn initialize<'_, '_>(
    device_context: &'_ DeviceContext,
    config: &'_ IronOxideConfig
) -> Result<IronOxide>

Initialize the IronOxide SDK with a device. Verifies that the provided user/segment exists and the provided device keys are valid and exist for the provided account. If successful returns an instance of the IronOxide SDK