Life Cycle and Types

Manage the IAM module’s life cycle: Initialize, deinitialize, load configuration, load full state, dump full state.

The load/dump functions can either be used with JSON serializers. Or a state object can be built from scratch programmatically using the State Builder API, starting with nm_iam_state_new().

Granular manipulation of an existing state at runtime is possible using the Runtime State API to e.g. enable pairing modes or add a user.

Header: src/modules/iam/nm_iam.h