invoke

suspend operator fun invoke(code: String, recaptchaToken: String): ResultS1SDK<Boolean, ErrorS1SDK>

This function should be called when it is required to valid if a registration invite code is valid or not. If is valid, it will try to link/register the user to a new company.

Return

ResultS1SDK<Boolean, ErrorS1SDK>

Parameters

code

String the registration invite code.

recaptchaToken

String the recaptcha token.