nm_iam_set_local_open_pairing()
DESCRIPTION
Enable/disable the local open pairing mode.
To allow the client to perform local open pairing, the mode must be enabled with this function AND the client must be allowed to perform the IAM:PairingLocalOpen
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#open-local for more information.
DECLARATION
void nm_iam_set_local_open_pairing(struct nm_iam* iam, bool enabled)
PARAMETERS
iam:
- [in] IAM module to enable pairing mode on
enabled:
- [in] is the pairing mode enabled