customExpiredEventValidatorOnFailure property
Define a custom function to validate a failure of the refresh token API, and decide if SessionExpired event should be dispatched By default it won't dispatch anything for failure like TimeoutException or ServerException, but it should for UnauthorizedException
Implementation
final bool Function(Object exception)? customExpiredEventValidatorOnFailure;