requireAdditionalAuthentication property

bool get requireAdditionalAuthentication

Returns true if the server requires additional authentication.

Implementation

bool get requireAdditionalAuthentication => response != null
    ? response!.statusCode == 401
    : authenticationFlows != null;