nm_iam_state_set_password_open_sct()

DESCRIPTION

Set remote pairing server connect token in the IAM state. A client cannot make a remote pairing unless it has a valid server connect token. This sets that server connect token when the state is loaded.

DECLARATION

bool nm_iam_state_set_password_open_sct(struct nm_iam_state* state, const char* sct)

PARAMETERS

state:
[in] The IAM state
sct:
[in] The server connect token the client needs to use when pairing remotely with the system. The string is copied into the system.

RETURNS

false iff the server connect token was not set