onSasl2Success method
- XMLNode response
override
Called by the SASL2 negotiator when the SASL2 negotiations are done. response
is the entire response nonza.
This method is only called when the previous
Implementation
@override
Future<Result<bool, NegotiatorError>> onSasl2Success(XMLNode response) async {
final bound = response.firstTag('bound', xmlns: bind2Xmlns);
if (bound != null) {
for (final negotiator in _negotiators) {
await negotiator.onBind2Success(bound);
}
}
attributes.removeNegotiatingFeature(bindXmlns);
return const Result(true);
}