Set a SCT (Server Connect Token) token to use when connecting the the server.
If the authentication method for the given server_key is set to SCT, the server requires a valid Server Connect Token before it allows the connect.
This authorization method is distinct from the JWT token concept.
This needs to be set before nabto_client_connect is called.
NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API nabto_client_connection_set_server_connect_token(NabtoClientConnection* connection, const char* sct)
- [in] The connection.
- [in] The Server Connect Token.
NABTO_CLIENT_EC_OK if the token is set.