nabto_client_connection_password_authenticate()

DESCRIPTION

Password authenticate, do a password authentication exchange with a device.

Password authenticate the client and the device. The password authentication is bidirectional and based on PAKE, such that both the client and the device learns that the other end knows the password, without revealing the password to the other end.

A specific use case for the password authentication is to prove the identity of a device which identity is not already known, e.g. in a pairing scenario.

DECLARATION

NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
nabto_client_connection_password_authenticate(NabtoClientConnection* connection, const char* username, const char* password, NabtoClientFuture* future)

PARAMETERS

connection:
The connection
username:
The username
password:
The password
future:
The future with the result

RETURN VALUES

None.

EXAMPLES

None.