Function to determine if token should be refreshed based on status code Default: refresh on 401 status code
final bool Function(int? statusCode)? shouldRefreshToken;