Set an SCT for the specified user while the system is running.
See https://docs.nabto.com/developer/guides/security/token_based_access_control.html#sct-intro for more information.
enum nm_iam_error nm_iam_set_user_sct(struct nm_iam* iam, const char* username, const char* sct)
- [in] IAM module to manipulate
- [in] the username of the user
- [in] the sct to set for the user
NM_IAM_ERROR_OK if the SCT was set successfully for the user. NM_IAM_ERROR_NO_SUCH_USER if the specified user does not exist.