nabto_device_listener_new_password_authentication_request()
DESCRIPTION
Listen for a new password authentication request.
This follows the listener/future pattern of getting events asynchronously.
Future status:
- NABTO_DEVICE_EC_OK on success
- NABTO_DEVICE_EC_OPERATION_IN_PROGRESS if listener already have a future
- NABTO_DEVICE_EC_ABORTED if underlying service stopped (eg. if device closed)
- NABTO_DEVICE_EC_STOPPED if the listener was stopped
DECLARATION
NABTO_DEVICE_DECL_PREFIX void NABTO_DEVICE_API
nabto_device_listener_new_password_authentication_request(NabtoDeviceListener* listener, NabtoDeviceFuture* future, NabtoDevicePasswordAuthenticationRequest** request)
PARAMETERS
listener:
- [in] The listener to get request from
future:
- [in] The future which resolves when a request is ready
request:
- [in] The resulting request if the future completes with NABTO_DEVICE_EC_OK