nm_iam_set_local_initial_pairing()

DESCRIPTION

Enable/disable the local initial pairing mode.

To allow the client to perform local initial pairing, the mode must be enabled with this function AND the client must be allowed to perform the IAM:PairingLocalInitial IAM action. That is, the client must in a role associated with a policy associated with this action.

See https://docs.nabto.com/developer/guides/iam/pairing.html#initial-local for more information.

DECLARATION

void nm_iam_set_local_initial_pairing(struct nm_iam* iam, bool enabled)

PARAMETERS

iam:
[in] IAM module to enable pairing mode on
enabled:
[in] is the pairing mode enabled