nm_iam_init()

DESCRIPTION

Initialize the IAM module, must be called before the IAM module is used in any other functions.

DECLARATION

bool nm_iam_init(struct nm_iam* iam, NabtoDevice* device, struct nn_log* logger)

PARAMETERS

iam:
[in] IAM module to initialize
device:
[in] Nabto device used with the IAM module
logger:
[in] Logging module to print log messages. Can be NULL.

RETURNS

true iff initialization was ok.