nabto_device_listener_new_authorization_request()
DESCRIPTION
Start listening for a new authorization request.
Future status:
- NABTO_DEVICE_EC_OK on success
- NABTO_DEVICE_EC_OPERATION_IN_PROGRESS if listener already have a future
DECLARATION
NABTO_DEVICE_DECL_PREFIX void NABTO_DEVICE_API
nabto_device_listener_new_authorization_request(NabtoDeviceListener* listener,
NabtoDeviceFuture* future,
NabtoDeviceAuthorizationRequest** request)
PARAMETERS
listener:
- [in] Listener to get new requests from
future:
- [in] Future which resolves when a new request is ready
request:
- [out] Where the new request is stored when the future resolves.