nm_iam_set_password_open_pairing()
DESCRIPTION
Enable/disable the password open pairing mode.
To allow the client to perform password open pairing, the mode must be enabled with this function AND the client must be allowed to perform the IAM:PairingPasswordOpen
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-password for more information.
DECLARATION
void nm_iam_set_password_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