getRawStep method
- String input
override
Perform a SASL step with input
as the already parsed input data. Returns
the base64-encoded response data.
Implementation
@override
Future<String> getRawStep(String input) async {
final settings = attributes.getConnectionSettings();
final prep = Saslprep.saslprep(settings.password);
return base64.encode(
utf8.encode('\u0000${settings.jid.local}\u0000$prep'),
);
}