validateConsentChallenge static method

Future<AuthPublicResponse> validateConsentChallenge({
  1. required String consentChallenge,
})

Implementation

static Future<SoftcorpGrpc.AuthPublicResponse> validateConsentChallenge(
    {required String consentChallenge}) async {
  checkServices();
  await applyTest();
  if (consentChallenge == "") {
    throw Exception("invalid consent challenge");
  }
  return connectService!
      .validateConsentChallenge(challenge: consentChallenge);
}