# onSasl2Failure method

1. @override

Future <void> onSasl2Failure(

1. XMLNode response

)
override

Called by the SASL2 negotiator when the SASL2 negotiations have failed. `response` is the entire response nonza.

## Implementation

    @override
    Future<void> onSasl2Failure(XMLNode response) async {
      fastToken = null;
      await attributes.sendEvent(
        InvalidateFASTTokenEvent(),
      );
    }