CheckAccessCallback()

DESCRIPTION

Check access callback invoked when an access decision must be made.

DECLARATION

typedef std::function<bool(NabtoDeviceConnectionRef connRef, const std::string& action)> CheckAccessCallback

PARAMETERS

connRef:
[in] The Nabto Connection the requiring the access
action:
[in] The action being requested

RETURNS

True if the action should be allowed