private T gate <T>(T response, bool isInvalidUser)
        {
            var varName = isInvalidUser ? OAuth.GateVarInvalidUser : OAuth.GateVarErrors;

            if (varName.IsNullOrWhiteSpace())
            {
                return(response);
            }
            WorkContext.IncreaseGateVar(varName);
            return(response);
        }