nabto_device_authorization_request_verdict()
DESCRIPTION
The application calls this function to inform the core that the authorization request has been allowed or denied. This happens on incoming authorization requests (ie. when the authorization request listener future resolves).
DECLARATION
NABTO_DEVICE_DECL_PREFIX void NABTO_DEVICE_API
nabto_device_authorization_request_verdict(NabtoDeviceAuthorizationRequest* request, bool allowed)
PARAMETERS
request:
- [in] The request to approve or reject
allowed:
- [in] The verdict for the request, if true the request is allowed, if false the request is denied.