validateConnectorAsync method
Validate an added connector that was added without a preValidationToken.
connectorId
- The ID of the connector to validate.
challenge
- The challenge.
Returns the validated SealdConnector instance.
Implementation
Future<SealdConnector> validateConnectorAsync(
String connectorId, String challenge) {
return compute(
(Map<String, dynamic> args) =>
validateConnector(args["connectorId"], args["challenge"]),
{"connectorId": connectorId, "challenge": challenge});
}