answerChallenge method

String answerChallenge(
  1. String? challenge
)
override

Process the challenge sent by the server and return a String response

Implementation

String answerChallenge(String? challenge) {
  StringBuffer sb = StringBuffer()
    ..writeCharCode(0)
    ..write(userName)
    ..writeCharCode(0)
    ..write(password);

  return sb.toString();
}